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 L0_1 = {} L0_1.group_id = 155003310 L1_1 = {} L1_1.managerGroupID = 155003001 L1_1.group_ID = 155003310 L2_1 = {} L3_1 = {} L4_1 = 310004 L3_1[1] = L4_1 L4_1 = {} L5_1 = 310005 L4_1[1] = L5_1 L5_1 = {} function L6_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 L5_1["0"] = L6_1 function L6_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) L1_2 = ScriptLib L1_2 = L1_2.AddExtraGroupSuite L2_2 = A0_2 L3_2 = L1_1.group_ID L4_2 = 2 L1_2(L2_2, L3_2, L4_2) end L5_1["1"] = L6_1 function L6_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.AddExtraGroupSuite L2_2 = A0_2 L3_2 = L1_1.group_ID L4_2 = 3 L1_2(L2_2, L3_2, L4_2) L1_2 = ScriptLib L1_2 = L1_2.SetGadgetStateByConfigId L2_2 = A0_2 L3_2 = 310005 L4_2 = GadgetState L4_2 = L4_2.GearStop L1_2(L2_2, L3_2, L4_2) L1_2 = ScriptLib L1_2 = L1_2.SetGadgetStateByConfigId L2_2 = A0_2 L3_2 = 310004 L4_2 = GadgetState L4_2 = L4_2.GearStop L1_2(L2_2, L3_2, L4_2) end L5_1["2"] = L6_1 function L6_1(A0_2) local L1_2, L2_2, L3_2, L4_2, L5_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.AddExtraGroupSuite L2_2 = A0_2 L3_2 = L1_1.group_ID L4_2 = 4 L1_2(L2_2, L3_2, L4_2) L1_2 = ScriptLib L1_2 = L1_2.InitTimeAxis L2_2 = A0_2 L3_2 = "delayactive" L4_2 = {} L5_2 = 1 L4_2[1] = L5_2 L5_2 = false L1_2(L2_2, L3_2, L4_2, L5_2) end L5_1["3"] = L6_1 function L6_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.AddExtraGroupSuite L2_2 = A0_2 L3_2 = L1_1.group_ID L4_2 = 5 L1_2(L2_2, L3_2, L4_2) end L5_1["4"] = L6_1 function L6_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 = L5_1[L2_2] L3_2 = A0_2 L2_2(L3_2) end UpdateGamePlayState = L6_1 L6_1 = {} monsters = L6_1 L6_1 = {} npcs = L6_1 L6_1 = {} L7_1 = {} L7_1.config_id = 310004 L7_1.gadget_id = 70360314 L8_1 = {} L8_1.x = 1293.148 L8_1.y = 269.143 L8_1.z = -629.322 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 330.158 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 36 L7_1.area_id = 200 L8_1 = {} L8_1.config_id = 310005 L8_1.gadget_id = 70360315 L9_1 = {} L9_1.x = 1293.147 L9_1.y = 269.143 L9_1.z = -629.322 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 330.158 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 36 L8_1.area_id = 200 L9_1 = {} L9_1.config_id = 310006 L9_1.gadget_id = 70360329 L10_1 = {} L10_1.x = 1293.064 L10_1.y = 271.406 L10_1.z = -629.279 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 0.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 36 L10_1 = GadgetState L10_1 = L10_1.GearStart L9_1.state = L10_1 L9_1.persistent = true L9_1.area_id = 200 L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 gadgets = L6_1 L6_1 = {} regions = L6_1 L6_1 = {} L7_1 = {} L7_1.config_id = 1310001 L7_1.name = "GROUP_LOAD_310001" L8_1 = EventType L8_1 = L8_1.EVENT_GROUP_LOAD L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "" L7_1.action = "action_EVENT_GROUP_LOAD_310001" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1310002 L8_1.name = "VARIABLE_CHANGE_310002" L9_1 = EventType L9_1 = L9_1.EVENT_VARIABLE_CHANGE L8_1.event = L9_1 L8_1.source = "gameplayState" L8_1.condition = "condition_EVENT_VARIABLE_CHANGE_310002" L8_1.action = "action_EVENT_VARIABLE_CHANGE_310002" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1310003 L9_1.name = "QUEST_START_310003" L10_1 = EventType L10_1 = L10_1.EVENT_QUEST_START L9_1.event = L10_1 L9_1.source = "7226907" L9_1.condition = "condition_EVENT_QUEST_START_310003" L9_1.action = "action_EVENT_QUEST_START_310003" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1310007 L10_1.name = "QUEST_FINISH_310007" L11_1 = EventType L11_1 = L11_1.EVENT_QUEST_FINISH L10_1.event = L11_1 L10_1.source = "7226907" L10_1.condition = "condition_EVENT_QUEST_FINISH_310007" L10_1.action = "action_EVENT_QUEST_FINISH_310007" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1310008 L11_1.name = "TIME_AXIS_PASS_310008" L12_1 = EventType L12_1 = L12_1.EVENT_TIME_AXIS_PASS L11_1.event = L12_1 L11_1.source = "delayactive" L11_1.condition = "" L11_1.action = "action_EVENT_TIME_AXIS_PASS_310008" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1310009 L12_1.name = "GROUP_LOAD_310009" L13_1 = EventType L13_1 = L13_1.EVENT_GROUP_LOAD L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "" L12_1.action = "action_EVENT_GROUP_LOAD_310009" L12_1.trigger_count = 0 L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L6_1[4] = L10_1 L6_1[5] = L11_1 L6_1[6] = L12_1 triggers = L6_1 L6_1 = {} L7_1 = {} L7_1.configId = 1 L7_1.name = "gameplayState" L7_1.value = 0 L7_1.no_refresh = true L6_1[1] = L7_1 variables = L6_1 L6_1 = {} L6_1.suite = 1 L6_1.end_suite = 0 L6_1.rand_suite = false init_config = L6_1 L6_1 = {} 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 = {} L9_1 = "GROUP_LOAD_310001" L10_1 = "VARIABLE_CHANGE_310002" L8_1[1] = L9_1 L8_1[2] = L10_1 L7_1.triggers = L8_1 L7_1.rand_weight = 100 L8_1 = {} L9_1 = {} L8_1.monsters = L9_1 L9_1 = {} L8_1.gadgets = L9_1 L9_1 = {} L8_1.regions = L9_1 L9_1 = {} L10_1 = "QUEST_START_310003" L9_1[1] = L10_1 L8_1.triggers = L9_1 L8_1.rand_weight = 100 L9_1 = {} L10_1 = {} L9_1.monsters = L10_1 L10_1 = {} L9_1.gadgets = L10_1 L10_1 = {} L9_1.regions = L10_1 L10_1 = {} L11_1 = "QUEST_FINISH_310007" L10_1[1] = L11_1 L9_1.triggers = L10_1 L9_1.rand_weight = 100 L10_1 = {} L11_1 = {} L10_1.monsters = L11_1 L11_1 = {} L10_1.gadgets = L11_1 L11_1 = {} L10_1.regions = L11_1 L11_1 = {} L12_1 = "TIME_AXIS_PASS_310008" L13_1 = "GROUP_LOAD_310009" L11_1[1] = L12_1 L11_1[2] = L13_1 L10_1.triggers = L11_1 L10_1.rand_weight = 100 L11_1 = {} L12_1 = {} L11_1.monsters = L12_1 L12_1 = {} L13_1 = 310006 L12_1[1] = L13_1 L11_1.gadgets = L12_1 L12_1 = {} L11_1.regions = L12_1 L12_1 = {} L11_1.triggers = L12_1 L11_1.rand_weight = 100 L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L6_1[4] = L10_1 L6_1[5] = L11_1 suites = L6_1 function L6_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "IslandActive" L5_2 = L1_1.managerGroupID L2_2 = L2_2(L3_2, L4_2, L5_2) if L2_2 == 1 then L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "gameplayState" L3_2 = L3_2(L4_2, L5_2) if L3_2 == 0 then L3_2 = ScriptLib L3_2 = L3_2.SetGroupVariableValue L4_2 = A0_2 L5_2 = "gameplayState" L6_2 = 1 L3_2(L4_2, L5_2, L6_2) end end L3_2 = UpdateGamePlayState L4_2 = A0_2 L3_2(L4_2) L3_2 = 0 return L3_2 end action_EVENT_GROUP_LOAD_310001 = L6_1 function L6_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 = "gameplayState" L2_2 = L2_2(L3_2, L4_2) if L2_2 == 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_310002 = L6_1 function L6_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_VARIABLE_CHANGE_310002 = L6_1 function L6_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "gameplayState" 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_QUEST_START_310003 = L6_1 function L6_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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 310005 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 = 310004 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_QUEST_START_310003 = L6_1 function L6_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "gameplayState" 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_QUEST_FINISH_310007 = L6_1 function L6_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 = 3 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_QUEST_FINISH_310007 = L6_1 function L6_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 = 4 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_TIME_AXIS_PASS_310008 = L6_1 function L6_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 = 4 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_GROUP_LOAD_310009 = L6_1 L6_1 = require L7_1 = "V2_4/EnvState" L6_1(L7_1)