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 L0_1 = {} L0_1.group_id = 220023014 L1_1 = {} L2_1 = {} L2_1.config_id = 14011 L2_1.monster_id = 21010301 L3_1 = {} L3_1.x = 293.459 L3_1.y = 42.056 L3_1.z = 23.988 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 131.55 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L3_1 = {} L3_1.config_id = 14012 L3_1.monster_id = 21010301 L4_1 = {} L4_1.x = 290.513 L4_1.y = 42.381 L4_1.z = -18.466 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 63.814 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = {} L4_1.config_id = 14013 L4_1.monster_id = 21010301 L5_1 = {} L5_1.x = 293.531 L5_1.y = 42.942 L5_1.z = -21.719 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 32.365 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = {} L5_1.config_id = 14014 L5_1.monster_id = 21010301 L6_1 = {} L6_1.x = 293.156 L6_1.y = 42.056 L6_1.z = 25.762 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 131.55 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L6_1 = {} L6_1.config_id = 14015 L6_1.monster_id = 23020101 L7_1 = {} L7_1.x = 294.145 L7_1.y = 42.189 L7_1.z = 4.004 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 267.628 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L7_1 = {} L8_1 = 1008 L9_1 = 1018 L7_1[1] = L8_1 L7_1[2] = L9_1 L6_1.affix = L7_1 L6_1.special_name_id = 10010 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 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 14004 L2_1.gadget_id = 70220014 L3_1 = {} L3_1.x = 265.63 L3_1.y = 42.057 L3_1.z = -23.196 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 L3_1 = {} L3_1.config_id = 14005 L3_1.gadget_id = 70220014 L4_1 = {} L4_1.x = 266.544 L4_1.y = 42.056 L4_1.z = -27.198 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 0.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = {} L4_1.config_id = 14006 L4_1.gadget_id = 70211001 L5_1 = {} L5_1.x = 265.842 L5_1.y = 42.057 L5_1.z = -25.024 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 90.951 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 6 L4_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\232\146\153\229\190\183" L4_1.isOneoff = true L5_1 = {} L5_1.config_id = 14007 L5_1.gadget_id = 70220013 L6_1 = {} L6_1.x = 266.99 L6_1.y = 42.056 L6_1.z = -22.604 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 = 14008 L6_1.gadget_id = 70220013 L7_1 = {} L7_1.x = 268.824 L7_1.y = 42.056 L7_1.z = -22.555 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L7_1 = {} L7_1.config_id = 14016 L7_1.gadget_id = 70350004 L8_1 = {} L8_1.x = 265.297 L8_1.y = 41.922 L8_1.z = 3.94 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 90.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L8_1 = GadgetState L8_1 = L8_1.GearStart L7_1.state = L8_1 L8_1 = {} L8_1.config_id = 14017 L8_1.gadget_id = 70350004 L9_1 = {} L9_1.x = 296.192 L9_1.y = 42.33 L9_1.z = 4.029 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 90.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L9_1 = GadgetState L9_1 = L9_1.GearStart L8_1.state = L9_1 L9_1 = {} L9_1.config_id = 14018 L9_1.gadget_id = 70350004 L10_1 = {} L10_1.x = 301.766 L10_1.y = 42.336 L10_1.z = 3.999 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 90.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L10_1 = GadgetState L10_1 = L10_1.GearStart L9_1.state = L10_1 L10_1 = {} L10_1.config_id = 14019 L10_1.gadget_id = 70350004 L11_1 = {} L11_1.x = 298.931 L11_1.y = 42.284 L11_1.z = 7.062 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 L11_1 = GadgetState L11_1 = L11_1.GearStart L10_1.state = L11_1 L11_1 = {} L11_1.config_id = 14020 L11_1.gadget_id = 70350004 L12_1 = {} L12_1.x = 299.116 L12_1.y = 42.3 L12_1.z = 0.903 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 = GadgetState L12_1 = L12_1.GearStart L11_1.state = L12_1 L12_1 = {} L12_1.config_id = 14021 L12_1.gadget_id = 70350004 L13_1 = {} L13_1.x = 281.908 L13_1.y = 42.251 L13_1.z = 21.819 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 = 14022 L13_1.gadget_id = 70350004 L14_1 = {} L14_1.x = 294.14 L14_1.y = 42.229 L14_1.z = 21.627 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 = 14023 L14_1.gadget_id = 70350004 L15_1 = {} L15_1.x = 306.536 L15_1.y = 40.187 L15_1.z = 21.464 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 = 14024 L15_1.gadget_id = 70350004 L16_1 = {} L16_1.x = 306.539 L16_1.y = 40.118 L16_1.z = -13.798 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 = 14025 L16_1.gadget_id = 70350004 L17_1 = {} L17_1.x = 294.34 L17_1.y = 42.223 L17_1.z = -13.835 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 L17_1 = {} L17_1.config_id = 14026 L17_1.gadget_id = 70350004 L18_1 = {} L18_1.x = 281.869 L18_1.y = 42.343 L18_1.z = -13.731 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 0.0 L18_1.y = 0.0 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 1 L18_1 = {} L18_1.config_id = 14027 L18_1.gadget_id = 70220014 L19_1 = {} L19_1.x = 265.6 L19_1.y = 42.057 L19_1.z = -26.501 L18_1.pos = L19_1 L19_1 = {} L19_1.x = 0.0 L19_1.y = 0.0 L19_1.z = 0.0 L18_1.rot = L19_1 L18_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 L1_1[16] = L17_1 L1_1[17] = L18_1 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 16 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 3.1 L3_1 = {} L3_1.x = 261.489 L3_1.y = 40.439 L3_1.z = 4.002 L2_1.pos = L3_1 L3_1 = {} L3_1.config_id = 17 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 21.2 L4_1 = {} L4_1.x = 290.626 L4_1.y = 42.06 L4_1.z = 3.45 L3_1.pos = L4_1 L4_1 = {} L4_1.config_id = 56 L5_1 = RegionShape L5_1 = L5_1.SPHERE L4_1.shape = L5_1 L4_1.radius = 3.1 L5_1 = {} L5_1.x = 258.564 L5_1.y = 21.766 L5_1.z = 3.696 L4_1.pos = L5_1 L5_1 = {} L5_1.config_id = 14001 L6_1 = RegionShape L6_1 = L6_1.SPHERE L5_1.shape = L6_1 L5_1.radius = 2.1 L6_1 = {} L6_1.x = 298.95 L6_1.y = 44.215 L6_1.z = 4.117 L5_1.pos = L6_1 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1000016 L2_1.name = "ENTER_REGION_16" L3_1 = EventType L3_1 = L3_1.EVENT_ENTER_REGION L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_ENTER_REGION_16" L2_1.action = "action_EVENT_ENTER_REGION_16" L2_1.trigger_count = 0 L2_1.forbid_guest = false L3_1 = {} L3_1.config_id = 1000017 L3_1.name = "ENTER_REGION_17" 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_17" L3_1.action = "action_EVENT_ENTER_REGION_17" L3_1.forbid_guest = false L4_1 = {} L4_1.config_id = 1000019 L4_1.name = "ANY_MONSTER_DIE_19" L5_1 = EventType L5_1 = L5_1.EVENT_ANY_MONSTER_DIE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_19" L4_1.action = "action_EVENT_ANY_MONSTER_DIE_19" L5_1 = {} L5_1.config_id = 1000056 L5_1.name = "ENTER_REGION_56" 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_56" L5_1.action = "action_EVENT_ENTER_REGION_56" L5_1.trigger_count = 0 L5_1.forbid_guest = false L6_1 = {} L6_1.config_id = 1014001 L6_1.name = "ENTER_REGION_14001" L7_1 = EventType L7_1 = L7_1.EVENT_ENTER_REGION L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_ENTER_REGION_14001" L6_1.action = "action_EVENT_ENTER_REGION_14001" L6_1.trigger_count = 0 L6_1.forbid_guest = false L7_1 = {} L7_1.config_id = 1014002 L7_1.name = "TIMER_EVENT_14002" L8_1 = EventType L8_1 = L8_1.EVENT_TIMER_EVENT L7_1.event = L8_1 L7_1.source = "delay_open" L7_1.condition = "" L7_1.action = "action_EVENT_TIMER_EVENT_14002" L8_1 = {} L8_1.config_id = 1014003 L8_1.name = "TIMER_EVENT_14003" L9_1 = EventType L9_1 = L9_1.EVENT_TIMER_EVENT L8_1.event = L9_1 L8_1.source = "delay_look" L8_1.condition = "" L8_1.action = "action_EVENT_TIMER_EVENT_14003" L9_1 = {} L9_1.config_id = 1014010 L9_1.name = "GADGET_STATE_CHANGE_14010" L10_1 = EventType L10_1 = L10_1.EVENT_GADGET_STATE_CHANGE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_14010" L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_14010" 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 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 = 14004 L5_1 = 14005 L6_1 = 14006 L7_1 = 14007 L8_1 = 14008 L9_1 = 14016 L10_1 = 14017 L11_1 = 14018 L12_1 = 14019 L13_1 = 14020 L14_1 = 14021 L15_1 = 14022 L16_1 = 14023 L17_1 = 14024 L18_1 = 14025 L19_1 = 14026 L20_1 = 14027 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 L3_1[15] = L18_1 L3_1[16] = L19_1 L3_1[17] = L20_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 16 L5_1 = 17 L6_1 = 56 L7_1 = 14001 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "ENTER_REGION_16" L5_1 = "ENTER_REGION_17" L6_1 = "ANY_MONSTER_DIE_19" L7_1 = "ENTER_REGION_56" L8_1 = "ENTER_REGION_14001" L9_1 = "TIMER_EVENT_14002" L10_1 = "TIMER_EVENT_14003" L11_1 = "GADGET_STATE_CHANGE_14010" 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 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, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 16 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_16 = 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 = 14016 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_ENTER_REGION_16 = 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 ~= 17 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_17 = 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 = 14016 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 14017 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 14018 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 14019 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 14020 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 = {} L2_2.x = 291 L2_2.y = 43 L2_2.z = 4 L3_2 = ScriptLib L3_2 = L3_2.ScenePlaySound L4_2 = A0_2 L5_2 = {} L5_2.play_pos = L2_2 L5_2.sound_name = "LevelHornSound001" L5_2.play_type = 1 L5_2.is_broadcast = false L3_2 = L3_2(L4_2, L5_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : active_soundplay" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ShowReminder L4_2 = A0_2 L5_2 = 200230201 L3_2 = L3_2(L4_2, L5_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : active_reminder_ui" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.CreateMonster L4_2 = A0_2 L5_2 = {} L5_2.config_id = 14015 L5_2.delay_time = 2 L3_2 = L3_2(L4_2, L5_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : create_monster" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_ENTER_REGION_17 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 14015 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_19 = 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.AddQuestProgress L3_2 = A0_2 L4_2 = "220023014" 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 : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGroupTimerEvent L3_2 = A0_2 L4_2 = 220023014 L5_2 = "delay_open" L6_2 = 3 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 = ScriptLib L2_2 = L2_2.CreateGroupTimerEvent L3_2 = A0_2 L4_2 = 220023014 L5_2 = "delay_look" 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 : 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_ANY_MONSTER_DIE_19 = 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 ~= 56 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_56 = 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 = 14016 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_ENTER_REGION_56 = 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 ~= 14001 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_14001 = 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 = 14017 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 = 14018 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 = 14019 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 = 14020 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_ENTER_REGION_14001 = 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 = 14017 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 = 14018 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 = 14019 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 = 14020 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_TIMER_EVENT_14002 = 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 = 298 L2_2.y = 44 L2_2.z = 4 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 = 2 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 = 0 return L4_2 end action_EVENT_TIMER_EVENT_14003 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 14006 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_14010 = 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 = 14026 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_GADGET_STATE_CHANGE_14010 = L1_1