Grasscutter_Resources/Resources/Scripts/Scene/20121/scene20121_group220121008.lua
2022-04-29 16:40:51 +02:00

175 lines
3.3 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1
L0_1 = {}
L0_1.group_id = 220121008
L1_1 = {}
L1_1.point_sum = 11
L1_1.route_2 = 2
L1_1.gadget_seelie = 8002
L2_1 = L1_1.point_sum
L2_1 = L2_1 - 1
L1_1.final_point = L2_1
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 8002
L3_1.gadget_id = 70710010
L4_1 = {}
L4_1.x = -34.518
L4_1.y = -255.698
L4_1.z = 40.379
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 183.424
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.route_id = 2
L3_1.start_route = false
L2_1[1] = L3_1
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1008005
L3_1.name = "PLATFORM_REACH_POINT_8005"
L4_1 = EventType
L4_1 = L4_1.EVENT_PLATFORM_REACH_POINT
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_8005"
L3_1.action = "action_EVENT_PLATFORM_REACH_POINT_8005"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1008007
L4_1.name = "QUEST_FINISH_8007"
L5_1 = EventType
L5_1 = L5_1.EVENT_QUEST_FINISH
L4_1.event = L5_1
L4_1.source = "1101329"
L4_1.condition = ""
L4_1.action = "action_EVENT_QUEST_FINISH_8007"
L4_1.trigger_count = 0
L2_1[1] = L3_1
L2_1[2] = L4_1
triggers = L2_1
L2_1 = {}
variables = 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 = 8002
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "PLATFORM_REACH_POINT_8005"
L6_1 = "QUEST_FINISH_8007"
L4_1[1] = L5_1
L4_1[2] = L6_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
L2_1[1] = L3_1
L2_1[2] = L4_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 8002 ~= 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 8 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_PLATFORM_REACH_POINT_8005 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 8002
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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220121008
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 = 0
return L2_2
end
action_EVENT_PLATFORM_REACH_POINT_8005 = L2_1
function L2_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 = 8002
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_QUEST_FINISH_8007 = L2_1