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 = 220032005 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 5001 L2_1.gadget_id = 70380001 L3_1 = {} L3_1.x = 497.706 L3_1.y = -24.608 L3_1.z = 67.598 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 0.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.route_id = 1 L3_1 = {} L3_1.config_id = 5002 L3_1.gadget_id = 70360002 L4_1 = {} L4_1.x = 473.428 L4_1.y = -20.023 L4_1.z = 59.518 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 92.208 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = {} L4_1.config_id = 5006 L4_1.gadget_id = 70900202 L5_1 = {} L5_1.x = 473.438 L5_1.y = -18.465 L5_1.z = 59.584 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 0.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = {} L5_1.config_id = 5007 L5_1.gadget_id = 70900201 L6_1 = {} L6_1.x = 493.052 L6_1.y = -18.3 L6_1.z = 67.548 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 0.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L6_1 = {} L6_1.config_id = 5009 L6_1.gadget_id = 70211101 L7_1 = {} L7_1.x = 494.447 L7_1.y = -20.051 L7_1.z = 55.595 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 296.939 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\189\142\231\186\167\232\146\153\229\190\183" L6_1.isOneoff = true L7_1 = {} L7_1.config_id = 5010 L7_1.gadget_id = 70220013 L8_1 = {} L8_1.x = 494.982 L8_1.y = -20.034 L8_1.z = 78.211 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.294 L8_1.y = 323.511 L8_1.z = 0.004 L7_1.rot = L8_1 L7_1.level = 1 L8_1 = {} L8_1.config_id = 5011 L8_1.gadget_id = 70220013 L9_1 = {} L9_1.x = 495.071 L9_1.y = -20.033 L9_1.z = 75.455 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 9.917 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L9_1 = {} L9_1.config_id = 5012 L9_1.gadget_id = 70220026 L10_1 = {} L10_1.x = 493.493 L10_1.y = -20.033 L10_1.z = 76.978 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 18.724 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L10_1 = {} L10_1.config_id = 5013 L10_1.gadget_id = 70220013 L11_1 = {} L11_1.x = 427.391 L11_1.y = -22.084 L11_1.z = 79.171 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 332.878 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L11_1 = {} L11_1.config_id = 5014 L11_1.gadget_id = 70220013 L12_1 = {} L12_1.x = 429.435 L12_1.y = -22.084 L12_1.z = 78.721 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.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 = 5015 L12_1.gadget_id = 70220014 L13_1 = {} L13_1.x = 431.639 L13_1.y = -22.084 L13_1.z = 78.223 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 = 5019 L13_1.gadget_id = 70220026 L14_1 = {} L14_1.x = 426.025 L14_1.y = -22.083 L14_1.z = 56.373 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 = 5020 L14_1.gadget_id = 70220014 L15_1 = {} L15_1.x = 427.607 L15_1.y = -22.084 L15_1.z = 52.576 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 = 5021 L15_1.gadget_id = 70220014 L16_1 = {} L16_1.x = 428.231 L16_1.y = -21.762 L16_1.z = 51.801 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 308.254 L16_1.y = 301.833 L16_1.z = 94.68 L15_1.rot = L16_1 L15_1.level = 1 L16_1 = {} L16_1.config_id = 5023 L16_1.gadget_id = 70220025 L17_1 = {} L17_1.x = 427.25 L17_1.y = -21.971 L17_1.z = 54.792 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 271.276 L17_1.y = 284.403 L17_1.z = 255.601 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 = 5005 L3_1 = RegionShape L3_1 = L3_1.CUBIC L2_1.shape = L3_1 L3_1 = {} L3_1.x = 2.0 L3_1.y = 10.0 L3_1.z = 40.0 L2_1.size = L3_1 L3_1 = {} L3_1.x = 511.421 L3_1.y = -37.381 L3_1.z = 70.728 L2_1.pos = L3_1 L3_1 = {} L3_1.config_id = 5008 L4_1 = RegionShape L4_1 = L4_1.CUBIC L3_1.shape = L4_1 L4_1 = {} L4_1.x = 5.0 L4_1.y = 10.0 L4_1.z = 10.0 L3_1.size = L4_1 L4_1 = {} L4_1.x = 491.777 L4_1.y = -15.472 L4_1.z = 67.633 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 = 1005003 L2_1.name = "GADGET_CREATE_5003" 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_5003" L2_1.action = "action_EVENT_GADGET_CREATE_5003" L3_1 = {} L3_1.config_id = 1005004 L3_1.name = "SELECT_OPTION_5004" 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_5004" L3_1.action = "action_EVENT_SELECT_OPTION_5004" L4_1 = {} L4_1.config_id = 1005005 L4_1.name = "ENTER_REGION_5005" 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_5005" L4_1.action = "action_EVENT_ENTER_REGION_5005" L5_1 = {} L5_1.config_id = 1005008 L5_1.name = "ENTER_REGION_5008" 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_5008" L5_1.action = "action_EVENT_ENTER_REGION_5008" 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 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 5001 L5_1 = 5002 L6_1 = 5007 L7_1 = 5009 L8_1 = 5010 L9_1 = 5011 L10_1 = 5012 L11_1 = 5013 L12_1 = 5014 L13_1 = 5015 L14_1 = 5019 L15_1 = 5020 L16_1 = 5021 L17_1 = 5023 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 L3_1[14] = L17_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 5005 L5_1 = 5008 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_CREATE_5003" L5_1 = "SELECT_OPTION_5004" L6_1 = "ENTER_REGION_5005" L7_1 = "ENTER_REGION_5008" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_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 L2_2 = A1_2.param1 if 5002 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_5003 = 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.SetWorktopOptions L3_2 = A0_2 L4_2 = {} L5_2 = 1 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_5003 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 5002 ~= 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_5004 = 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 = 220032001 L5_2 = 1004 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 5002 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 = 220032005 L5_2 = 5002 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.KillGroupEntity L3_2 = A0_2 L4_2 = {} L4_2.group_id = 220032005 L5_2 = {} L4_2.monsters = L5_2 L5_2 = {} L6_2 = 5006 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_SELECT_OPTION_5004 = 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 ~= 5005 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_5005 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = {} L2_2.x = 498 L2_2.y = -28 L2_2.z = 68 L3_2 = {} L3_2.x = 0 L3_2.y = 0 L3_2.z = 0 L4_2 = ScriptLib L4_2 = L4_2.BeginCameraSceneLook L5_2 = A0_2 L6_2 = {} L6_2.look_pos = L2_2 L6_2.is_allow_input = false L6_2.duration = 4 L6_2.is_force = true L6_2.is_broadcast = false L6_2.is_recover_keep_current = true L6_2.delay = 0 L6_2.is_set_follow_pos = false L6_2.follow_pos = L3_2 L6_2.is_force_walk = false L6_2.is_change_play_mode = false L6_2.is_set_screen_XY = false L6_2.screen_x = 0 L6_2.screen_y = 0 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.AddQuestProgress L5_2 = A0_2 L6_2 = "200325005" L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : add_quest_progress" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = ScriptLib L4_2 = L4_2.ShowReminder L5_2 = A0_2 L6_2 = 200320101 L4_2 = L4_2(L5_2, L6_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : active_reminder_ui" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_ENTER_REGION_5005 = 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 ~= 5008 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_5008 = 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 = 220032005 L5_2 = {} L4_2.monsters = L5_2 L5_2 = {} L6_2 = 5007 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 = 5006 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 = 0 return L2_2 end action_EVENT_ENTER_REGION_5008 = L1_1