local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1 L0_1 = {} L0_1.group_id = 220121006 L1_1 = {} L2_1 = {} L2_1.config_id = 6001 L2_1.monster_id = 20010501 L3_1 = {} L3_1.x = -41.345 L3_1.y = -259.57 L3_1.z = -37.436 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 0.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L3_1 = {} L3_1.config_id = 6002 L3_1.monster_id = 20010501 L4_1 = {} L4_1.x = -35.272 L4_1.y = -259.57 L4_1.z = -41.041 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 = 1 L4_1 = {} L4_1.config_id = 6003 L4_1.monster_id = 20010501 L5_1 = {} L5_1.x = -28.689 L5_1.y = -259.57 L5_1.z = -37.269 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 0.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = {} L5_1.config_id = 6005 L5_1.monster_id = 20011201 L6_1 = {} L6_1.x = -29.002 L6_1.y = -259.57 L6_1.z = -22.713 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 180.829 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L6_1 = {} L6_1.config_id = 6006 L6_1.monster_id = 20011201 L7_1 = {} L7_1.x = -35.022 L7_1.y = -259.57 L7_1.z = -19.02 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 180.829 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L7_1 = {} L7_1.config_id = 6007 L7_1.monster_id = 20011201 L8_1 = {} L8_1.x = -41.659 L8_1.y = -259.57 L8_1.z = -22.697 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 180.829 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L8_1 = {} L8_1.config_id = 6008 L8_1.monster_id = 20011301 L9_1 = {} L9_1.x = -38.138 L9_1.y = -259.57 L9_1.z = -24.527 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 180.829 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L9_1 = {} L9_1.config_id = 6009 L9_1.monster_id = 20011301 L10_1 = {} L10_1.x = -32.051 L10_1.y = -259.57 L10_1.z = -25.023 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 180.829 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L10_1 = {} L10_1.config_id = 6011 L10_1.monster_id = 20011201 L11_1 = {} L11_1.x = -35.244 L11_1.y = -259.57 L11_1.z = -22.713 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 180.829 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L11_1 = {} L11_1.config_id = 6027 L11_1.monster_id = 20010601 L12_1 = {} L12_1.x = -32.236 L12_1.y = -259.57 L12_1.z = -35.49 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 0.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L12_1 = {} L12_1.config_id = 6028 L12_1.monster_id = 20010701 L13_1 = {} L13_1.x = -38.33 L13_1.y = -259.57 L13_1.z = -35.082 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 0.0 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 1 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 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 6010 L2_1.gadget_id = 70290254 L3_1 = {} L3_1.x = -35.481 L3_1.y = -259.592 L3_1.z = -31.183 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 0.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L3_1 = {} L3_1.config_id = 6020 L3_1.gadget_id = 70290256 L4_1 = {} L4_1.x = -35.418 L4_1.y = -259.57 L4_1.z = -31.133 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 = 1 L1_1[1] = L2_1 L1_1[2] = L3_1 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 6013 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 20 L3_1 = {} L3_1.x = -35.728 L3_1.y = -258.384 L3_1.z = -30.99 L2_1.pos = L3_1 L3_1 = {} L3_1.config_id = 6023 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 20 L4_1 = {} L4_1.x = -35.668 L4_1.y = -259.57 L4_1.z = -31.142 L3_1.pos = L4_1 L1_1[1] = L2_1 L1_1[2] = L3_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1006004 L2_1.name = "VARIABLE_CHANGE_6004" L3_1 = EventType L3_1 = L3_1.EVENT_VARIABLE_CHANGE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_VARIABLE_CHANGE_6004" L2_1.action = "action_EVENT_VARIABLE_CHANGE_6004" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1006012 L3_1.name = "QUEST_FINISH_6012" L4_1 = EventType L4_1 = L4_1.EVENT_QUEST_FINISH L3_1.event = L4_1 L3_1.source = "1101311" L3_1.condition = "" L3_1.action = "action_EVENT_QUEST_FINISH_6012" L4_1 = {} L4_1.config_id = 1006013 L4_1.name = "ENTER_REGION_6013" L5_1 = EventType L5_1 = L5_1.EVENT_ENTER_REGION L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "" L4_1.action = "action_EVENT_ENTER_REGION_6013" L5_1 = {} L5_1.config_id = 1006014 L5_1.name = "ANY_MONSTER_DIE_6014" L6_1 = EventType L6_1 = L6_1.EVENT_ANY_MONSTER_DIE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "" L5_1.action = "action_EVENT_ANY_MONSTER_DIE_6014" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1006015 L6_1.name = "VARIABLE_CHANGE_6015" L7_1 = EventType L7_1 = L7_1.EVENT_VARIABLE_CHANGE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_6015" L6_1.action = "action_EVENT_VARIABLE_CHANGE_6015" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1006016 L7_1.name = "GADGET_STATE_CHANGE_6016" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_6016" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_6016" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1006017 L8_1.name = "GADGET_STATE_CHANGE_6017" L9_1 = EventType L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_6017" L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_6017" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1006018 L9_1.name = "GADGET_STATE_CHANGE_6018" L10_1 = EventType L10_1 = L10_1.EVENT_GADGET_STATE_CHANGE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_6018" L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_6018" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1006019 L10_1.name = "GADGET_CREATE_6019" L11_1 = EventType L11_1 = L11_1.EVENT_GADGET_CREATE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_GADGET_CREATE_6019" L10_1.action = "action_EVENT_GADGET_CREATE_6019" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1006021 L11_1.name = "TIME_AXIS_PASS_6021" L12_1 = EventType L12_1 = L12_1.EVENT_TIME_AXIS_PASS L11_1.event = L12_1 L11_1.source = "_wave_tick" L11_1.condition = "" L11_1.action = "action_EVENT_TIME_AXIS_PASS_6021" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1006022 L12_1.name = "GADGET_STATE_CHANGE_6022" L13_1 = EventType L13_1 = L13_1.EVENT_GADGET_STATE_CHANGE L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_6022" L12_1.action = "action_EVENT_GADGET_STATE_CHANGE_6022" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1006023 L13_1.name = "ENTER_REGION_6023" L14_1 = EventType L14_1 = L14_1.EVENT_ENTER_REGION L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_ENTER_REGION_6023" L13_1.action = "action_EVENT_ENTER_REGION_6023" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1006026 L14_1.name = "ANY_GADGET_DIE_6026" L15_1 = EventType L15_1 = L15_1.EVENT_ANY_GADGET_DIE L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_ANY_GADGET_DIE_6026" L14_1.action = "action_EVENT_ANY_GADGET_DIE_6026" 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 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 L1_1[12] = L13_1 L1_1[13] = L14_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "_stage1_monster" L2_1.value = 0 L2_1.no_refresh = false L3_1 = {} L3_1.configId = 2 L3_1.name = "_stage2_monster" L3_1.value = 0 L3_1.no_refresh = false L4_1 = {} L4_1.configId = 3 L4_1.name = "_stage3_monster" L4_1.value = 0 L4_1.no_refresh = false L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_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 = {} L4_1 = 6010 L3_1[1] = L4_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 6023 L3_1[1] = L4_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "QUEST_FINISH_6012" L5_1 = "GADGET_STATE_CHANGE_6016" L6_1 = "GADGET_STATE_CHANGE_6017" L7_1 = "GADGET_STATE_CHANGE_6018" L8_1 = "GADGET_CREATE_6019" L9_1 = "GADGET_STATE_CHANGE_6022" L10_1 = "ENTER_REGION_6023" L11_1 = "ANY_GADGET_DIE_6026" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L3_1[6] = L9_1 L3_1[7] = L10_1 L3_1[8] = L11_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L5_1 = 6001 L6_1 = 6002 L7_1 = 6003 L8_1 = 6027 L9_1 = 6028 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 = 6020 L4_1[1] = L5_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "VARIABLE_CHANGE_6004" L6_1 = "ANY_MONSTER_DIE_6014" L7_1 = "VARIABLE_CHANGE_6015" L8_1 = "TIME_AXIS_PASS_6021" 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 L4_1 = {} L5_1 = {} L6_1 = 6005 L7_1 = 6006 L8_1 = 6007 L9_1 = 6008 L10_1 = 6009 L11_1 = 6011 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L5_1[5] = L10_1 L5_1[6] = L11_1 L4_1.monsters = L5_1 L5_1 = {} L6_1 = 6020 L5_1[1] = L6_1 L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L6_1.triggers = L7_1 L6_1.rand_weight = 100 L7_1 = {} L8_1 = {} L7_1.monsters = L8_1 L8_1 = {} L7_1.gadgets = L8_1 L8_1 = {} L9_1 = 6013 L8_1[1] = L9_1 L7_1.regions = L8_1 L8_1 = {} L9_1 = "ENTER_REGION_6013" L8_1[1] = L9_1 L7_1.triggers = L8_1 L7_1.rand_weight = 100 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 L1_1[6] = L7_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_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.GetGroupVariableValue L3_2 = A0_2 L4_2 = "_stage1_monster" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 5 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_6004 = 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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220121006 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_6004 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220121006 L4_2.suite = 5 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220121002 L4_2.suite = 6 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220121007 L4_2.suite = 1 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220121011 L4_2.suite = 2 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220121012 L4_2.suite = 2 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 : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_QUEST_FINISH_6012 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220121006 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.InitTimeAxis L3_2 = A0_2 L4_2 = "_wave_tick" L5_2 = {} L6_2 = 4 L5_2[1] = L6_2 L6_2 = true L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = {} L2_2.x = -35 L2_2.y = -258 L2_2.z = -30 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 500660110 L6_2 = L2_2 L7_2 = 100 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = {} L3_2.x = -35 L3_2.y = -258 L3_2.z = -30 L4_2 = ScriptLib L4_2 = L4_2.ShowReminderRadius L5_2 = A0_2 L6_2 = 400121 L7_2 = L3_2 L8_2 = 100 L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_ENTER_REGION_6013 = 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 = "_stage1_monster" 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_6014 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_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.GetGroupVariableValue L3_2 = A0_2 L4_2 = "_stage1_monster" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 11 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_6015 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 6010 L5_2 = GadgetState L5_2 = L5_2.ChestOpened 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 : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_6015 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 6010 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestLocked L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_6016 = 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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220121006 L5_2 = 6 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_6016 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 6010 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestTrap L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_6017 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220121006 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.InitTimeAxis L3_2 = A0_2 L4_2 = "_thunder_tick" L5_2 = {} L6_2 = 5 L5_2[1] = L6_2 L6_2 = true L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_6017 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 6010 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_6018 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220121006 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.InitTimeAxis L3_2 = A0_2 L4_2 = "_wave_tick" L5_2 = {} L6_2 = 8 L5_2[1] = L6_2 L6_2 = true L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_6018 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 6010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_6019 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetEntityServerGlobalValueByConfigId L3_2 = A0_2 L4_2 = 6010 L5_2 = "SGV_Mechanic_Type" L6_2 = 0 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_CREATE_6019 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 6020 L5_2 = GadgetState L5_2 = L5_2.GearStart 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 : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIME_AXIS_PASS_6021 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 6010 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_6022 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.x = -35.61409 L2_2.y = -259.57 L2_2.z = -29.9867 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 500660120 L6_2 = L2_2 L7_2 = 100 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = {} L3_2.x = -35.61409 L3_2.y = -259.57 L3_2.z = -29.9867 L4_2 = ScriptLib L4_2 = L4_2.ShowReminderRadius L5_2 = A0_2 L6_2 = 400122 L7_2 = L3_2 L8_2 = 100 L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_GADGET_STATE_CHANGE_6022 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = A1_2.param1 if L2_2 ~= 6023 then L2_2 = false return L2_2 end L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 220121006 L6_2 = 6010 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ENTER_REGION_6023 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = {} L2_2.x = -35 L2_2.y = -259 L2_2.z = -30 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 400120 L6_2 = L2_2 L7_2 = 100 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_ENTER_REGION_6023 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 6010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_6026 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "2201210061" 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 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 220121006 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 6020 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : remove_gadget_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_GADGET_DIE_6026 = L1_1