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, L16_1 L0_1 = {} L0_1.group_id = 220121010 L1_1 = {} L2_1 = {} L2_1.config_id = 10001 L2_1.monster_id = 21020201 L3_1 = {} L3_1.x = -48.523 L3_1.y = -583.177 L3_1.z = -176.408 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 L2_1.drop_id = 1000100 L3_1 = {} L3_1.config_id = 10002 L3_1.monster_id = 21020201 L4_1 = {} L4_1.x = -41.058 L4_1.y = -583.203 L4_1.z = -176.013 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 L3_1.drop_id = 1000100 L4_1 = {} L4_1.config_id = 10003 L4_1.monster_id = 20011101 L5_1 = {} L5_1.x = -43.239 L5_1.y = -583.194 L5_1.z = -180.278 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 L4_1.drop_id = 1000100 L5_1 = {} L5_1.config_id = 10004 L5_1.monster_id = 26040101 L6_1 = {} L6_1.x = -45.358 L6_1.y = -583.207 L6_1.z = -181.169 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 359.557 L6_1.y = 2.282 L6_1.z = 0.002 L5_1.rot = L6_1 L5_1.level = 1 L5_1.drop_id = 1000100 L6_1 = {} L6_1.config_id = 10008 L6_1.monster_id = 24010101 L7_1 = {} L7_1.x = -52.412 L7_1.y = -583.304 L7_1.z = -174.896 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 72.216 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L6_1.drop_id = 1000100 L6_1.pose_id = 100 L7_1 = {} L7_1.config_id = 10009 L7_1.monster_id = 24010101 L8_1 = {} L8_1.x = -37.874 L8_1.y = -583.302 L8_1.z = -172.562 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 257.205 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L7_1.drop_id = 1000100 L7_1.pose_id = 100 L8_1 = {} L8_1.config_id = 10034 L8_1.monster_id = 20011101 L9_1 = {} L9_1.x = -47.021 L9_1.y = -583.161 L9_1.z = -179.902 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 356.843 L9_1.y = 9.429 L9_1.z = 359.518 L8_1.rot = L9_1 L8_1.level = 1 L8_1.drop_id = 1000100 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 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 10010 L2_1.gadget_id = 70290297 L3_1 = {} L3_1.x = -45.058 L3_1.y = -583.157 L3_1.z = -173.841 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 = 10011 L3_1.gadget_id = 70290255 L4_1 = {} L4_1.x = -45.283 L4_1.y = -583.15 L4_1.z = -173.555 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 = 10012 L4_1.gadget_id = 70290256 L5_1 = {} L5_1.x = -45.058 L5_1.y = -583.157 L5_1.z = -173.841 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 = 10026 L5_1.gadget_id = 70900201 L6_1 = {} L6_1.x = -45.006 L6_1.y = -580.544 L6_1.z = -173.841 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 0.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 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 = {} L2_1 = {} L2_1.config_id = 10013 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 10 L3_1 = {} L3_1.x = -45.099 L3_1.y = -583.15 L3_1.z = -173.698 L2_1.pos = L3_1 L1_1[1] = L2_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1010013 L2_1.name = "ENTER_REGION_10013" L3_1 = EventType L3_1 = L3_1.EVENT_ENTER_REGION L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "" L2_1.action = "action_EVENT_ENTER_REGION_10013" L3_1 = {} L3_1.config_id = 1010014 L3_1.name = "ANY_MONSTER_DIE_10014" L4_1 = EventType L4_1 = L4_1.EVENT_ANY_MONSTER_DIE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "" L3_1.action = "action_EVENT_ANY_MONSTER_DIE_10014" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1010015 L4_1.name = "VARIABLE_CHANGE_10015" L5_1 = EventType L5_1 = L5_1.EVENT_VARIABLE_CHANGE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_10015" L4_1.action = "action_EVENT_VARIABLE_CHANGE_10015" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1010016 L5_1.name = "GADGET_STATE_CHANGE_10016" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_10016" L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_10016" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1010017 L6_1.name = "GADGET_STATE_CHANGE_10017" L7_1 = EventType L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_10017" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_10017" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1010018 L7_1.name = "GADGET_STATE_CHANGE_10018" 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_10018" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_10018" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1010019 L8_1.name = "GADGET_CREATE_10019" L9_1 = EventType L9_1 = L9_1.EVENT_GADGET_CREATE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_GADGET_CREATE_10019" L8_1.action = "action_EVENT_GADGET_CREATE_10019" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1010020 L9_1.name = "ANY_MONSTER_DIE_10020" L10_1 = EventType L10_1 = L10_1.EVENT_ANY_MONSTER_DIE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "" L9_1.action = "action_EVENT_ANY_MONSTER_DIE_10020" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1010021 L10_1.name = "VARIABLE_CHANGE_10021" L11_1 = EventType L11_1 = L11_1.EVENT_VARIABLE_CHANGE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_VARIABLE_CHANGE_10021" L10_1.action = "action_EVENT_VARIABLE_CHANGE_10021" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1010022 L11_1.name = "ANY_MONSTER_DIE_10022" L12_1 = EventType L12_1 = L12_1.EVENT_ANY_MONSTER_DIE L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "" L11_1.action = "action_EVENT_ANY_MONSTER_DIE_10022" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1010023 L12_1.name = "VARIABLE_CHANGE_10023" L13_1 = EventType L13_1 = L13_1.EVENT_VARIABLE_CHANGE L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_10023" L12_1.action = "action_EVENT_VARIABLE_CHANGE_10023" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1010030 L13_1.name = "ANY_GADGET_DIE_10030" L14_1 = EventType L14_1 = L14_1.EVENT_ANY_GADGET_DIE L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_ANY_GADGET_DIE_10030" L13_1.action = "action_EVENT_ANY_GADGET_DIE_10030" L14_1 = {} L14_1.config_id = 1010032 L14_1.name = "GADGET_STATE_CHANGE_10032" L15_1 = EventType L15_1 = L15_1.EVENT_GADGET_STATE_CHANGE L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_10032" L14_1.action = "action_EVENT_GADGET_STATE_CHANGE_10032" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1010033 L15_1.name = "TIME_AXIS_PASS_10033" L16_1 = EventType L16_1 = L16_1.EVENT_TIME_AXIS_PASS L15_1.event = L16_1 L15_1.source = "_wave_tick" L15_1.condition = "" L15_1.action = "action_EVENT_TIME_AXIS_PASS_10033" L15_1.trigger_count = 0 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 L1_1[14] = L15_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 = 6 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 = 10010 L5_1 = 10026 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 10013 L3_1[1] = L4_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "ENTER_REGION_10013" L5_1 = "GADGET_STATE_CHANGE_10016" L6_1 = "GADGET_STATE_CHANGE_10017" L7_1 = "GADGET_STATE_CHANGE_10018" L8_1 = "GADGET_CREATE_10019" L9_1 = "ANY_GADGET_DIE_10030" L10_1 = "GADGET_STATE_CHANGE_10032" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L5_1 = 10001 L6_1 = 10002 L7_1 = 10003 L8_1 = 10034 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.monsters = L4_1 L4_1 = {} L5_1 = 10011 L6_1 = 10012 L4_1[1] = L5_1 L4_1[2] = L6_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "ANY_MONSTER_DIE_10014" L6_1 = "VARIABLE_CHANGE_10015" L7_1 = "TIME_AXIS_PASS_10033" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L6_1 = 10004 L5_1[1] = L6_1 L4_1.monsters = L5_1 L5_1 = {} L6_1 = 10011 L7_1 = 10012 L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L6_1 = "ANY_MONSTER_DIE_10020" L7_1 = "VARIABLE_CHANGE_10021" L8_1 = "TIME_AXIS_PASS_10033" L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L7_1 = 10008 L8_1 = 10009 L6_1[1] = L7_1 L6_1[2] = L8_1 L5_1.monsters = L6_1 L6_1 = {} L7_1 = 10011 L8_1 = 10012 L6_1[1] = L7_1 L6_1[2] = L8_1 L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L7_1 = "ANY_MONSTER_DIE_10022" L8_1 = "VARIABLE_CHANGE_10023" L9_1 = "TIME_AXIS_PASS_10033" L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_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 = {} L7_1.regions = L8_1 L8_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, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 10010 L5_2 = GadgetState L5_2 = L5_2.ChestLocked 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 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "2201210102" 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_ENTER_REGION_10013 = 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_10014 = 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 ~= 4 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_10015 = 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 = 10010 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_10015 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 10010 == 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_10016 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220121010 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 = -45 L2_2.y = -583 L2_2.z = -173 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 400121 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_GADGET_STATE_CHANGE_10016 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 10010 == 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_10017 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220121010 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = {} L2_2.x = -45 L2_2.y = -583 L2_2.z = -177 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 400121 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_GADGET_STATE_CHANGE_10017 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 10010 == 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_10018 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220121010 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = {} L2_2.x = -45 L2_2.y = -583 L2_2.z = -180 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 400121 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_GADGET_STATE_CHANGE_10018 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 10010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_10019 = 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 = 10010 L5_2 = "SGV_Mechanic_Type" L6_2 = 2 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_CREATE_10019 = 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 = "_stage2_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_10020 = 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 = "_stage2_monster" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_10021 = 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 = 10010 L5_2 = GadgetState L5_2 = L5_2.ChestBramble 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_10021 = 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 = "_stage3_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_10022 = 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 = "_stage3_monster" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_10023 = 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 = 10010 L5_2 = GadgetState L5_2 = L5_2.GearStop 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_10023 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 10010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_10030 = 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 = "2201210101" 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 = 220121010 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 10026 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 220121010 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 10011 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 220121010 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 10012 L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_10030 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 10010 == 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_10032 = 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 = -36 L2_2.y = -395 L2_2.z = -37 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 400122 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_GADGET_STATE_CHANGE_10032 = 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 = 10012 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_10033 = L1_1