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, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1 L0_1 = {} L0_1.group_id = 220011004 L1_1 = {} L1_1.gadget_id_1 = 97 L1_1.gadget_id_2 = 70 L1_1.gadget_id_3 = 137 L1_1.gadget_id_4 = 138 L1_1.gadget_id_5 = 139 L1_1.gadget_id_6 = 140 L1_1.gadget_id_7 = 4 L1_1.gadget_id_8 = 83 L1_1.gadget_id_9 = 7 L2_1 = {} monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 29 L3_1.gadget_id = 70300016 L4_1 = {} L4_1.x = 533.847 L4_1.y = -1.984 L4_1.z = 254.026 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 181.174 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.persistent = true L4_1 = {} L4_1.config_id = 56 L4_1.gadget_id = 70310001 L5_1 = {} L5_1.x = 522.986 L5_1.y = -2.133 L5_1.z = 251.939 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 = 57 L5_1.gadget_id = 70310001 L6_1 = {} L6_1.x = 543.354 L6_1.y = -2.069 L6_1.z = 252.1 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 270.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L6_1 = {} L6_1.config_id = 58 L6_1.gadget_id = 70310001 L7_1 = {} L7_1.x = 528.495 L7_1.y = -2.061 L7_1.z = 261.877 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 180.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L7_1 = {} L7_1.config_id = 59 L7_1.gadget_id = 70310001 L8_1 = {} L8_1.x = 525.688 L8_1.y = -2.085 L8_1.z = 256.865 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 37.098 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L8_1 = {} L8_1.config_id = 60 L8_1.gadget_id = 70310001 L9_1 = {} L9_1.x = 540.554 L9_1.y = -2.066 L9_1.z = 256.967 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 110.444 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L9_1 = {} L9_1.config_id = 69 L9_1.gadget_id = 70211021 L10_1 = {} L10_1.x = 533.532 L10_1.y = -2.051 L10_1.z = 257.035 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 180.627 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L9_1.chest_drop_id = 11010600 L9_1.drop_count = 1 L9_1.isOneoff = true L10_1 = {} L10_1.config_id = 70 L10_1.gadget_id = 70380001 L11_1 = {} L11_1.x = 531.604 L11_1.y = -22.408 L11_1.z = 141.296 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 0.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L10_1.route_id = 6 L10_1.start_route = false L11_1 = {} L11_1.config_id = 81 L11_1.gadget_id = 70310001 L12_1 = {} L12_1.x = 537.904 L12_1.y = -2.046 L12_1.z = 261.743 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 247.823 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L12_1 = {} L12_1.config_id = 82 L12_1.gadget_id = 70380001 L13_1 = {} L13_1.x = 520.953 L13_1.y = -25.99 L13_1.z = 121.329 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 L12_1.route_id = 7 L13_1 = {} L13_1.config_id = 83 L13_1.gadget_id = 70360002 L14_1 = {} L14_1.x = 532.819 L14_1.y = -24.889 L14_1.z = 123.122 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 270.679 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 1 L14_1 = {} L14_1.config_id = 84 L14_1.gadget_id = 70900205 L15_1 = {} L15_1.x = 531.371 L15_1.y = -24.819 L15_1.z = 121.518 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 = 85 L15_1.gadget_id = 70900205 L16_1 = {} L16_1.x = 531.472 L16_1.y = -9.345 L16_1.z = 158.632 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 = 86 L16_1.gadget_id = 70380001 L17_1 = {} L17_1.x = 531.644 L17_1.y = -10.726 L17_1.z = 163.823 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 L16_1.route_id = 8 L17_1 = {} L17_1.config_id = 97 L17_1.gadget_id = 70900202 L18_1 = {} L18_1.x = 531.416 L18_1.y = -8.752 L18_1.z = 158.659 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 0.0 L18_1.y = 103.806 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 1 L18_1 = {} L18_1.config_id = 98 L18_1.gadget_id = 70900202 L19_1 = {} L19_1.x = 532.576 L19_1.y = -1.08 L19_1.z = 221.851 L18_1.pos = L19_1 L19_1 = {} L19_1.x = 0.0 L19_1.y = 277.205 L19_1.z = 0.0 L18_1.rot = L19_1 L18_1.level = 1 L19_1 = {} L19_1.config_id = 137 L19_1.gadget_id = 70380001 L20_1 = {} L20_1.x = 545.317 L20_1.y = -25.822 L20_1.z = 131.972 L19_1.pos = L20_1 L20_1 = {} L20_1.x = 0.0 L20_1.y = 0.0 L20_1.z = 0.0 L19_1.rot = L20_1 L19_1.level = 1 L19_1.route_id = 20011012 L19_1.start_route = false L20_1 = {} L20_1.config_id = 138 L20_1.gadget_id = 70380001 L21_1 = {} L21_1.x = 540.062 L21_1.y = -25.787 L21_1.z = 131.692 L20_1.pos = L21_1 L21_1 = {} L21_1.x = 0.0 L21_1.y = 0.0 L21_1.z = 0.0 L20_1.rot = L21_1 L20_1.level = 1 L20_1.route_id = 20011011 L20_1.start_route = false L21_1 = {} L21_1.config_id = 139 L21_1.gadget_id = 70380001 L22_1 = {} L22_1.x = 531.673 L22_1.y = -18.917 L22_1.z = 136.523 L21_1.pos = L22_1 L22_1 = {} L22_1.x = 0.0 L22_1.y = 0.0 L22_1.z = 0.0 L21_1.rot = L22_1 L21_1.level = 1 L21_1.route_id = 20011010 L21_1.start_route = false L22_1 = {} L22_1.config_id = 140 L22_1.gadget_id = 70380001 L23_1 = {} L23_1.x = 520.582 L23_1.y = -25.972 L23_1.z = 151.526 L22_1.pos = L23_1 L23_1 = {} L23_1.x = 0.0 L23_1.y = 0.0 L23_1.z = 0.0 L22_1.rot = L23_1 L22_1.level = 1 L22_1.route_id = 20011009 L22_1.start_route = false L23_1 = {} L23_1.config_id = 141 L23_1.gadget_id = 70900205 L24_1 = {} L24_1.x = 531.747 L24_1.y = -25.927 L24_1.z = 151.336 L23_1.pos = L24_1 L24_1 = {} L24_1.x = 0.0 L24_1.y = 0.0 L24_1.z = 0.0 L23_1.rot = L24_1 L23_1.level = 1 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 L2_1[7] = L9_1 L2_1[8] = L10_1 L2_1[9] = L11_1 L2_1[10] = L12_1 L2_1[11] = L13_1 L2_1[12] = L14_1 L2_1[13] = L15_1 L2_1[14] = L16_1 L2_1[15] = L17_1 L2_1[16] = L18_1 L2_1[17] = L19_1 L2_1[18] = L20_1 L2_1[19] = L21_1 L2_1[20] = L22_1 L2_1[21] = L23_1 gadgets = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 38 L4_1 = RegionShape L4_1 = L4_1.CUBIC L3_1.shape = L4_1 L4_1 = {} L4_1.x = 40.0 L4_1.y = 5.0 L4_1.z = 10.0 L3_1.size = L4_1 L4_1 = {} L4_1.x = 533.597 L4_1.y = -2.137 L4_1.z = 238.024 L3_1.pos = L4_1 L4_1 = {} L4_1.config_id = 53 L5_1 = RegionShape L5_1 = L5_1.SPHERE L4_1.shape = L5_1 L4_1.radius = 5 L5_1 = {} L5_1.x = 531.109 L5_1.y = -9.328 L5_1.z = 158.314 L4_1.pos = L5_1 L5_1 = {} L5_1.config_id = 54 L6_1 = RegionShape L6_1 = L6_1.SPHERE L5_1.shape = L6_1 L5_1.radius = 5 L6_1 = {} L6_1.x = 532.769 L6_1.y = -2.051 L6_1.z = 223.711 L5_1.pos = L6_1 L6_1 = {} L6_1.config_id = 63 L7_1 = RegionShape L7_1 = L7_1.CUBIC L6_1.shape = L7_1 L7_1 = {} L7_1.x = 5.0 L7_1.y = 5.0 L7_1.z = 3.0 L6_1.size = L7_1 L7_1 = {} L7_1.x = 531.533 L7_1.y = -23.574 L7_1.z = 151.641 L6_1.pos = L7_1 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1000038 L3_1.name = "ENTER_REGION_38" L4_1 = EventType L4_1 = L4_1.EVENT_ENTER_REGION L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_ENTER_REGION_38" L3_1.action = "action_EVENT_ENTER_REGION_38" L3_1.forbid_guest = false L4_1 = {} L4_1.config_id = 1000043 L4_1.name = "DUNGEON_SETTLE_43" L5_1 = EventType L5_1 = L5_1.EVENT_DUNGEON_SETTLE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_DUNGEON_SETTLE_43" L4_1.action = "action_EVENT_DUNGEON_SETTLE_43" L5_1 = {} L5_1.config_id = 1000047 L5_1.name = "GADGET_CREATE_47" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_CREATE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_CREATE_47" L5_1.action = "action_EVENT_GADGET_CREATE_47" L6_1 = {} L6_1.config_id = 1000048 L6_1.name = "SELECT_OPTION_48" L7_1 = EventType L7_1 = L7_1.EVENT_SELECT_OPTION L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_SELECT_OPTION_48" L6_1.action = "action_EVENT_SELECT_OPTION_48" L6_1.forbid_guest = false L7_1 = {} L7_1.config_id = 1000053 L7_1.name = "ENTER_REGION_53" 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_53" L7_1.action = "action_EVENT_ENTER_REGION_53" L7_1.forbid_guest = false L8_1 = {} L8_1.config_id = 1000054 L8_1.name = "ENTER_REGION_54" L9_1 = EventType L9_1 = L9_1.EVENT_ENTER_REGION L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_ENTER_REGION_54" L8_1.action = "action_EVENT_ENTER_REGION_54" L8_1.forbid_guest = false L9_1 = {} L9_1.config_id = 1000063 L9_1.name = "ENTER_REGION_63" L10_1 = EventType L10_1 = L10_1.EVENT_ENTER_REGION L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_ENTER_REGION_63" L9_1.action = "action_EVENT_ENTER_REGION_63" L9_1.forbid_guest = false L10_1 = {} L10_1.config_id = 1004001 L10_1.name = "ANY_GADGET_DIE_4001" L11_1 = EventType L11_1 = L11_1.EVENT_ANY_GADGET_DIE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_ANY_GADGET_DIE_4001" L10_1.action = "action_EVENT_ANY_GADGET_DIE_4001" L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 L2_1[7] = L9_1 L2_1[8] = L10_1 triggers = L2_1 L2_1 = {} variables = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 0 L2_1.rand_suite = true init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 29 L6_1 = 56 L7_1 = 57 L8_1 = 58 L9_1 = 59 L10_1 = 60 L11_1 = 70 L12_1 = 81 L13_1 = 82 L14_1 = 83 L15_1 = 84 L16_1 = 85 L17_1 = 86 L18_1 = 137 L19_1 = 138 L20_1 = 139 L21_1 = 140 L22_1 = 141 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 L4_1[8] = L12_1 L4_1[9] = L13_1 L4_1[10] = L14_1 L4_1[11] = L15_1 L4_1[12] = L16_1 L4_1[13] = L17_1 L4_1[14] = L18_1 L4_1[15] = L19_1 L4_1[16] = L20_1 L4_1[17] = L21_1 L4_1[18] = L22_1 L3_1.gadgets = L4_1 L4_1 = {} L5_1 = 38 L6_1 = 53 L7_1 = 54 L8_1 = 63 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.regions = L4_1 L4_1 = {} L5_1 = "ENTER_REGION_38" L6_1 = "DUNGEON_SETTLE_43" L7_1 = "GADGET_CREATE_47" L8_1 = "SELECT_OPTION_48" L9_1 = "ENTER_REGION_53" L10_1 = "ENTER_REGION_54" L11_1 = "ENTER_REGION_63" L12_1 = "ANY_GADGET_DIE_4001" 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 L4_1[8] = L12_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L2_1[1] = L3_1 suites = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 38 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_38 = L2_1 function L2_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 = 56 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 = 57 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 = 58 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 = 59 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 = 60 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 = 81 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.ShowReminder L3_2 = A0_2 L4_2 = 1041112 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_38 = L2_1 function L2_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_DUNGEON_SETTLE_43 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 69 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 : dungeon_settle" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_DUNGEON_SETTLE_43 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 83 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_47 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptions L3_2 = A0_2 L4_2 = {} L5_2 = 7 L4_2[1] = 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 : set_work_options" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_CREATE_47 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 83 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_48 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = L1_1.gadget_id_9 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = L1_1.gadget_id_2 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = L1_1.gadget_id_3 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = L1_1.gadget_id_4 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = L1_1.gadget_id_5 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = L1_1.gadget_id_6 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 220011004 L5_2 = L1_1.gadget_id_8 L6_2 = 7 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.UnlockForce L3_2 = A0_2 L4_2 = L1_1.gadget_id_7 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.KillGroupEntity L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220011003 L5_2 = {} L4_2.monsters = L5_2 L5_2 = {} L6_2 = 3020 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 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L5_2 = L1_1.gadget_id_1 L4_2.config_id = L5_2 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = L1_1.gadget_id_8 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 = -1 return L2_2 end L2_2 = 0 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 3020 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_48 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 53 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_53 = L2_1 function L2_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 = 220011004 L5_2 = {} L4_2.monsters = L5_2 L5_2 = {} L6_2 = 97 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 = 98 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 : dungeon_settle" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 1041026 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_53 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 54 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_54 = L2_1 function L2_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 = 220011004 L5_2 = {} L4_2.monsters = L5_2 L5_2 = {} L6_2 = 98 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 = 0 return L2_2 end action_EVENT_ENTER_REGION_54 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 63 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_63 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 141 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 : start_platform" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_63 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 29 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_4001 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ShowClientGuide L3_2 = A0_2 L4_2 = "GuideGoddessMapUnlock" 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 : show_client_guide" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 220011007 L5_2 = 7 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_4001 = L2_1