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 L0_1 = {} L0_1.group_id = 133102548 L1_1 = {} L1_1.duration = 180 L1_1.kill_sum = 6 L1_1.group_id = 133102548 L1_1.gadget_controller_id = 548014 L2_1 = {} L3_1 = {} L3_1.config_id = 548001 L3_1.monster_id = 21030401 L4_1 = {} L4_1.x = 1361.528 L4_1.y = 200.216 L4_1.z = 183.586 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 3.088 L4_1.y = 189.46 L4_1.z = 3.23 L3_1.rot = L4_1 L3_1.level = 1 L3_1.drop_id = 1000100 L3_1.area_id = 5 L4_1 = {} L4_1.config_id = 548002 L4_1.monster_id = 20010501 L5_1 = {} L5_1.x = 1360.392 L5_1.y = 200.68 L5_1.z = 170.933 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 2.137 L5_1.y = 359.857 L5_1.z = 354.838 L4_1.rot = L5_1 L4_1.level = 1 L4_1.drop_id = 1000100 L4_1.area_id = 5 L5_1 = {} L5_1.config_id = 548003 L5_1.monster_id = 20010601 L6_1 = {} L6_1.x = 1356.832 L6_1.y = 200.242 L6_1.z = 180.791 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 146.138 L6_1.z = 359.105 L5_1.rot = L6_1 L5_1.level = 1 L5_1.drop_id = 1000100 L5_1.area_id = 5 L6_1 = {} L6_1.config_id = 548004 L6_1.monster_id = 20010701 L7_1 = {} L7_1.x = 1365.637 L7_1.y = 200.366 L7_1.z = 179.158 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 358.0 L7_1.y = 228.144 L7_1.z = 1.791 L6_1.rot = L7_1 L6_1.level = 1 L6_1.drop_id = 1000100 L6_1.area_id = 5 L7_1 = {} L7_1.config_id = 548005 L7_1.monster_id = 20010501 L8_1 = {} L8_1.x = 1356.93 L8_1.y = 200.326 L8_1.z = 172.909 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 358.661 L8_1.y = 46.663 L8_1.z = 2.492 L7_1.rot = L8_1 L7_1.level = 1 L7_1.drop_id = 1000100 L7_1.area_id = 5 L8_1 = {} L8_1.config_id = 548013 L8_1.monster_id = 20010501 L9_1 = {} L9_1.x = 1363.153 L9_1.y = 201.089 L9_1.z = 173.018 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 359.67 L9_1.y = 334.051 L9_1.z = 354.424 L8_1.rot = L9_1 L8_1.level = 1 L8_1.drop_id = 1000100 L8_1.area_id = 5 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 548006 L3_1.gadget_id = 70350082 L4_1 = {} L4_1.x = 1360.563 L4_1.y = 200.866 L4_1.z = 174.667 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 1.79 L4_1.y = 0.341 L4_1.z = 0.011 L3_1.rot = L4_1 L3_1.level = 1 L3_1.persistent = true L3_1.area_id = 5 L4_1 = {} L4_1.config_id = 548007 L4_1.gadget_id = 70300118 L5_1 = {} L5_1.x = 1360.6 L5_1.y = 202.765 L5_1.z = 174.7 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.persistent = true L4_1.area_id = 5 L5_1 = {} L5_1.config_id = 548008 L5_1.gadget_id = 70330011 L6_1 = {} L6_1.x = 1360.6 L6_1.y = 200.935 L6_1.z = 174.7 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 358.211 L6_1.y = 359.972 L6_1.z = 1.79 L5_1.rot = L6_1 L5_1.level = 1 L5_1.area_id = 5 L6_1 = {} L6_1.config_id = 548014 L6_1.gadget_id = 70360001 L7_1 = {} L7_1.x = 1360.563 L7_1.y = 200.866 L7_1.z = 174.667 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 1.79 L7_1.y = 0.341 L7_1.z = 0.011 L6_1.rot = L7_1 L6_1.level = 1 L6_1.persistent = true L6_1.area_id = 5 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 gadgets = L2_1 L2_1 = {} regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1548009 L3_1.name = "GADGET_STATE_CHANGE_548009" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_548009" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_548009" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1548010 L4_1.name = "CHALLENGE_SUCCESS_548010" L5_1 = EventType L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS L4_1.event = L5_1 L4_1.source = "180" L4_1.condition = "" L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_548010" L5_1 = {} L5_1.config_id = 1548011 L5_1.name = "CHALLENGE_FAIL_548011" L6_1 = EventType L6_1 = L6_1.EVENT_CHALLENGE_FAIL L5_1.event = L6_1 L5_1.source = "180" L5_1.condition = "" L5_1.action = "action_EVENT_CHALLENGE_FAIL_548011" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1548012 L6_1.name = "GADGET_STATE_CHANGE_548012" 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_548012" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_548012" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1548015 L7_1.name = "GADGET_CREATE_548015" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_CREATE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_CREATE_548015" L7_1.action = "action_EVENT_GADGET_CREATE_548015" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1548016 L8_1.name = "SELECT_OPTION_548016" L9_1 = EventType L9_1 = L9_1.EVENT_SELECT_OPTION L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_SELECT_OPTION_548016" L8_1.action = "action_EVENT_SELECT_OPTION_548016" L8_1.trigger_count = 0 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 triggers = L2_1 L2_1 = {} variables = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 0 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 548006 L6_1 = 548008 L7_1 = 548014 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "CHALLENGE_SUCCESS_548010" L6_1 = "CHALLENGE_FAIL_548011" L7_1 = "GADGET_STATE_CHANGE_548012" L8_1 = "GADGET_CREATE_548015" L9_1 = "SELECT_OPTION_548016" 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.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L6_1 = 548001 L7_1 = 548002 L8_1 = 548003 L9_1 = 548004 L10_1 = 548005 L11_1 = 548013 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 = {} L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L4_1.triggers = L5_1 L4_1.rand_weight = 100 L2_1[1] = L3_1 L2_1[2] = L4_1 suites = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 548006 == 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_548009 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133102548 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.ActiveChallenge L3_2 = A0_2 L4_2 = 180 L5_2 = 13 L6_2 = L1_1.duration L7_2 = L1_1.group_id L8_2 = L1_1.kill_sum L9_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_548009 = L2_1 function L2_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 = 548006 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 548008 L5_2 = GadgetState L5_2 = L5_2.Default 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.KillExtraGroupSuite L3_2 = A0_2 L4_2 = 133102548 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_CHALLENGE_SUCCESS_548010 = L2_1 function L2_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 = 548006 L5_2 = GadgetState L5_2 = L5_2.Default 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.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 548014 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 : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 548008 L5_2 = GadgetState L5_2 = L5_2.Default 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.KillExtraGroupSuite L3_2 = A0_2 L4_2 = 133102548 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133102548 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 = 0 return L2_2 end action_EVENT_CHALLENGE_FAIL_548011 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 548006 == 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_548012 = L2_1 function L2_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 = 548008 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_GADGET_STATE_CHANGE_548012 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 548014 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_548015 = L2_1 function L2_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.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133102548 L5_2 = 548014 L6_2 = {} L7_2 = 177 L6_2[1] = L7_2 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 : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_CREATE_548015 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 548014 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 177 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_548016 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = ScriptLib L2_2 = L2_2.ActiveChallenge L3_2 = A0_2 L4_2 = 180 L5_2 = 13 L6_2 = L1_1.duration L7_2 = L1_1.group_id L8_2 = L1_1.kill_sum L9_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L5_2 = L1_1.gadget_controller_id L4_2.config_id = L5_2 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 548006 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 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_548016 = L2_1