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, L17_1 L0_1 = {} L0_1.group_id = 220103001 L1_1 = {} L2_1 = {} L2_1.config_id = 1008 L2_1.monster_id = 21010101 L3_1 = {} L3_1.x = -53.208 L3_1.y = -8.094 L3_1.z = 100.026 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 L2_1.disableWander = true L2_1.pose_id = 9015 L1_1[1] = L2_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1001 L2_1.gadget_id = 70360002 L3_1 = {} L3_1.x = -30.792 L3_1.y = -7.983 L3_1.z = 94.561 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 90.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L3_1 = {} L3_1.config_id = 1002 L3_1.gadget_id = 70900202 L4_1 = {} L4_1.x = -30.792 L4_1.y = -6.61 L4_1.z = 94.561 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 90.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = {} L4_1.config_id = 1003 L4_1.gadget_id = 70350003 L5_1 = {} L5_1.x = -34.772 L5_1.y = -8.103 L5_1.z = 97.992 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 90.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = {} L5_1.config_id = 1006 L5_1.gadget_id = 70220007 L6_1 = {} L6_1.x = -55.082 L6_1.y = -8.14 L6_1.z = 100.382 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 90.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L6_1 = {} L6_1.config_id = 1007 L6_1.gadget_id = 70211111 L7_1 = {} L7_1.x = -57.298 L7_1.y = -8.095 L7_1.z = 100.219 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 65.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 6 L6_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\232\146\153\229\190\183" L6_1.isOneoff = true L6_1.persistent = true L7_1 = {} L7_1.config_id = 1009 L7_1.gadget_id = 70220013 L8_1 = {} L8_1.x = -49.207 L8_1.y = -7.984 L8_1.z = 85.149 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 35.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L8_1 = {} L8_1.config_id = 1010 L8_1.gadget_id = 70220013 L9_1 = {} L9_1.x = -51.316 L9_1.y = -7.984 L9_1.z = 85.224 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 0.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L9_1 = {} L9_1.config_id = 1012 L9_1.gadget_id = 70220026 L10_1 = {} L10_1.x = -47.174 L10_1.y = -7.984 L10_1.z = 85.062 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 165.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L10_1 = {} L10_1.config_id = 1013 L10_1.gadget_id = 70220025 L11_1 = {} L11_1.x = -42.021 L11_1.y = -7.938 L11_1.z = 91.364 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 90.0 L11_1.y = 0.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L11_1 = {} L11_1.config_id = 1014 L11_1.gadget_id = 70220025 L12_1 = {} L12_1.x = -43.319 L12_1.y = -7.923 L12_1.z = 90.052 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 90.0 L12_1.y = 0.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L12_1 = {} L12_1.config_id = 1015 L12_1.gadget_id = 70900205 L13_1 = {} L13_1.x = -62.503 L13_1.y = -28.519 L13_1.z = 114.537 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 0.0 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 1 L13_1 = {} L13_1.config_id = 1016 L13_1.gadget_id = 70220005 L14_1 = {} L14_1.x = -53.627 L14_1.y = -7.983 L14_1.z = 104.693 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 = 1 L14_1 = {} L14_1.config_id = 1017 L14_1.gadget_id = 70220005 L15_1 = {} L15_1.x = -52.878 L15_1.y = -7.984 L15_1.z = 105.549 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 0.0 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 1 L15_1 = {} L15_1.config_id = 1019 L15_1.gadget_id = 70900201 L16_1 = {} L16_1.x = -61.989 L16_1.y = -6.169 L16_1.z = 90.201 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 0.0 L16_1.y = 0.0 L16_1.z = 0.0 L15_1.rot = L16_1 L15_1.level = 1 L16_1 = {} L16_1.config_id = 1021 L16_1.gadget_id = 70900201 L17_1 = {} L17_1.x = -77.826 L17_1.y = -7.083 L17_1.z = 102.12 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 0.0 L17_1.y = 0.0 L17_1.z = 0.0 L16_1.rot = L17_1 L16_1.level = 1 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 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 L1_1[12] = L13_1 L1_1[13] = L14_1 L1_1[14] = L15_1 L1_1[15] = L16_1 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1018 L3_1 = RegionShape L3_1 = L3_1.CUBIC L2_1.shape = L3_1 L3_1 = {} L3_1.x = 10.0 L3_1.y = 20.0 L3_1.z = 20.0 L2_1.size = L3_1 L3_1 = {} L3_1.x = -29.063 L3_1.y = -4.557 L3_1.z = 98.9 L2_1.pos = L3_1 L3_1 = {} L3_1.config_id = 1020 L4_1 = RegionShape L4_1 = L4_1.CUBIC L3_1.shape = L4_1 L4_1 = {} L4_1.x = 5.0 L4_1.y = 20.0 L4_1.z = 30.0 L3_1.size = L4_1 L4_1 = {} L4_1.x = -63.554 L4_1.y = -6.705 L4_1.z = 97.164 L3_1.pos = L4_1 L1_1[1] = L2_1 L1_1[2] = L3_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1001004 L2_1.name = "GADGET_CREATE_1004" L3_1 = EventType L3_1 = L3_1.EVENT_GADGET_CREATE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GADGET_CREATE_1004" L2_1.action = "action_EVENT_GADGET_CREATE_1004" L3_1 = {} L3_1.config_id = 1001005 L3_1.name = "SELECT_OPTION_1005" L4_1 = EventType L4_1 = L4_1.EVENT_SELECT_OPTION L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_SELECT_OPTION_1005" L3_1.action = "action_EVENT_SELECT_OPTION_1005" L4_1 = {} L4_1.config_id = 1001018 L4_1.name = "ENTER_REGION_1018" L5_1 = EventType L5_1 = L5_1.EVENT_ENTER_REGION L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_ENTER_REGION_1018" L4_1.action = "action_EVENT_ENTER_REGION_1018" L5_1 = {} L5_1.config_id = 1001020 L5_1.name = "ENTER_REGION_1020" L6_1 = EventType L6_1 = L6_1.EVENT_ENTER_REGION L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_ENTER_REGION_1020" L5_1.action = "action_EVENT_ENTER_REGION_1020" L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_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 = {} L4_1 = 1008 L3_1[1] = L4_1 L2_1.monsters = L3_1 L3_1 = {} L4_1 = 1001 L5_1 = 1002 L6_1 = 1003 L7_1 = 1006 L8_1 = 1007 L9_1 = 1009 L10_1 = 1010 L11_1 = 1012 L12_1 = 1013 L13_1 = 1014 L14_1 = 1015 L15_1 = 1016 L16_1 = 1017 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 L3_1[8] = L11_1 L3_1[9] = L12_1 L3_1[10] = L13_1 L3_1[11] = L14_1 L3_1[12] = L15_1 L3_1[13] = L16_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 1018 L3_1[1] = L4_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_CREATE_1004" L5_1 = "SELECT_OPTION_1005" L6_1 = "ENTER_REGION_1018" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 1015 L6_1 = 1019 L4_1[1] = L5_1 L4_1[2] = L6_1 L3_1.gadgets = L4_1 L4_1 = {} L5_1 = 1020 L4_1[1] = L5_1 L3_1.regions = L4_1 L4_1 = {} L5_1 = "ENTER_REGION_1020" L4_1[1] = L5_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 1001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_1004 = 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 = 220103001 L5_2 = 1001 L6_2 = {} L7_2 = 1 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_GADGET_CREATE_1004 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 1001 ~= 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_1005 = 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 = 220103001 L5_2 = 1003 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 = 220103001 L5_2 = 1001 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.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 220103001 L5_2 = 1001 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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220103001 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 220103001 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 1002 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_SELECT_OPTION_1005 = 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 ~= 1018 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_1018 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 201030101 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 : active_reminder_ui" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_1018 = 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 ~= 1020 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_1020 = 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.KillGroupEntity L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220103001 L5_2 = {} L4_2.monsters = L5_2 L5_2 = {} L6_2 = 1019 L5_2[1] = L6_2 L4_2.gadgets = L5_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 : kill_monsters_and_gadgets_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 1021 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 : create_gadget" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220103002 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_1020 = L1_1