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 L0_1 = {} L0_1.group_id = 177005150 L1_1 = {} L1_1.pointarray_1 = 700500027 L1_1.gadget_1 = 150002 L1_1.gadget_controller_1 = 150006 L1_1.gadget_pointarray_1 = 1 L1_1.group_id = 177005150 L2_1 = {} monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 150001 L3_1.gadget_id = 70330134 L4_1 = {} L4_1.x = 562.233 L4_1.y = 219.146 L4_1.z = 860.404 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 270.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 36 L3_1.area_id = 210 L4_1 = {} L4_1.config_id = 150002 L4_1.gadget_id = 70330135 L5_1 = {} L5_1.x = 546.496 L5_1.y = 218.807 L5_1.z = 860.369 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 = 36 L4_1.is_use_point_array = true L4_1.area_id = 210 L5_1 = {} L5_1.config_id = 150003 L5_1.gadget_id = 70330135 L6_1 = {} L6_1.x = 546.51 L6_1.y = 218.807 L6_1.z = 869.097 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 135.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 36 L5_1.is_use_point_array = true L5_1.area_id = 210 L6_1 = {} L6_1.config_id = 150004 L6_1.gadget_id = 70330141 L7_1 = {} L7_1.x = 553.579 L7_1.y = 218.905 L7_1.z = 853.699 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 = 36 L6_1.persistent = true L6_1.area_id = 210 L7_1 = {} L7_1.config_id = 150005 L7_1.gadget_id = 70330157 L8_1 = {} L8_1.x = 562.233 L8_1.y = 217.768 L8_1.z = 860.404 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 270.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 36 L7_1.area_id = 210 L8_1 = {} L8_1.config_id = 150006 L8_1.gadget_id = 70330158 L9_1 = {} L9_1.x = 546.496 L9_1.y = 217.486 L9_1.z = 860.369 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 = 36 L9_1 = GadgetState L9_1 = L9_1.GearStart L8_1.state = L9_1 L8_1.area_id = 210 L9_1 = {} L9_1.config_id = 150007 L9_1.gadget_id = 70330135 L10_1 = {} L10_1.x = 553.686 L10_1.y = 218.807 L10_1.z = 869.097 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 45.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 36 L10_1 = GadgetState L10_1 = L10_1.GearStart L9_1.state = L10_1 L9_1.is_use_point_array = true L9_1.area_id = 210 L10_1 = {} L10_1.config_id = 150008 L10_1.gadget_id = 70330158 L11_1 = {} L11_1.x = 546.51 L11_1.y = 217.601 L11_1.z = 869.097 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 135.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 36 L10_1.area_id = 210 L11_1 = {} L11_1.config_id = 150009 L11_1.gadget_id = 70330158 L12_1 = {} L12_1.x = 553.686 L12_1.y = 217.482 L12_1.z = 869.097 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 45.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 36 L11_1.area_id = 210 L12_1 = {} L12_1.config_id = 150010 L12_1.gadget_id = 70211162 L13_1 = {} L13_1.x = 549.184 L13_1.y = 217.345 L13_1.z = 853.575 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 = 16 L12_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\233\171\152\231\186\167\231\168\187\229\166\187" L12_1.isOneoff = true L12_1.persistent = true L12_1.area_id = 210 L13_1 = {} L13_1.config_id = 150014 L13_1.gadget_id = 70330157 L14_1 = {} L14_1.x = 553.579 L14_1.y = 217.435 L14_1.z = 853.699 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 = 36 L13_1.area_id = 210 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 gadgets = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 150011 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 12 L4_1 = {} L4_1.x = 554.119 L4_1.y = 215.561 L4_1.z = 862.174 L3_1.pos = L4_1 L3_1.area_id = 210 L2_1[1] = L3_1 regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1150011 L3_1.name = "ENTER_REGION_150011" 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_150011" L3_1.action = "action_EVENT_ENTER_REGION_150011" L4_1 = {} L4_1.config_id = 1150016 L4_1.name = "GADGET_CREATE_150016" L5_1 = EventType L5_1 = L5_1.EVENT_GADGET_CREATE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GADGET_CREATE_150016" L4_1.action = "action_EVENT_GADGET_CREATE_150016" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1150021 L5_1.name = "SELECT_OPTION_150021" L6_1 = EventType L6_1 = L6_1.EVENT_SELECT_OPTION L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_SELECT_OPTION_150021" L5_1.action = "action_EVENT_SELECT_OPTION_150021" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1150022 L6_1.name = "TIMER_EVENT_150022" L7_1 = EventType L7_1 = L7_1.EVENT_TIMER_EVENT L6_1.event = L7_1 L6_1.source = "route1" L6_1.condition = "" L6_1.action = "action_EVENT_TIMER_EVENT_150022" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1150031 L7_1.name = "GADGET_STATE_CHANGE_150031" 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_150031" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_150031" 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 triggers = L2_1 L2_1 = {} variables = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L4_1.config_id = 1150017 L4_1.name = "GADGET_CREATE_150017" L5_1 = EventType L5_1 = L5_1.EVENT_GADGET_CREATE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GADGET_CREATE_150017" L4_1.action = "action_EVENT_GADGET_CREATE_150017" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1150018 L5_1.name = "GADGET_CREATE_150018" 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_150018" L5_1.action = "action_EVENT_GADGET_CREATE_150018" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1150019 L6_1.name = "GADGET_CREATE_150019" L7_1 = EventType L7_1 = L7_1.EVENT_GADGET_CREATE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GADGET_CREATE_150019" L6_1.action = "action_EVENT_GADGET_CREATE_150019" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1150020 L7_1.name = "GADGET_CREATE_150020" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_CREATE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_CREATE_150020" L7_1.action = "action_EVENT_GADGET_CREATE_150020" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1150023 L8_1.name = "SELECT_OPTION_150023" L9_1 = EventType L9_1 = L9_1.EVENT_SELECT_OPTION L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_SELECT_OPTION_150023" L8_1.action = "action_EVENT_SELECT_OPTION_150023" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1150024 L9_1.name = "TIMER_EVENT_150024" L10_1 = EventType L10_1 = L10_1.EVENT_TIMER_EVENT L9_1.event = L10_1 L9_1.source = "route2" L9_1.condition = "" L9_1.action = "action_EVENT_TIMER_EVENT_150024" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1150025 L10_1.name = "SELECT_OPTION_150025" L11_1 = EventType L11_1 = L11_1.EVENT_SELECT_OPTION L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_SELECT_OPTION_150025" L10_1.action = "action_EVENT_SELECT_OPTION_150025" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1150026 L11_1.name = "TIMER_EVENT_150026" L12_1 = EventType L12_1 = L12_1.EVENT_TIMER_EVENT L11_1.event = L12_1 L11_1.source = "route3" L11_1.condition = "" L11_1.action = "action_EVENT_TIMER_EVENT_150026" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1150027 L12_1.name = "SELECT_OPTION_150027" L13_1 = EventType L13_1 = L13_1.EVENT_SELECT_OPTION L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_SELECT_OPTION_150027" L12_1.action = "action_EVENT_SELECT_OPTION_150027" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1150028 L13_1.name = "TIMER_EVENT_150028" L14_1 = EventType L14_1 = L14_1.EVENT_TIMER_EVENT L13_1.event = L14_1 L13_1.source = "route4" L13_1.condition = "" L13_1.action = "action_EVENT_TIMER_EVENT_150028" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1150029 L14_1.name = "SELECT_OPTION_150029" L15_1 = EventType L15_1 = L15_1.EVENT_SELECT_OPTION L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_SELECT_OPTION_150029" L14_1.action = "action_EVENT_SELECT_OPTION_150029" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1150030 L15_1.name = "TIMER_EVENT_150030" L16_1 = EventType L16_1 = L16_1.EVENT_TIMER_EVENT L15_1.event = L16_1 L15_1.source = "route5" L15_1.condition = "" L15_1.action = "action_EVENT_TIMER_EVENT_150030" L15_1.trigger_count = 0 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 L2_1.triggers = L3_1 garbages = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 0 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 150001 L6_1 = 150002 L7_1 = 150003 L8_1 = 150004 L9_1 = 150005 L10_1 = 150006 L11_1 = 150007 L12_1 = 150008 L13_1 = 150009 L14_1 = 150014 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 L3_1.gadgets = L4_1 L4_1 = {} L5_1 = 150011 L4_1[1] = L5_1 L3_1.regions = L4_1 L4_1 = {} L5_1 = "ENTER_REGION_150011" L6_1 = "GADGET_CREATE_150016" L7_1 = "SELECT_OPTION_150021" L8_1 = "TIMER_EVENT_150022" L9_1 = "GADGET_STATE_CHANGE_150031" 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 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 ~= 150011 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_150011 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.AssignPlayerShowTemplateReminder L3_2 = A0_2 L4_2 = 161 L5_2 = {} L6_2 = {} L5_2.param_uid_vec = L6_2 L6_2 = {} L5_2.param_vec = L6_2 L6_2 = {} L7_2 = A0_2.uid L6_2[1] = L7_2 L5_2.uid_vec = L6_2 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 action_EVENT_ENTER_REGION_150011 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_1 L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_150016 = 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 = 31 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_150016 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = L1_1.gadget_controller_1 L3_2 = A1_2.param1 if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 31 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_150021 = L2_1 function L2_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.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = L1_1.gadget_controller_1 L6_2 = 31 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 = {} L2_2.route_type = 0 L2_2.turn_mode = false L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = L1_1.gadget_1 L6_2 = L1_1.pointarray_1 L7_2 = {} L8_2 = L1_1.gadget_pointarray_1 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.CreateGroupTimerEvent L4_2 = A0_2 L5_2 = L1_1.group_id L6_2 = "route1" L7_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : create_timerevent_by_group" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_150021 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = L1_1.group_id L5_2 = L1_1.gadget_controller_1 L6_2 = {} L7_2 = 31 L6_2[1] = L7_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 : set_wok_options_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_150022 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 150004 == 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_150031 = 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 = 150010 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_GADGET_STATE_CHANGE_150031 = L2_1 L2_1 = require L3_1 = "V2_5/Watcher_Puzzle" L2_1(L3_1)