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 = 133222320 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 320001 L2_1.gadget_id = 70211102 L3_1 = {} L3_1.x = -4707.774 L3_1.y = 447.294 L3_1.z = -4204.678 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 75.347 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 26 L2_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\168\187\229\166\187" L3_1 = GadgetState L3_1 = L3_1.ChestLocked L2_1.state = L3_1 L2_1.isOneoff = true L2_1.persistent = true L2_1.autopick = true L3_1 = {} L3_1.name = "chest" L3_1.exp = 1 L2_1.explore = L3_1 L2_1.area_id = 14 L3_1 = {} L3_1.config_id = 320002 L3_1.gadget_id = 70211102 L4_1 = {} L4_1.x = -4707.143 L4_1.y = 203.485 L4_1.z = -4205.613 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 353.096 L4_1.y = 265.013 L4_1.z = 12.871 L3_1.rot = L4_1 L3_1.level = 26 L3_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\168\187\229\166\187" L4_1 = GadgetState L4_1 = L4_1.ChestLocked L3_1.state = L4_1 L3_1.isOneoff = true L3_1.persistent = true L4_1 = {} L4_1.name = "chest" L4_1.exp = 1 L3_1.explore = L4_1 L3_1.area_id = 14 L1_1[1] = L2_1 L1_1[2] = L3_1 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 320003 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 5 L3_1 = {} L3_1.x = -4708.111 L3_1.y = 447.327 L3_1.z = -4204.126 L2_1.pos = L3_1 L2_1.area_id = 14 L3_1 = {} L3_1.config_id = 320007 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 5 L4_1 = {} L4_1.x = -4706.83 L4_1.y = 204.202 L4_1.z = -4205.925 L3_1.pos = L4_1 L3_1.area_id = 14 L1_1[1] = L2_1 L1_1[2] = L3_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1320003 L2_1.name = "ENTER_REGION_320003" L3_1 = EventType L3_1 = L3_1.EVENT_ENTER_REGION L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_ENTER_REGION_320003" L2_1.action = "action_EVENT_ENTER_REGION_320003" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1320004 L3_1.name = "GADGET_STATE_CHANGE_320004" 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_320004" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_320004" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1320005 L4_1.name = "GROUP_LOAD_320005" L5_1 = EventType L5_1 = L5_1.EVENT_GROUP_LOAD L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GROUP_LOAD_320005" L4_1.action = "action_EVENT_GROUP_LOAD_320005" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1320006 L5_1.name = "QUEST_START_320006" L6_1 = EventType L6_1 = L6_1.EVENT_QUEST_START L5_1.event = L6_1 L5_1.source = "7215805" L5_1.condition = "condition_EVENT_QUEST_START_320006" L5_1.action = "action_EVENT_QUEST_START_320006" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1320007 L6_1.name = "ENTER_REGION_320007" L7_1 = EventType L7_1 = L7_1.EVENT_ENTER_REGION L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_ENTER_REGION_320007" L6_1.action = "action_EVENT_ENTER_REGION_320007" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1320008 L7_1.name = "GROUP_LOAD_320008" L8_1 = EventType L8_1 = L8_1.EVENT_GROUP_LOAD L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GROUP_LOAD_320008" L7_1.action = "action_EVENT_GROUP_LOAD_320008" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1320009 L8_1.name = "TIME_AXIS_PASS_320009" L9_1 = EventType L9_1 = L9_1.EVENT_TIME_AXIS_PASS L8_1.event = L9_1 L8_1.source = "Finish" L8_1.condition = "condition_EVENT_TIME_AXIS_PASS_320009" L8_1.action = "action_EVENT_TIME_AXIS_PASS_320009" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1320010 L9_1.name = "GROUP_LOAD_320010" L10_1 = EventType L10_1 = L10_1.EVENT_GROUP_LOAD L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_GROUP_LOAD_320010" L9_1.action = "action_EVENT_GROUP_LOAD_320010" L9_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 L1_1[7] = L8_1 L1_1[8] = L9_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "Open" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "Quest" L3_1.value = 0 L3_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 variables = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 4 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 320001 L4_1[1] = L5_1 L3_1.gadgets = L4_1 L4_1 = {} L5_1 = 320003 L4_1[1] = L5_1 L3_1.regions = L4_1 L4_1 = {} L5_1 = "ENTER_REGION_320003" L6_1 = "GADGET_STATE_CHANGE_320004" L7_1 = "GROUP_LOAD_320005" L8_1 = "QUEST_START_320006" L9_1 = "GROUP_LOAD_320008" L10_1 = "TIME_AXIS_PASS_320009" L11_1 = "GROUP_LOAD_320010" 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 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L6_1 = 320002 L5_1[1] = L6_1 L4_1.gadgets = L5_1 L5_1 = {} L6_1 = 320007 L5_1[1] = L6_1 L4_1.regions = L5_1 L5_1 = {} L6_1 = "GROUP_LOAD_320005" L7_1 = "QUEST_START_320006" L8_1 = "ENTER_REGION_320007" L9_1 = "GROUP_LOAD_320008" L10_1 = "GROUP_LOAD_320010" 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 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L5_1.triggers = L6_1 L5_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 320003 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 < 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ENTER_REGION_320003 = 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 = 320001 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 = 0 return L2_2 end action_EVENT_ENTER_REGION_320003 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 133222320 L6_2 = 320001 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_320004 = 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "Open" L5_2 = 1 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.InitTimeAxis L3_2 = A0_2 L4_2 = "Finish" L5_2 = {} L6_2 = 5 L5_2[1] = L6_2 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_320004 = L1_1 function L1_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 = "Open" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "Quest" 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_GROUP_LOAD_320005 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133222320 L4_2.suite = 2 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_GROUP_LOAD_320005 = L1_1 function L1_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 = "Open" 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_QUEST_START_320006 = 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "Quest" L5_2 = 1 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.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133222320 L4_2.suite = 3 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_QUEST_START_320006 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 320007 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 < 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ENTER_REGION_320007 = 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 = 320002 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 = 0 return L2_2 end action_EVENT_ENTER_REGION_320007 = L1_1 function L1_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 = "Open" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "Quest" 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_GROUP_LOAD_320008 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133222320 L4_2.suite = 3 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_GROUP_LOAD_320008 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_TIME_AXIS_PASS_320009 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133222320 L4_2.suite = 4 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_TIME_AXIS_PASS_320009 = L1_1 function L1_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 = "Open" 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_GROUP_LOAD_320010 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133222320 L4_2.suite = 4 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_GROUP_LOAD_320010 = L1_1