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 L0_1 = {} L0_1.group_id = 144001013 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 13001 L2_1.gadget_id = 70350006 L3_1 = {} L3_1.x = -714.108 L3_1.y = 105.607 L3_1.z = 406.847 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.48 L3_1.y = 265.747 L3_1.z = 341.022 L2_1.rot = L3_1 L2_1.level = 1 L2_1.persistent = true L2_1.area_id = 103 L3_1 = {} L3_1.config_id = 13002 L3_1.gadget_id = 70350006 L4_1 = {} L4_1.x = -725.531 L4_1.y = 119.857 L4_1.z = 402.519 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 89.363 L4_1.y = 0.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.persistent = true L3_1.area_id = 103 L4_1 = {} L4_1.config_id = 13006 L4_1.gadget_id = 70360005 L5_1 = {} L5_1.x = -709.845 L5_1.y = 107.665 L5_1.z = 407.416 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 18.337 L5_1.y = 359.887 L5_1.z = 7.336 L4_1.rot = L5_1 L4_1.level = 1 L4_1.persistent = true L4_1.area_id = 103 L5_1 = {} L5_1.config_id = 13012 L5_1.gadget_id = 70220021 L6_1 = {} L6_1.x = -732.754 L6_1.y = 102.399 L6_1.z = 398.374 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 9.314 L6_1.y = 197.711 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L5_1.area_id = 103 L6_1 = {} L6_1.config_id = 13016 L6_1.gadget_id = 70710071 L7_1 = {} L7_1.x = -725.893 L7_1.y = 103.084 L7_1.z = 396.964 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 8.461 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L6_1.area_id = 103 L7_1 = {} L7_1.config_id = 13017 L7_1.gadget_id = 70710071 L8_1 = {} L8_1.x = -712.033 L8_1.y = 108.513 L8_1.z = 403.335 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 12.368 L8_1.y = 53.099 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L7_1.area_id = 103 L8_1 = {} L8_1.config_id = 13019 L8_1.gadget_id = 70710071 L9_1 = {} L9_1.x = -735.499 L9_1.y = 90.765 L9_1.z = 414.962 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 70.505 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L8_1.area_id = 103 L9_1 = {} L9_1.config_id = 13026 L9_1.gadget_id = 70211131 L10_1 = {} L10_1.x = -733.587 L10_1.y = 114.89 L10_1.z = 411.974 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 356.757 L10_1.y = 175.84 L10_1.z = 359.658 L9_1.rot = L10_1 L9_1.level = 16 L9_1.drop_tag = "\232\167\163\232\176\156\232\182\133\231\186\167\231\190\164\229\178\155" L9_1.isOneoff = true L9_1.persistent = true L9_1.autopick = true L10_1 = {} L10_1.name = "chest" L10_1.exp = 1 L9_1.explore = L10_1 L9_1.area_id = 103 L10_1 = {} L10_1.config_id = 13046 L10_1.gadget_id = 70360005 L11_1 = {} L11_1.x = -732.003 L11_1.y = 103.447 L11_1.z = 398.131 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 1.393 L11_1.y = 0.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L10_1.persistent = true L10_1.area_id = 103 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 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 13005 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 9 L3_1 = {} L3_1.x = -726.734 L3_1.y = 88.179 L3_1.z = 406.7 L2_1.pos = L3_1 L2_1.area_id = 103 L3_1 = {} L3_1.config_id = 13010 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 10 L4_1 = {} L4_1.x = -739.906 L4_1.y = 92.202 L4_1.z = 418.071 L3_1.pos = L4_1 L3_1.area_id = 103 L4_1 = {} L4_1.config_id = 13011 L5_1 = RegionShape L5_1 = L5_1.SPHERE L4_1.shape = L5_1 L4_1.radius = 5 L5_1 = {} L5_1.x = -727.604 L5_1.y = 103.849 L5_1.z = 401.307 L4_1.pos = L5_1 L4_1.area_id = 103 L5_1 = {} L5_1.config_id = 13015 L6_1 = RegionShape L6_1 = L6_1.SPHERE L5_1.shape = L6_1 L5_1.radius = 5 L6_1 = {} L6_1.x = -727.604 L6_1.y = 103.849 L6_1.z = 401.307 L5_1.pos = L6_1 L5_1.area_id = 103 L6_1 = {} L6_1.config_id = 13023 L7_1 = RegionShape L7_1 = L7_1.SPHERE L6_1.shape = L7_1 L6_1.radius = 5 L7_1 = {} L7_1.x = -764.376 L7_1.y = 119.888 L7_1.z = 368.963 L6_1.pos = L7_1 L6_1.area_id = 103 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 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1013003 L2_1.name = "GADGET_STATE_CHANGE_13003" L3_1 = EventType L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_13003" L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_13003" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1013005 L3_1.name = "ENTER_REGION_13005" 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_13005" L3_1.action = "action_EVENT_ENTER_REGION_13005" L4_1 = {} L4_1.config_id = 1013007 L4_1.name = "GADGET_STATE_CHANGE_13007" 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_13007" L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_13007" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1013008 L5_1.name = "VARIABLE_CHANGE_13008" L6_1 = EventType L6_1 = L6_1.EVENT_VARIABLE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_13008" L5_1.action = "action_EVENT_VARIABLE_CHANGE_13008" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1013009 L6_1.name = "VARIABLE_CHANGE_13009" L7_1 = EventType L7_1 = L7_1.EVENT_VARIABLE_CHANGE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_13009" L6_1.action = "action_EVENT_VARIABLE_CHANGE_13009" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1013010 L7_1.name = "ENTER_REGION_13010" 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_13010" L7_1.action = "action_EVENT_ENTER_REGION_13010" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1013011 L8_1.name = "ENTER_REGION_13011" 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_13011" L8_1.action = "action_EVENT_ENTER_REGION_13011" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1013013 L9_1.name = "QUEST_START_13013" L10_1 = EventType L10_1 = L10_1.EVENT_QUEST_START L9_1.event = L10_1 L9_1.source = "7900602" L9_1.condition = "" L9_1.action = "action_EVENT_QUEST_START_13013" L10_1 = {} L10_1.config_id = 1013014 L10_1.name = "ANY_GADGET_DIE_13014" 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_13014" L10_1.action = "action_EVENT_ANY_GADGET_DIE_13014" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1013015 L11_1.name = "ENTER_REGION_13015" L12_1 = EventType L12_1 = L12_1.EVENT_ENTER_REGION L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_ENTER_REGION_13015" L11_1.action = "action_EVENT_ENTER_REGION_13015" L12_1 = {} L12_1.config_id = 1013020 L12_1.name = "TIMER_EVENT_13020" L13_1 = EventType L13_1 = L13_1.EVENT_TIMER_EVENT L12_1.event = L13_1 L12_1.source = "openthetopdoor" L12_1.condition = "" L12_1.action = "action_EVENT_TIMER_EVENT_13020" L13_1 = {} L13_1.config_id = 1013021 L13_1.name = "TIMER_EVENT_13021" L14_1 = EventType L14_1 = L14_1.EVENT_TIMER_EVENT L13_1.event = L14_1 L13_1.source = "rockborken" L13_1.condition = "" L13_1.action = "action_EVENT_TIMER_EVENT_13021" L14_1 = {} L14_1.config_id = 1013022 L14_1.name = "TIMER_EVENT_13022" L15_1 = EventType L15_1 = L15_1.EVENT_TIMER_EVENT L14_1.event = L15_1 L14_1.source = "paimengkaiche2" L14_1.condition = "" L14_1.action = "action_EVENT_TIMER_EVENT_13022" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1013023 L15_1.name = "ENTER_REGION_13023" L16_1 = EventType L16_1 = L16_1.EVENT_ENTER_REGION L15_1.event = L16_1 L15_1.source = "" L15_1.condition = "condition_EVENT_ENTER_REGION_13023" L15_1.action = "action_EVENT_ENTER_REGION_13023" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1013027 L16_1.name = "TIMER_EVENT_13027" L17_1 = EventType L17_1 = L17_1.EVENT_TIMER_EVENT L16_1.event = L17_1 L16_1.source = "huitou" L16_1.condition = "" L16_1.action = "action_EVENT_TIMER_EVENT_13027" 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 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "dooropen" L2_1.value = 0 L2_1.no_refresh = false L1_1[1] = L2_1 variables = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L3_1.config_id = 13004 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 11 L4_1 = {} L4_1.x = -725.539 L4_1.y = 106.859 L4_1.z = 403.894 L3_1.pos = L4_1 L3_1.area_id = 103 L2_1[1] = L3_1 L1_1.regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1013004 L3_1.name = "ENTER_REGION_13004" L4_1 = EventType L4_1 = L4_1.EVENT_ENTER_REGION L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "" L3_1.action = "" L4_1 = {} L4_1.config_id = 1013018 L4_1.name = "TIMER_EVENT_13018" L5_1 = EventType L5_1 = L5_1.EVENT_TIMER_EVENT L4_1.event = L5_1 L4_1.source = "paimengkaiche2" L4_1.condition = "" L4_1.action = "action_EVENT_TIMER_EVENT_13018" L5_1 = {} L5_1.config_id = 1013024 L5_1.name = "GROUP_LOAD_13024" L6_1 = EventType L6_1 = L6_1.EVENT_GROUP_LOAD L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GROUP_LOAD_13024" L5_1.action = "action_EVENT_GROUP_LOAD_13024" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1013025 L6_1.name = "TIMER_EVENT_13025" L7_1 = EventType L7_1 = L7_1.EVENT_TIMER_EVENT L6_1.event = L7_1 L6_1.source = "paimengkaiche2" L6_1.condition = "" L6_1.action = "action_EVENT_TIMER_EVENT_13025" L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L1_1.triggers = L2_1 garbages = 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 = 13001 L5_1 = 13002 L6_1 = 13006 L7_1 = 13012 L8_1 = 13016 L9_1 = 13017 L10_1 = 13019 L11_1 = 13026 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.gadgets = L3_1 L3_1 = {} L4_1 = 13005 L5_1 = 13010 L6_1 = 13011 L7_1 = 13015 L8_1 = 13023 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 L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_STATE_CHANGE_13003" L5_1 = "ENTER_REGION_13005" L6_1 = "GADGET_STATE_CHANGE_13007" L7_1 = "VARIABLE_CHANGE_13008" L8_1 = "VARIABLE_CHANGE_13009" L9_1 = "ENTER_REGION_13010" L10_1 = "ENTER_REGION_13011" L11_1 = "QUEST_START_13013" L12_1 = "ANY_GADGET_DIE_13014" L13_1 = "ENTER_REGION_13015" L14_1 = "TIMER_EVENT_13020" L15_1 = "TIMER_EVENT_13021" L16_1 = "TIMER_EVENT_13022" L17_1 = "ENTER_REGION_13023" L18_1 = "TIMER_EVENT_13027" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 13046 L4_1[1] = L5_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L4_1.triggers = L5_1 L4_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 13046 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart 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_13003 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "7900601" 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 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_13003 = 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 ~= 13005 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_13005 = 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 = 1110237 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_13005 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 13006 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart 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_13007 = 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.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "dooropen" L5_2 = 1 L6_2 = 144001013 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_groupVariable_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_13007 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "dooropen" 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_VARIABLE_CHANGE_13008 = 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 = 13001 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_VARIABLE_CHANGE_13008 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "dooropen" L5_2 = 144001013 L2_2 = L2_2(L3_2, L4_2, L5_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_13009 = 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 = 13001 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 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_13009 = 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 ~= 13010 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_13010 = 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.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "dooropen" L5_2 = 0 L6_2 = 144001013 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_groupVariable_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_13010 = 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 ~= 13011 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_13011 = 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 = 144001013 L5_2 = "paimengkaiche2" L6_2 = 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 : 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_ENTER_REGION_13011 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 13002 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 = {} L2_2.x = -725.5314 L2_2.y = 119.8572 L2_2.z = 402.5192 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 = ScriptLib L4_2 = L4_2.CreateGroupTimerEvent L5_2 = A0_2 L6_2 = 144001013 L7_2 = "openthetopdoor" L8_2 = 1 L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : create_timerevent_by_group" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_QUEST_START_13013 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 13012 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_13014 = 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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144001013 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 144001123 L4_2.suite = 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 : refresh_group_to_suite" 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 = 144001013 L5_2 = "rockborken" L6_2 = 4 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_GADGET_DIE_13014 = 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 ~= 13015 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_13015 = 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.ShowReminder L3_2 = A0_2 L4_2 = 1110300 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 = ScriptLib L2_2 = L2_2.CreateGroupTimerEvent L3_2 = A0_2 L4_2 = 144001013 L5_2 = "huitou" L6_2 = 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 : 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_ENTER_REGION_13015 = 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 = 1110239 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_TIMER_EVENT_13020 = 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 = 1110303 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_TIMER_EVENT_13021 = 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.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "dooropen" L5_2 = 0 L6_2 = 144001013 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_groupVariable_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIMER_EVENT_13022 = 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 ~= 13023 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 < 0 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "finishyishi" L5_2 = 144001122 L2_2 = L2_2(L3_2, L4_2, L5_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ENTER_REGION_13023 = L1_1 function L1_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 = 13012 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_13023 = 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 = -714.3528 L2_2.y = 107.4609 L2_2.z = 407.367 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_13027 = L1_1