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 = 155008154 L1_1 = {} L1_1.point_sum = 11 L1_1.route_2 = 500800034 L1_1.gadget_seelie = 154002 L1_1.group_ID = 155008154 L2_1 = L1_1.point_sum L2_1 = L2_1 - 1 L1_1.final_point = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L5_1 = {} L6_1 = 154010 L5_1[1] = L6_1 L6_1 = {} L7_1 = 154002 L6_1[1] = L7_1 L7_1 = {} function L8_1(A0_2) local L1_2, L2_2, L3_2, L4_2 L1_2 = ScriptLib L1_2 = L1_2.SetGroupVariableValue L2_2 = A0_2 L3_2 = "is_daynight_finish" L4_2 = 1 L1_2(L2_2, L3_2, L4_2) end L7_1["0"] = L8_1 function L8_1(A0_2) local L1_2, L2_2, L3_2, L4_2 L1_2 = ScriptLib L1_2 = L1_2.SetGroupVariableValue L2_2 = A0_2 L3_2 = "is_daynight_finish" L4_2 = 0 L1_2(L2_2, L3_2, L4_2) end L7_1["1"] = L8_1 function L8_1(A0_2) local L1_2, L2_2, L3_2, L4_2 L1_2 = ScriptLib L1_2 = L1_2.SetGroupVariableValue L2_2 = A0_2 L3_2 = "is_daynight_finish" L4_2 = 1 L1_2(L2_2, L3_2, L4_2) L1_2 = ScriptLib L1_2 = L1_2.RefreshGroup L2_2 = A0_2 L3_2 = {} L4_2 = L1_1.group_ID L3_2.group_id = L4_2 L3_2.suite = 2 L1_2(L2_2, L3_2) end L7_1["2"] = L8_1 function L8_1(A0_2) local L1_2, L2_2, L3_2 L1_2 = ScriptLib L1_2 = L1_2.GetGroupVariableValue L2_2 = A0_2 L3_2 = "gameplayState" L1_2 = L1_2(L2_2, L3_2) L2_2 = tostring L3_2 = L1_2 L2_2 = L2_2(L3_2) L2_2 = L7_1[L2_2] L3_2 = A0_2 L2_2(L3_2) end UpdateGamePlayState = L8_1 L8_1 = {} monsters = L8_1 L8_1 = {} npcs = L8_1 L8_1 = {} L9_1 = {} L9_1.config_id = 154001 L9_1.gadget_id = 70290293 L10_1 = {} L10_1.x = -116.104 L10_1.y = 151.563 L10_1.z = 229.361 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 342.618 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 36 L9_1.area_id = 200 L10_1 = {} L10_1.config_id = 154002 L10_1.gadget_id = 70710010 L11_1 = {} L11_1.x = -110.441 L11_1.y = 182.964 L11_1.z = 324.133 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 0.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 36 L10_1.route_id = 500800035 L10_1.area_id = 200 L11_1 = {} L11_1.config_id = 154003 L11_1.gadget_id = 70710007 L12_1 = {} L12_1.x = -116.099 L12_1.y = 151.563 L12_1.z = 229.666 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 336.271 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 36 L11_1.area_id = 200 L12_1 = {} L12_1.config_id = 154004 L12_1.gadget_id = 70211111 L13_1 = {} L13_1.x = -115.761 L13_1.y = 151.566 L13_1.z = 227.908 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 341.558 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 16 L12_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\168\187\229\166\187" L12_1.showcutscene = true L12_1.isOneoff = true L12_1.persistent = true L13_1 = {} L13_1.name = "chest" L13_1.exp = 1 L12_1.explore = L13_1 L12_1.area_id = 200 L13_1 = {} L13_1.config_id = 154010 L13_1.gadget_id = 70290229 L14_1 = {} L14_1.x = -110.265 L14_1.y = 183.6 L14_1.z = 324.062 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 0.0 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 36 L13_1.area_id = 200 L8_1[1] = L9_1 L8_1[2] = L10_1 L8_1[3] = L11_1 L8_1[4] = L12_1 L8_1[5] = L13_1 gadgets = L8_1 L8_1 = {} L9_1 = {} L9_1.config_id = 154007 L10_1 = RegionShape L10_1 = L10_1.SPHERE L9_1.shape = L10_1 L9_1.radius = 5 L10_1 = {} L10_1.x = -108.941 L10_1.y = 182.964 L10_1.z = 324.233 L9_1.pos = L10_1 L9_1.area_id = 200 L8_1[1] = L9_1 regions = L8_1 L8_1 = {} L9_1 = {} L9_1.config_id = 1154005 L9_1.name = "PLATFORM_REACH_POINT_154005" L10_1 = EventType L10_1 = L10_1.EVENT_PLATFORM_REACH_POINT L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_154005" L9_1.action = "action_EVENT_PLATFORM_REACH_POINT_154005" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1154006 L10_1.name = "AVATAR_NEAR_PLATFORM_154006" L11_1 = EventType L11_1 = L11_1.EVENT_AVATAR_NEAR_PLATFORM L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_AVATAR_NEAR_PLATFORM_154006" L10_1.action = "action_EVENT_AVATAR_NEAR_PLATFORM_154006" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1154007 L11_1.name = "ENTER_REGION_154007" L12_1 = EventType L12_1 = L12_1.EVENT_ENTER_REGION L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_ENTER_REGION_154007" L11_1.action = "action_EVENT_ENTER_REGION_154007" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1154008 L12_1.name = "GADGET_STATE_CHANGE_154008" 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_154008" L12_1.action = "action_EVENT_GADGET_STATE_CHANGE_154008" L13_1 = {} L13_1.config_id = 1154009 L13_1.name = "GADGET_CREATE_154009" L14_1 = EventType L14_1 = L14_1.EVENT_GADGET_CREATE L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_GADGET_CREATE_154009" L13_1.action = "action_EVENT_GADGET_CREATE_154009" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1154011 L14_1.name = "GROUP_LOAD_154011" L15_1 = EventType L15_1 = L15_1.EVENT_GROUP_LOAD L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "" L14_1.action = "action_EVENT_GROUP_LOAD_154011" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1154012 L15_1.name = "VARIABLE_CHANGE_154012" L16_1 = EventType L16_1 = L16_1.EVENT_VARIABLE_CHANGE L15_1.event = L16_1 L15_1.source = "gameplayState" L15_1.condition = "" L15_1.action = "action_EVENT_VARIABLE_CHANGE_154012" L15_1.trigger_count = 0 L8_1[1] = L9_1 L8_1[2] = L10_1 L8_1[3] = L11_1 L8_1[4] = L12_1 L8_1[5] = L13_1 L8_1[6] = L14_1 L8_1[7] = L15_1 triggers = L8_1 L8_1 = {} L9_1 = {} L9_1.configId = 1 L9_1.name = "gameplayState" L9_1.value = 1 L9_1.no_refresh = true L8_1[1] = L9_1 variables = L8_1 L8_1 = {} L8_1.suite = 1 L8_1.end_suite = 2 L8_1.rand_suite = false init_config = L8_1 L8_1 = {} L9_1 = {} L10_1 = {} L9_1.monsters = L10_1 L10_1 = {} L11_1 = 154001 L12_1 = 154003 L10_1[1] = L11_1 L10_1[2] = L12_1 L9_1.gadgets = L10_1 L10_1 = {} L11_1 = 154007 L10_1[1] = L11_1 L9_1.regions = L10_1 L10_1 = {} L11_1 = "PLATFORM_REACH_POINT_154005" L12_1 = "AVATAR_NEAR_PLATFORM_154006" L13_1 = "ENTER_REGION_154007" L14_1 = "GADGET_STATE_CHANGE_154008" L15_1 = "GROUP_LOAD_154011" L16_1 = "VARIABLE_CHANGE_154012" L10_1[1] = L11_1 L10_1[2] = L12_1 L10_1[3] = L13_1 L10_1[4] = L14_1 L10_1[5] = L15_1 L10_1[6] = L16_1 L9_1.triggers = L10_1 L9_1.rand_weight = 100 L10_1 = {} L11_1 = {} L10_1.monsters = L11_1 L11_1 = {} L12_1 = 154001 L13_1 = 154004 L11_1[1] = L12_1 L11_1[2] = L13_1 L10_1.gadgets = L11_1 L11_1 = {} L10_1.regions = L11_1 L11_1 = {} L12_1 = "GADGET_CREATE_154009" L11_1[1] = L12_1 L10_1.triggers = L11_1 L10_1.rand_weight = 100 L8_1[1] = L9_1 L8_1[2] = L10_1 suites = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_seelie L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = L1_1.route_2 L3_2 = A1_2.param2 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = L1_1.final_point L3_2 = A1_2.param3 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_PLATFORM_REACH_POINT_154005 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 154001 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 = ScriptLib L2_2 = L2_2.StopPlatform L3_2 = A0_2 L4_2 = 154002 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 : stop_platform" 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 = 154002 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.MarkPlayerAction L3_2 = A0_2 L4_2 = 2005 L5_2 = 3 L6_2 = 1 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 : mark_playerAction" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_PLATFORM_REACH_POINT_154005 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_seelie L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = L1_1.route_2 L3_2 = A1_2.param2 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = L1_1.final_point L3_2 = A1_2.param3 if L2_2 == L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_AVATAR_NEAR_PLATFORM_154006 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 154002 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = A1_2.param3 if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.MarkPlayerAction L3_2 = A0_2 L4_2 = 2005 L5_2 = 2 L6_2 = A1_2.param3 L6_2 = L6_2 + 1 L2_2(L3_2, L4_2, L5_2, L6_2) end L2_2 = 0 return L2_2 end action_EVENT_AVATAR_NEAR_PLATFORM_154006 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = A1_2.param1 if L2_2 ~= 154007 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetRegionEntityCount L3_2 = A0_2 L4_2 = {} L5_2 = A1_2.source_eid L4_2.region_eid = L5_2 L5_2 = EntityType L5_2 = L5_2.AVATAR L4_2.entity_type = L5_2 L2_2 = L2_2(L3_2, L4_2) if L2_2 < 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetSceneUidList L3_2 = A0_2 L2_2 = L2_2(L3_2) L3_2 = L2_2[1] L4_2 = ScriptLib L4_2 = L4_2.GetCurrentLevelTagVec L5_2 = A0_2 L6_2 = 1 L4_2 = L4_2(L5_2, L6_2) L4_2 = L4_2[1] if L4_2 == 2 then L5_2 = true return L5_2 else L5_2 = false return L5_2 end L5_2 = true return L5_2 end condition_EVENT_ENTER_REGION_154007 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetPlatformRouteId L3_2 = A0_2 L4_2 = 154002 L5_2 = 500800034 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_platform_routeId" 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 = 154003 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.MarkPlayerAction L3_2 = A0_2 L4_2 = 2005 L5_2 = 1 L6_2 = 1 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 : mark_playerAction" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_154007 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 154001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearAction1 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_154008 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "gameplayState" L5_2 = 2 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_groupVariable" 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_154008 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = A1_2.param1 if 154001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 0 L6_2 = A1_2.param1 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 == L3_2 then goto lbl_16 end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_154009 = L8_1 function L8_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 = 154001 L5_2 = GadgetState L5_2 = L5_2.GearAction1 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_CREATE_154009 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = UpdateGamePlayState L3_2 = A0_2 L2_2(L3_2) L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_154011 = L8_1 function L8_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = -1 return L2_2 end L2_2 = UpdateGamePlayState L3_2 = A0_2 L2_2(L3_2) L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_154012 = L8_1 L8_1 = require L9_1 = "V2_4/EnvState" L8_1(L9_1)