local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1 L0_1 = {} L0_1.group_id = 220118005 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 5001 L2_1.gadget_id = 70290140 L3_1 = {} L3_1.x = 25.572 L3_1.y = 77.038 L3_1.z = -81.017 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 270.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L3_1 = {} L3_1.config_id = 5014 L3_1.gadget_id = 70360288 L4_1 = {} L4_1.x = 13.308 L4_1.y = 76.994 L4_1.z = -69.461 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 270.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = {} L4_1.config_id = 5015 L4_1.gadget_id = 70360170 L5_1 = {} L5_1.x = 13.698 L5_1.y = 72.666 L5_1.z = -76.416 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 90.0 L5_1.y = 358.138 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 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 5016 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 20 L3_1 = {} L3_1.x = 9.16 L3_1.y = 71.415 L3_1.z = -70.076 L2_1.pos = L3_1 L1_1[1] = L2_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1005008 L2_1.name = "TIMER_EVENT_5008" L3_1 = EventType L3_1 = L3_1.EVENT_TIMER_EVENT L2_1.event = L3_1 L2_1.source = "time1" L2_1.condition = "" L2_1.action = "" L3_1 = {} L3_1.config_id = 1005009 L3_1.name = "GADGET_STATE_CHANGE_5009" 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_5009" L3_1.action = "" L4_1 = {} L4_1.config_id = 1005010 L4_1.name = "GADGET_STATE_CHANGE_5010" L5_1 = EventType L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_5010" L4_1.action = "" L5_1 = {} L5_1.config_id = 1005011 L5_1.name = "GADGET_STATE_CHANGE_5011" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_5011" L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_5011" L6_1 = {} L6_1.config_id = 1005012 L6_1.name = "SELECT_OPTION_5012" L7_1 = EventType L7_1 = L7_1.EVENT_SELECT_OPTION L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "" L6_1.action = "" L7_1 = {} L7_1.config_id = 1005016 L7_1.name = "ENTER_REGION_5016" L8_1 = EventType L8_1 = L8_1.EVENT_ENTER_REGION L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_ENTER_REGION_5016" L7_1.action = "action_EVENT_ENTER_REGION_5016" L8_1 = {} L8_1.config_id = 1005017 L8_1.name = "SELECT_OPTION_5017" L9_1 = EventType L9_1 = L9_1.EVENT_SELECT_OPTION L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_SELECT_OPTION_5017" L8_1.action = "action_EVENT_SELECT_OPTION_5017" 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 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 = 5001 L5_1 = 5014 L6_1 = 5015 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 5016 L3_1[1] = L4_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "TIMER_EVENT_5008" L5_1 = "GADGET_STATE_CHANGE_5009" L6_1 = "GADGET_STATE_CHANGE_5010" L7_1 = "GADGET_STATE_CHANGE_5011" L8_1 = "SELECT_OPTION_5012" L9_1 = "ENTER_REGION_5016" L10_1 = "SELECT_OPTION_5017" 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 L3_1[7] = L10_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L1_1[1] = L2_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 5001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_5009 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 5001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStop L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_5010 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 5001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearAction1 L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.GearStop L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_5011 = 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.CreateGroupTimerEvent L3_2 = A0_2 L4_2 = 220118005 L5_2 = "time1" L6_2 = 1.5 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 : create_timerevent_by_group" 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_5011 = 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 ~= 5016 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 = true return L2_2 end condition_EVENT_ENTER_REGION_5016 = 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 = 220118005 L5_2 = 5015 L6_2 = {} L7_2 = 24 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_ENTER_REGION_5016 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 5015 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 24 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_5017 = 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.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 220118005 L5_2 = 5014 L6_2 = GadgetState L6_2 = L6_2.GearStart 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_gadget_state_by_GroupId_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 = 220118005 L5_2 = 5015 L6_2 = 24 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.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 220118005 L5_2 = 5015 L6_2 = GadgetState L6_2 = L6_2.GearStart 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_gadget_state_by_GroupId_ConfigId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_5017 = L1_1