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 L0_1 = {} L0_1.group_id = 111101277 L1_1 = {} L2_1 = {} L2_1.config_id = 277002 L2_1.monster_id = 21010101 L3_1 = {} L3_1.x = 2244.794 L3_1.y = 244.12 L3_1.z = -1579.653 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 88.39 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 = 277003 L3_1.monster_id = 21010101 L4_1 = {} L4_1.x = 2244.632 L4_1.y = 244.12 L4_1.z = -1577.956 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 57.015 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 = 277004 L4_1.monster_id = 21010101 L5_1 = {} L5_1.x = 2244.614 L5_1.y = 244.12 L5_1.z = -1581.47 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 127.927 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 = 277005 L5_1.monster_id = 21010101 L6_1 = {} L6_1.x = 2243.042 L6_1.y = 244.12 L6_1.z = -1581.451 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 180.726 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L5_1.drop_id = 1000100 L6_1 = {} L6_1.config_id = 277006 L6_1.monster_id = 21010101 L7_1 = {} L7_1.x = 2242.933 L7_1.y = 244.12 L7_1.z = -1578.11 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L6_1.drop_id = 1000100 L7_1 = {} L7_1.config_id = 277007 L7_1.monster_id = 21010101 L8_1 = {} L8_1.x = 2241.276 L8_1.y = 244.12 L8_1.z = -1577.984 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 320.817 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L7_1.drop_id = 1000100 L8_1 = {} L8_1.config_id = 277008 L8_1.monster_id = 21010101 L9_1 = {} L9_1.x = 2241.317 L9_1.y = 244.12 L9_1.z = -1579.648 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 268.017 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L8_1.drop_id = 1000100 L9_1 = {} L9_1.config_id = 277009 L9_1.monster_id = 21010101 L10_1 = {} L10_1.x = 2241.445 L10_1.y = 244.12 L10_1.z = -1581.458 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 225.2 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L9_1.drop_id = 1000100 L10_1 = {} L10_1.config_id = 277010 L10_1.monster_id = 21010101 L11_1 = {} L11_1.x = 2242.872 L11_1.y = 244.12 L11_1.z = -1582.902 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 181.553 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L10_1.drop_id = 1000100 L11_1 = {} L11_1.config_id = 277011 L11_1.monster_id = 21010101 L12_1 = {} L12_1.x = 2242.909 L12_1.y = 244.12 L12_1.z = -1577.035 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 L11_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 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 277001 L2_1.gadget_id = 70350082 L3_1 = {} L3_1.x = 2242.911 L3_1.y = 244.12 L3_1.z = -1579.599 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 = 277014 L3_1.gadget_id = 70360001 L4_1 = {} L4_1.x = 2242.933 L4_1.y = 245.141 L4_1.z = -1579.569 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 = 277017 L4_1.gadget_id = 70211001 L5_1 = {} L5_1.x = 2242.927 L5_1.y = 244.12 L5_1.z = -1575.625 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 = 11 L4_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\232\146\153\229\190\183" L4_1.isOneoff = true L4_1.persistent = true L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1277012 L2_1.name = "GADGET_CREATE_277012" L3_1 = EventType L3_1 = L3_1.EVENT_GADGET_CREATE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GADGET_CREATE_277012" L2_1.action = "action_EVENT_GADGET_CREATE_277012" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1277013 L3_1.name = "SELECT_OPTION_277013" L4_1 = EventType L4_1 = L4_1.EVENT_SELECT_OPTION L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_SELECT_OPTION_277013" L3_1.action = "action_EVENT_SELECT_OPTION_277013" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1277015 L4_1.name = "CHALLENGE_SUCCESS_277015" 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_277015" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1277016 L5_1.name = "CHALLENGE_FAIL_277016" 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_277016" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1277018 L6_1.name = "GADGET_STATE_CHANGE_277018" 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_277018" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_277018" 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 triggers = L1_1 L1_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 = 277001 L5_1 = 277014 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_CREATE_277012" L5_1 = "SELECT_OPTION_277013" L6_1 = "CHALLENGE_SUCCESS_277015" L7_1 = "CHALLENGE_FAIL_277016" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L5_1 = 277002 L6_1 = 277003 L7_1 = 277004 L8_1 = 277005 L9_1 = 277006 L10_1 = 277007 L11_1 = 277008 L12_1 = 277009 L13_1 = 277010 L14_1 = 277011 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 L4_1[6] = L10_1 L4_1[7] = L11_1 L4_1[8] = L12_1 L4_1[9] = L13_1 L4_1[10] = L14_1 L3_1.monsters = L4_1 L4_1 = {} L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L6_1 = 277017 L5_1[1] = L6_1 L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L6_1 = "GADGET_STATE_CHANGE_277018" L5_1[1] = L6_1 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 277014 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_277012 = 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.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 111101277 L5_2 = 277014 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_277012 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 277014 ~= 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_277013 = L1_1 function L1_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 = 180 L6_2 = 120 L7_2 = 111101277 L8_2 = 10 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 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : active_challenge" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 111101277 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 = {} L4_2.config_id = 277014 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 277001 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_SELECT_OPTION_277013 = 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 = 277001 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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 111101277 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_CHALLENGE_SUCCESS_277015 = 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 = 277001 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 = 277014 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.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 111101277 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_CHALLENGE_FAIL_277016 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 277017 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_277018 = 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.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 111101282 L5_2 = 282001 L6_2 = GadgetState L6_2 = L6_2.Default 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_gadget_state_by_GroupId_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_277018 = L1_1