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 L0_1 = {} L0_1.group_id = 220118001 L1_1 = {} L2_1 = {} L2_1.config_id = 1010 L2_1.monster_id = 25080201 L3_1 = {} L3_1.x = 25.724 L3_1.y = 55.411 L3_1.z = -78.505 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 330.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.disableWander = true L2_1.pose_id = 1005 L3_1 = {} L3_1.config_id = 1011 L3_1.monster_id = 25080201 L4_1 = {} L4_1.x = 20.99 L4_1.y = 55.411 L4_1.z = -78.623 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 40.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.disableWander = true L3_1.pose_id = 1005 L4_1 = {} L4_1.config_id = 1023 L4_1.monster_id = 25080201 L5_1 = {} L5_1.x = 22.493 L5_1.y = 55.411 L5_1.z = -69.039 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 180.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L4_1.disableWander = true L4_1.pose_id = 1005 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1005 L2_1.gadget_id = 70360279 L3_1 = {} L3_1.x = 3.21 L3_1.y = 65.228 L3_1.z = -83.359 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 90.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L3_1 = {} L3_1.config_id = 1007 L3_1.gadget_id = 70360282 L4_1 = {} L4_1.x = 3.056 L4_1.y = 54.64 L4_1.z = -73.636 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 90.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.route_id = 1 L3_1.start_route = false L3_1.persistent = true L4_1 = {} L4_1.config_id = 1009 L4_1.gadget_id = 70290136 L5_1 = {} L5_1.x = 25.886 L5_1.y = 55.411 L5_1.z = -73.657 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 270.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = GadgetState L5_1 = L5_1.GearStart L4_1.state = L5_1 L5_1 = {} L5_1.config_id = 1013 L5_1.gadget_id = 70360001 L6_1 = {} L6_1.x = 25.747 L6_1.y = 55.411 L6_1.z = -73.693 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 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1001 L3_1 = RegionShape L3_1 = L3_1.CUBIC L2_1.shape = L3_1 L3_1 = {} L3_1.x = 19.0 L3_1.y = 10.0 L3_1.z = 4.0 L2_1.size = L3_1 L3_1 = {} L3_1.x = -8.658 L3_1.y = 58.184 L3_1.z = -73.391 L2_1.pos = L3_1 L3_1 = {} L3_1.config_id = 1021 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 = 5.0 L3_1.size = L4_1 L4_1 = {} L4_1.x = 3.093 L4_1.y = 54.955 L4_1.z = -73.641 L3_1.pos = L4_1 L4_1 = {} L4_1.config_id = 1022 L5_1 = RegionShape L5_1 = L5_1.SPHERE L4_1.shape = L5_1 L4_1.radius = 5 L5_1 = {} L5_1.x = 2.735 L5_1.y = 64.56 L5_1.z = -82.882 L4_1.pos = L5_1 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1001001 L2_1.name = "ENTER_REGION_1001" 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_1001" L2_1.action = "action_EVENT_ENTER_REGION_1001" L3_1 = {} L3_1.config_id = 1001004 L3_1.name = "ANY_GADGET_DIE_1004" L4_1 = EventType L4_1 = L4_1.EVENT_ANY_GADGET_DIE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_1004" L3_1.action = "" L4_1 = {} L4_1.config_id = 1001015 L4_1.name = "SELECT_OPTION_1015" L5_1 = EventType L5_1 = L5_1.EVENT_SELECT_OPTION L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "" L4_1.action = "" L5_1 = {} L5_1.config_id = 1001016 L5_1.name = "SELECT_OPTION_1016" 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_1016" L5_1.action = "action_EVENT_SELECT_OPTION_1016" L6_1 = {} L6_1.config_id = 1001017 L6_1.name = "TIMER_EVENT_1017" L7_1 = EventType L7_1 = L7_1.EVENT_TIMER_EVENT L6_1.event = L7_1 L6_1.source = "time2" L6_1.condition = "" L6_1.action = "action_EVENT_TIMER_EVENT_1017" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1001018 L7_1.name = "GADGET_STATE_CHANGE_1018" 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_1018" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_1018" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1001019 L8_1.name = "PLATFORM_REACH_POINT_1019" L9_1 = EventType L9_1 = L9_1.EVENT_PLATFORM_REACH_POINT L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_1019" L8_1.action = "action_EVENT_PLATFORM_REACH_POINT_1019" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1001020 L9_1.name = "PLATFORM_REACH_POINT_1020" L10_1 = EventType L10_1 = L10_1.EVENT_PLATFORM_REACH_POINT L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_1020" L9_1.action = "action_EVENT_PLATFORM_REACH_POINT_1020" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1001021 L10_1.name = "ENTER_REGION_1021" L11_1 = EventType L11_1 = L11_1.EVENT_ENTER_REGION L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_ENTER_REGION_1021" L10_1.action = "" L11_1 = {} L11_1.config_id = 1001022 L11_1.name = "ENTER_REGION_1022" 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_1022" L11_1.action = "action_EVENT_ENTER_REGION_1022" 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 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 = {} L4_1 = 1010 L5_1 = 1011 L6_1 = 1023 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1.monsters = L3_1 L3_1 = {} L4_1 = 1005 L5_1 = 1007 L6_1 = 1009 L7_1 = 1013 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 = 1001 L5_1 = 1021 L6_1 = 1022 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "ENTER_REGION_1001" L5_1 = "ANY_GADGET_DIE_1004" L6_1 = "SELECT_OPTION_1015" L7_1 = "SELECT_OPTION_1016" L8_1 = "TIMER_EVENT_1017" L9_1 = "GADGET_STATE_CHANGE_1018" L10_1 = "PLATFORM_REACH_POINT_1019" L11_1 = "PLATFORM_REACH_POINT_1020" L12_1 = "ENTER_REGION_1021" L13_1 = "ENTER_REGION_1022" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_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 L1_1[1] = L2_1 L1_1[2] = L3_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 ~= 1001 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_1001 = L1_1 function L1_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 = 220118001 L5_2 = 1013 L6_2 = {} L7_2 = 72 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_ENTER_REGION_1001 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 1005 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_1004 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 1013 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 72 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_1016 = 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 = 220118001 L5_2 = 1009 L6_2 = GadgetState L6_2 = L6_2.Default 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.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 220118001 L5_2 = 1013 L6_2 = 72 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 = 0 return L2_2 end action_EVENT_SELECT_OPTION_1016 = 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.SetPlatformRouteId L3_2 = A0_2 L4_2 = 1007 L5_2 = 2 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_platform_routeId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 1007 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 : start_platform" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIMER_EVENT_1017 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 1007 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_1018 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 1007 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 : start_platform" 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_1018 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 1007 ~= 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 = A1_2.param3 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_PLATFORM_REACH_POINT_1019 = 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 = 220118001 L5_2 = "time2" 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_PLATFORM_REACH_POINT_1019 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 1007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 2 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param3 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_PLATFORM_REACH_POINT_1020 = 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 = 220118001 L5_2 = 1007 L6_2 = GadgetState L6_2 = L6_2.Default 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.SetPlatformRouteId L3_2 = A0_2 L4_2 = 1007 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_platform_routeId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_PLATFORM_REACH_POINT_1020 = 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 ~= 1021 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_1021 = 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 ~= 1022 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_1022 = 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 = 400450101 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_1022 = L1_1