Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133101207.lua
2022-04-29 16:40:51 +02:00

423 lines
7.8 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1
L0_1 = {}
L0_1.group_id = 133101207
L1_1 = {}
L2_1 = {}
L2_1.config_id = 207006
L2_1.monster_id = 21010501
L3_1 = {}
L3_1.x = 991.368
L3_1.y = 308.811
L3_1.z = 1188.383
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 306.6
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 35
L2_1.drop_id = 1000100
L2_1.disableWander = true
L2_1.area_id = 6
L3_1 = {}
L3_1.config_id = 207007
L3_1.monster_id = 21010601
L4_1 = {}
L4_1.x = 978.786
L4_1.y = 307.272
L4_1.z = 1186.903
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 35
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.area_id = 6
L4_1 = {}
L4_1.config_id = 207008
L4_1.monster_id = 21030201
L5_1 = {}
L5_1.x = 984.251
L5_1.y = 306.918
L5_1.z = 1185.992
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 20.1
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 35
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.area_id = 6
L5_1 = {}
L5_1.config_id = 207009
L5_1.monster_id = 21010701
L6_1 = {}
L6_1.x = 988.283
L6_1.y = 300.354
L6_1.z = 1197.054
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 184.96
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 35
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.pose_id = 9013
L5_1.area_id = 6
L6_1 = {}
L6_1.config_id = 207010
L6_1.monster_id = 21020201
L7_1 = {}
L7_1.x = 983.779
L7_1.y = 300.471
L7_1.z = 1195.866
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 133.5
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 35
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.area_id = 6
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 207001
L2_1.gadget_id = 70300083
L3_1 = {}
L3_1.x = 989.112
L3_1.y = 300.177
L3_1.z = 1201.195
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 60.26
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 24
L2_1.area_id = 6
L3_1 = {}
L3_1.config_id = 207002
L3_1.gadget_id = 70300083
L4_1 = {}
L4_1.x = 990.916
L4_1.y = 300.688
L4_1.z = 1194.211
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 356.359
L4_1.y = 92.131
L4_1.z = 8.554
L3_1.rot = L4_1
L3_1.level = 24
L3_1.area_id = 6
L4_1 = {}
L4_1.config_id = 207005
L4_1.gadget_id = 70220020
L5_1 = {}
L5_1.x = 987.822
L5_1.y = 300.643
L5_1.z = 1194.672
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 7.278
L5_1.y = 335.247
L5_1.z = 356.657
L4_1.rot = L5_1
L4_1.level = 24
L4_1.area_id = 6
L5_1 = {}
L5_1.config_id = 207013
L5_1.gadget_id = 70220020
L6_1 = {}
L6_1.x = 985.208
L6_1.y = 301.263
L6_1.z = 1191.417
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 5.203
L6_1.y = 286.941
L6_1.z = 343.42
L5_1.rot = L6_1
L5_1.level = 24
L5_1.area_id = 6
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1207003
L2_1.name = "ANY_GADGET_DIE_207003"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = ""
L2_1.action = "action_EVENT_ANY_GADGET_DIE_207003"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1207004
L3_1.name = "ANY_MONSTER_DIE_207004"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_207004"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_207004"
L4_1 = {}
L4_1.config_id = 1207011
L4_1.name = "ANY_MONSTER_DIE_207011"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_207011"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_207011"
L5_1 = {}
L5_1.config_id = 1207012
L5_1.name = "VARIABLE_CHANGE_207012"
L6_1 = EventType
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_207012"
L5_1.action = "action_EVENT_VARIABLE_CHANGE_207012"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "Finish"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L2_1.ban_refresh = true
L3_1 = {}
L4_1 = {}
L5_1 = 207006
L6_1 = 207007
L7_1 = 207008
L8_1 = 207009
L9_1 = 207010
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 207001
L6_1 = 207002
L7_1 = 207005
L8_1 = 207013
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_GADGET_DIE_207003"
L6_1 = "ANY_MONSTER_DIE_207004"
L7_1 = "ANY_MONSTER_DIE_207011"
L8_1 = "VARIABLE_CHANGE_207012"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L3_1.ban_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if 207001 ~= L2_2 then
L2_2 = A1_2.param1
if 207002 ~= L2_2 then
goto lbl_17
end
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Finish"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
::lbl_17::
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_207003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 207008 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_207004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 207005
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 207013
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_207004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_207011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Finish"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_207011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "Finish"
L5_2 = 133101207
L2_2 = L2_2(L3_2, L4_2, L5_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_207012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "133101207"
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_207012 = L1_1