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 = 133220054 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 54001 L2_1.gadget_id = 70350004 L3_1 = {} L3_1.x = -2450.021 L3_1.y = 252.896 L3_1.z = -4473.832 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 271.294 L3_1.y = 123.283 L3_1.z = 345.33 L2_1.rot = L3_1 L2_1.level = 27 L2_1.area_id = 11 L3_1 = {} L3_1.config_id = 54002 L3_1.gadget_id = 70220048 L4_1 = {} L4_1.x = -2450.824 L4_1.y = 253.139 L4_1.z = -4475.734 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 33.17 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 27 L3_1.area_id = 11 L4_1 = {} L4_1.config_id = 54003 L4_1.gadget_id = 70220048 L5_1 = {} L5_1.x = -2452.383 L5_1.y = 253.217 L5_1.z = -4472.482 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 50.211 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 27 L4_1.area_id = 11 L5_1 = {} L5_1.config_id = 54004 L5_1.gadget_id = 70220048 L6_1 = {} L6_1.x = -2450.146 L6_1.y = 253.174 L6_1.z = -4471.456 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 35.218 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 27 L5_1.area_id = 11 L6_1 = {} L6_1.config_id = 54005 L6_1.gadget_id = 70220048 L7_1 = {} L7_1.x = -2452.653 L7_1.y = 253.108 L7_1.z = -4474.676 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 359.449 L7_1.y = 23.852 L7_1.z = 359.813 L6_1.rot = L7_1 L6_1.level = 27 L6_1.area_id = 11 L7_1 = {} L7_1.config_id = 54006 L7_1.gadget_id = 70360170 L8_1 = {} L8_1.x = -2449.681 L8_1.y = 250.04 L8_1.z = -4471.844 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 88.137 L8_1.y = 47.155 L8_1.z = 126.605 L7_1.rot = L8_1 L7_1.level = 27 L7_1.area_id = 11 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 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 54011 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 20 L3_1 = {} L3_1.x = -2471.141 L3_1.y = 244.045 L3_1.z = -4463.658 L2_1.pos = L3_1 L2_1.area_id = 11 L1_1[1] = L2_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1054008 L2_1.name = "SELECT_OPTION_54008" L3_1 = EventType L3_1 = L3_1.EVENT_SELECT_OPTION L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_SELECT_OPTION_54008" L2_1.action = "action_EVENT_SELECT_OPTION_54008" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1054009 L3_1.name = "GROUP_LOAD_54009" L4_1 = EventType L4_1 = L4_1.EVENT_GROUP_LOAD L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GROUP_LOAD_54009" L3_1.action = "action_EVENT_GROUP_LOAD_54009" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1054010 L4_1.name = "QUEST_FINISH_54010" L5_1 = EventType L5_1 = L5_1.EVENT_QUEST_FINISH L4_1.event = L5_1 L4_1.source = "7211311" L4_1.condition = "" L4_1.action = "action_EVENT_QUEST_FINISH_54010" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1054011 L5_1.name = "LEAVE_REGION_54011" L6_1 = EventType L6_1 = L6_1.EVENT_LEAVE_REGION L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "" L5_1.action = "action_EVENT_LEAVE_REGION_54011" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1054012 L6_1.name = "GROUP_LOAD_54012" L7_1 = EventType L7_1 = L7_1.EVENT_GROUP_LOAD L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GROUP_LOAD_54012" L6_1.action = "action_EVENT_GROUP_LOAD_54012" L6_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 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 = "fin" L3_1.value = 0 L3_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 variables = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L3_1.config_id = 1054007 L3_1.name = "GADGET_CREATE_54007" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_CREATE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_CREATE_54007" L3_1.action = "action_EVENT_GADGET_CREATE_54007" L3_1.trigger_count = 0 L2_1[1] = L3_1 L1_1.triggers = L2_1 garbages = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 2 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 54001 L5_1 = 54002 L6_1 = 54003 L7_1 = 54004 L8_1 = 54005 L9_1 = 54006 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.gadgets = L3_1 L3_1 = {} L4_1 = 54011 L3_1[1] = L4_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "SELECT_OPTION_54008" L5_1 = "GROUP_LOAD_54009" L6_1 = "QUEST_FINISH_54010" L7_1 = "LEAVE_REGION_54011" L8_1 = "GROUP_LOAD_54012" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_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 54006 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_54008 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 54006 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 54001 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.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133220054 L5_2 = 54006 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 : del_work_options_by_group_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end 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 = 0 return L2_2 end action_EVENT_SELECT_OPTION_54008 = 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 = "fin" 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_54009 = 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 = 54001 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_GROUP_LOAD_54009 = 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 = "fin" 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 = 0 return L2_2 end action_EVENT_QUEST_FINISH_54010 = 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.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 133220054 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 54001 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 : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_LEAVE_REGION_54011 = 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_GROUP_LOAD_54012 = 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 = 54001 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_GROUP_LOAD_54012 = L1_1