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 = 250015038 L1_1 = {} L2_1 = {} L2_1.config_id = 38003 L2_1.monster_id = 21010101 L3_1 = {} L3_1.x = -23.022 L3_1.y = 0.5 L3_1.z = 83.735 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 = 38004 L3_1.monster_id = 21010101 L4_1 = {} L4_1.x = -12.431 L4_1.y = 0.5 L4_1.z = 83.393 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 = 38005 L4_1.monster_id = 21010101 L5_1 = {} L5_1.x = -21.254 L5_1.y = 0.5 L5_1.z = 72.778 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 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 38001 L2_1.gadget_id = 70380004 L3_1 = {} L3_1.x = -15.671 L3_1.y = 0.5 L3_1.z = 99.194 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 = 38002 L3_1.gadget_id = 70360001 L4_1 = {} L4_1.x = -15.671 L4_1.y = 0.5 L4_1.z = 99.194 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 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1038006 L2_1.name = "GADGET_CREATE_38006" 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_38006" L2_1.action = "action_EVENT_GADGET_CREATE_38006" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1038007 L3_1.name = "SELECT_OPTION_38007" 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_38007" L3_1.action = "action_EVENT_SELECT_OPTION_38007" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1038008 L4_1.name = "CHALLENGE_SUCCESS_38008" L5_1 = EventType L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS L4_1.event = L5_1 L4_1.source = "666" L4_1.condition = "" L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_38008" L5_1 = {} L5_1.config_id = 1038009 L5_1.name = "CHALLENGE_FAIL_38009" L6_1 = EventType L6_1 = L6_1.EVENT_CHALLENGE_FAIL L5_1.event = L6_1 L5_1.source = "666" L5_1.condition = "" L5_1.action = "action_EVENT_CHALLENGE_FAIL_38009" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1038010 L6_1.name = "PLATFORM_REACH_POINT_38010" L7_1 = EventType L7_1 = L7_1.EVENT_PLATFORM_REACH_POINT L6_1.event = L7_1 L6_1.source = "888" L6_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_38010" L6_1.action = "" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1038011 L7_1.name = "ANY_GADGET_DIE_38011" L8_1 = EventType L8_1 = L8_1.EVENT_ANY_GADGET_DIE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_ANY_GADGET_DIE_38011" L7_1.action = "action_EVENT_ANY_GADGET_DIE_38011" L7_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 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 = 38001 L5_1 = 38002 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_38006" L5_1 = "SELECT_OPTION_38007" L6_1 = "CHALLENGE_SUCCESS_38008" L7_1 = "CHALLENGE_FAIL_38009" L8_1 = "PLATFORM_REACH_POINT_38010" L9_1 = "ANY_GADGET_DIE_38011" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L5_1 = 38003 L6_1 = 38004 L7_1 = 38005 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_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 L1_1[1] = L2_1 L1_1[2] = L3_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 38002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_38006 = 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 = 250015038 L5_2 = 38002 L6_2 = {} L7_2 = 7 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_38006 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 38002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_38007 = 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 = 666 L5_2 = 15 L6_2 = 30 L7_2 = 25 L8_2 = 888 L9_2 = 1 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.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 38002 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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 250015038 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 38001 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 : start_platform" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_38007 = 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.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 250015038 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_CHALLENGE_SUCCESS_38008 = 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.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 250015038 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 = 250015038 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_38009 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 38001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 4 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param3 if 4 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_PLATFORM_REACH_POINT_38010 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 38001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_38011 = 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.StopChallenge L3_2 = A0_2 L4_2 = 666 L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_38011 = L1_1