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 = 133008107 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 107001 L2_1.gadget_id = 70380023 L3_1 = {} L3_1.x = 1179.867 L3_1.y = 372.229 L3_1.z = -957.783 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 111.574 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 30 L2_1.route_id = 300800024 L2_1.start_route = false L2_1.persistent = true L2_1.area_id = 10 L3_1 = {} L3_1.config_id = 107002 L3_1.gadget_id = 70350081 L4_1 = {} L4_1.x = 1178.486 L4_1.y = 375.86 L4_1.z = -963.538 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 140.617 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 30 L4_1 = GadgetState L4_1 = L4_1.GearStop L3_1.state = L4_1 L3_1.persistent = true L3_1.area_id = 10 L4_1 = {} L4_1.config_id = 107003 L4_1.gadget_id = 70220054 L5_1 = {} L5_1.x = 1184.387 L5_1.y = 369.74 L5_1.z = -959.578 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 286.41 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 30 L5_1 = GadgetState L5_1 = L5_1.GearStop L4_1.state = L5_1 L4_1.route_id = 300800097 L4_1.persistent = true L4_1.area_id = 10 L5_1 = {} L5_1.config_id = 107005 L5_1.gadget_id = 70360001 L6_1 = {} L6_1.x = 1178.534 L6_1.y = 376.799 L6_1.z = -963.57 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 291.481 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 30 L5_1.persistent = true L5_1.area_id = 10 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 = 107011 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 20.6 L3_1 = {} L3_1.x = 1188.482 L3_1.y = 372.229 L3_1.z = -956.889 L2_1.pos = L3_1 L2_1.area_id = 10 L1_1[1] = L2_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1107004 L2_1.name = "GADGET_STATE_CHANGE_107004" 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_107004" L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_107004" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1107006 L3_1.name = "GADGET_CREATE_107006" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_CREATE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_CREATE_107006" L3_1.action = "action_EVENT_GADGET_CREATE_107006" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1107007 L4_1.name = "SELECT_OPTION_107007" L5_1 = EventType L5_1 = L5_1.EVENT_SELECT_OPTION L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_SELECT_OPTION_107007" L4_1.action = "action_EVENT_SELECT_OPTION_107007" L5_1 = {} L5_1.config_id = 1107008 L5_1.name = "GROUP_LOAD_107008" 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_107008" L5_1.action = "action_EVENT_GROUP_LOAD_107008" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1107009 L6_1.name = "GADGET_STATE_CHANGE_107009" L7_1 = EventType L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_107009" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_107009" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1107010 L7_1.name = "ANY_GADGET_DIE_107010" L8_1 = EventType L8_1 = L8_1.EVENT_ANY_GADGET_DIE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_ANY_GADGET_DIE_107010" L7_1.action = "action_EVENT_ANY_GADGET_DIE_107010" L8_1 = {} L8_1.config_id = 1107011 L8_1.name = "ENTER_REGION_107011" 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_107011" L8_1.action = "action_EVENT_ENTER_REGION_107011" L9_1 = {} L9_1.config_id = 1107012 L9_1.name = "PLATFORM_REACH_POINT_107012" 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_107012" L9_1.action = "action_EVENT_PLATFORM_REACH_POINT_107012" 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 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "water" L2_1.value = 0 L2_1.no_refresh = true L1_1[1] = L2_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 = 107001 L5_1 = 107002 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 107011 L3_1[1] = L4_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_STATE_CHANGE_107004" L5_1 = "GADGET_CREATE_107006" L6_1 = "SELECT_OPTION_107007" L7_1 = "GROUP_LOAD_107008" L8_1 = "GADGET_STATE_CHANGE_107009" L9_1 = "ANY_GADGET_DIE_107010" L10_1 = "ENTER_REGION_107011" L11_1 = "PLATFORM_REACH_POINT_107012" 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 L2_2 = A1_2.param2 if 107003 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStop 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_107004 = 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 = 107003 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_107004 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 107005 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_107006 = 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 = 133008107 L5_2 = 107005 L6_2 = {} L7_2 = 24 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_GADGET_CREATE_107006 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 107005 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 24 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_107007 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 107002 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.StartPlatform L3_2 = A0_2 L4_2 = 107001 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 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 107005 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 = {} L2_2.x = 1184 L2_2.y = 372 L2_2.z = -956 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.SetGroupVariableValue L5_2 = A0_2 L6_2 = "water" L7_2 = 1 L4_2 = L4_2(L5_2, L6_2, L7_2) if 0 ~= L4_2 then L4_2 = ScriptLib L4_2 = L4_2.PrintContextLog L5_2 = A0_2 L6_2 = "@@ LUA_WARNING : set_groupVariable" L4_2(L5_2, L6_2) L4_2 = -1 return L4_2 end L4_2 = 0 return L4_2 end action_EVENT_SELECT_OPTION_107007 = 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 = "water" 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_107008 = 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 = 107001 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_GROUP_LOAD_107008 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 107003 == 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_107009 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.StopPlatform L3_2 = A0_2 L4_2 = 107003 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 : stop_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_107009 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 107003 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_107010 = 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 = 107002 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.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 107005 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.StopPlatform L3_2 = A0_2 L4_2 = 107003 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 : stop_platform" 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_107010 = 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 ~= 107011 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_107011 = 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 = 107003 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 = {} L2_2.x = 1184 L2_2.y = 372 L2_2.z = -956 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_ENTER_REGION_107011 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 107001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 300800024 ~= 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_107012 = 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "water" 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_groupVariable" 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_107012 = L1_1