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 L0_1 = {} L0_1.group_id = 133103643 L1_1 = {} L2_1 = {} L2_1.config_id = 643002 L2_1.monster_id = 21010301 L3_1 = {} L3_1.x = 897.758 L3_1.y = 236.748 L3_1.z = 844.198 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 340.872 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 19 L2_1.drop_id = 1000100 L2_1.pose_id = 9016 L2_1.area_id = 6 L3_1 = {} L3_1.config_id = 643003 L3_1.monster_id = 21010201 L4_1 = {} L4_1.x = 899.269 L4_1.y = 236.587 L4_1.z = 831.676 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 278.939 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 19 L3_1.drop_id = 1000100 L3_1.pose_id = 9012 L3_1.area_id = 6 L4_1 = {} L4_1.config_id = 643006 L4_1.monster_id = 21020301 L5_1 = {} L5_1.x = 895.355 L5_1.y = 236.66 L5_1.z = 828.425 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 56.792 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 19 L4_1.drop_id = 1000100 L4_1.pose_id = 401 L4_1.area_id = 6 L5_1 = {} L5_1.config_id = 643011 L5_1.monster_id = 21010901 L6_1 = {} L6_1.x = 883.198 L6_1.y = 238.289 L6_1.z = 842.086 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 56.792 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 19 L5_1.drop_id = 1000100 L5_1.pose_id = 9003 L5_1.area_id = 6 L6_1 = {} L6_1.config_id = 643014 L6_1.monster_id = 21010101 L7_1 = {} L7_1.x = 923.933 L7_1.y = 226.692 L7_1.z = 899.985 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 21.949 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 19 L6_1.drop_id = 1000100 L6_1.pose_id = 9016 L6_1.area_id = 6 L7_1 = {} L7_1.config_id = 643015 L7_1.monster_id = 21010101 L8_1 = {} L8_1.x = 918.313 L8_1.y = 228.618 L8_1.z = 876.107 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 131.101 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 19 L7_1.drop_id = 1000100 L7_1.pose_id = 9016 L7_1.area_id = 6 L8_1 = {} L8_1.config_id = 643016 L8_1.monster_id = 21010701 L9_1 = {} L9_1.x = 925.663 L9_1.y = 226.936 L9_1.z = 878.722 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 = 19 L8_1.drop_id = 1000100 L8_1.area_id = 6 L9_1 = {} L9_1.config_id = 643018 L9_1.monster_id = 21010401 L10_1 = {} L10_1.x = 894.946 L10_1.y = 236.448 L10_1.z = 832.797 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 93.487 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 19 L9_1.drop_id = 1000100 L9_1.pose_id = 9012 L9_1.area_id = 6 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 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 643001 L2_1.gadget_id = 70710038 L3_1 = {} L3_1.x = 897.661 L3_1.y = 236.434 L3_1.z = 844.803 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 359.756 L3_1.y = 18.511 L3_1.z = 353.757 L2_1.rot = L3_1 L2_1.level = 1 L2_1.area_id = 6 L3_1 = {} L3_1.config_id = 643004 L3_1.gadget_id = 70360040 L4_1 = {} L4_1.x = 897.632 L4_1.y = 236.764 L4_1.z = 844.756 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 L3_1.area_id = 6 L4_1 = {} L4_1.config_id = 643007 L4_1.gadget_id = 70310004 L5_1 = {} L5_1.x = 897.123 L5_1.y = 236.713 L5_1.z = 832.212 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 = 19 L5_1 = GadgetState L5_1 = L5_1.GearStart L4_1.state = L5_1 L4_1.area_id = 6 L5_1 = {} L5_1.config_id = 643020 L5_1.gadget_id = 70211121 L6_1 = {} L6_1.x = 897.64 L6_1.y = 236.511 L6_1.z = 844.808 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 254.605 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 16 L5_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136" L5_1.isOneoff = true L5_1.persistent = true L6_1 = {} L6_1.name = "chest" L6_1.exp = 1 L5_1.explore = L6_1 L5_1.area_id = 6 L6_1 = {} L6_1.config_id = 643022 L6_1.gadget_id = 70360001 L7_1 = {} L7_1.x = 897.355 L7_1.y = 237.334 L7_1.z = 844.439 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 160.233 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 19 L6_1.area_id = 6 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 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 643009 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 25 L3_1 = {} L3_1.x = 893.111 L3_1.y = 238.162 L3_1.z = 850.801 L2_1.pos = L3_1 L2_1.area_id = 6 L3_1 = {} L3_1.config_id = 643025 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 25 L4_1 = {} L4_1.x = 893.111 L4_1.y = 238.162 L4_1.z = 850.801 L3_1.pos = L4_1 L3_1.area_id = 6 L1_1[1] = L2_1 L1_1[2] = L3_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1643005 L2_1.name = "GROUP_LOAD_643005" L3_1 = EventType L3_1 = L3_1.EVENT_GROUP_LOAD L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GROUP_LOAD_643005" L2_1.action = "action_EVENT_GROUP_LOAD_643005" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1643008 L3_1.name = "GROUP_LOAD_643008" L4_1 = EventType L4_1 = L4_1.EVENT_GROUP_LOAD L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GROUP_LOAD_643008" L3_1.action = "action_EVENT_GROUP_LOAD_643008" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1643009 L4_1.name = "ENTER_REGION_643009" 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_643009" L4_1.action = "action_EVENT_ENTER_REGION_643009" L5_1 = {} L5_1.config_id = 1643021 L5_1.name = "GADGET_CREATE_643021" 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_643021" L5_1.action = "action_EVENT_GADGET_CREATE_643021" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1643023 L6_1.name = "SELECT_OPTION_643023" 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_643023" L6_1.action = "action_EVENT_SELECT_OPTION_643023" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1643024 L7_1.name = "GADGET_STATE_CHANGE_643024" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_643024" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_643024" L8_1 = {} L8_1.config_id = 1643025 L8_1.name = "ENTER_REGION_643025" 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_643025" L8_1.action = "action_EVENT_ENTER_REGION_643025" L8_1.trigger_count = 0 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 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "fin" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "dig" L3_1.value = 0 L3_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_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 = 643002 L5_1 = 643003 L6_1 = 643006 L7_1 = 643011 L8_1 = 643014 L9_1 = 643015 L10_1 = 643016 L11_1 = 643018 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.monsters = L3_1 L3_1 = {} L4_1 = 643001 L5_1 = 643004 L6_1 = 643007 L7_1 = 643022 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 643009 L5_1 = 643025 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "GROUP_LOAD_643005" L5_1 = "GROUP_LOAD_643008" L6_1 = "ENTER_REGION_643009" L7_1 = "GADGET_CREATE_643021" L8_1 = "SELECT_OPTION_643023" L9_1 = "GADGET_STATE_CHANGE_643024" L10_1 = "ENTER_REGION_643025" 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 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 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "fin" 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_GROUP_LOAD_643005 = 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 = "finish_133103643" 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_GROUP_LOAD_643005 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "dig" 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_GROUP_LOAD_643008 = 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 = 643020 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_GROUP_LOAD_643008 = 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 ~= 643009 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_643009 = 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 = 1110188 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_643009 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 643022 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "dig" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_643021 = 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 = 169 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_643021 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 643022 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 169 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_643023 = 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.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 643020 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.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133103643 L5_2 = 643022 L6_2 = 169 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.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 643004 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_entity_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "dig" L5_2 = 1 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_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_643023 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 643020 == 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_643024 = 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.AddQuestProgress L3_2 = A0_2 L4_2 = "finish_133103643" 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "fin" L5_2 = 1 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_groupVariable" 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_643024 = 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 ~= 643025 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_643025 = 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 = "finish_133103643_zhiyin" 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_ENTER_REGION_643025 = L1_1