mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
457 lines
9.7 KiB
Lua
457 lines
9.7 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1
|
|
L0_1 = require
|
|
L1_1 = "Actor/ActorCommon"
|
|
L0_1(L1_1)
|
|
L0_1 = require
|
|
L1_1 = "Actor/Quest/QuestActorProxy"
|
|
L0_1 = L0_1(L1_1)
|
|
L1_1 = class
|
|
L2_1 = "Quest20014"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest20014"
|
|
L2_1 = nil
|
|
L3_1 = nil
|
|
L4_1 = nil
|
|
L5_1 = nil
|
|
L6_1 = nil
|
|
function L7_1(A0_2)
|
|
local L1_2
|
|
L1_2 = A0_2.clientData
|
|
L2_1 = L1_2
|
|
L1_2 = L2_1.MainID
|
|
L3_1 = L1_2
|
|
L1_2 = L2_1.ActorAlias
|
|
L4_1 = L1_2
|
|
L1_2 = L2_1.SubIDs
|
|
L5_1 = L1_2
|
|
L1_2 = L2_1.Npcs
|
|
L6_1 = L1_2
|
|
end
|
|
L1_1.OnDataLoaded = L7_1
|
|
function L7_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
L2_2 = A0_2.OnSubStart2001401
|
|
L1_2["2001401"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2001402
|
|
L1_2["2001402"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2001403
|
|
L1_2["2001403"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2001406
|
|
L1_2["2001406"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2001405
|
|
L1_2["2001405"] = L2_2
|
|
A0_2.subStartHandlers = L1_2
|
|
end
|
|
L1_1.OnSubStartHandlerBuild = L7_1
|
|
function L7_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
L2_2 = A0_2.OnSubFinish2001401
|
|
L1_2["2001401"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2001402
|
|
L1_2["2001402"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2001403
|
|
L1_2["2001403"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2001406
|
|
L1_2["2001406"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2001405
|
|
L1_2["2001405"] = L2_2
|
|
A0_2.subFinishHandlers = L1_2
|
|
end
|
|
L1_1.OnSubFinishHandlerBuild = L7_1
|
|
function L7_1(A0_2)
|
|
local L1_2
|
|
L1_2 = {}
|
|
A0_2.subFailedHandlers = L1_2
|
|
end
|
|
L1_1.OnSubFailedHandlerBuild = L7_1
|
|
function L7_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = print
|
|
L2_2 = "Start"
|
|
L1_2(L2_2)
|
|
end
|
|
L1_1.Start = L7_1
|
|
function L7_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = print
|
|
L2_2 = "OnDestroy"
|
|
L1_2(L2_2)
|
|
end
|
|
L1_1.OnDestroy = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "OnMainFinished"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc1405Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc1408Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnMainFinished = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnMainFailed"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnMainFailed = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = print
|
|
L3_2 = "OnMainCanceled"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc1405Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc1408Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L6_1.Npc1405Data
|
|
L4_2 = L4_2.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DisableInteeHeadCtrl
|
|
L5_2 = false
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.GetQuestNpcActor
|
|
L5_2 = L6_1.Npc1408Data
|
|
L5_2 = L5_2.alias
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
L5_2 = L3_2
|
|
L4_2 = L3_2.DisableInteeHeadCtrl
|
|
L6_2 = false
|
|
L4_2(L5_2, L6_2)
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.ActorDestroy
|
|
L6_2 = "Q20014Trigger"
|
|
L4_2(L5_2, L6_2)
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.LightNotifyTo
|
|
L6_2 = L6_1.Npc1405Data
|
|
L6_2 = L6_2.alias
|
|
L7_2 = 0
|
|
L8_2 = true
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
end
|
|
L1_1.OnMainCanceled = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = actorMgr
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.GetActor
|
|
L4_2 = A1_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= nil then
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DestroySelf
|
|
L3_2(L4_2)
|
|
end
|
|
end
|
|
L1_1.ActorDestroy = L7_1
|
|
function L7_1(A0_2, A1_2, A2_2, A3_2)
|
|
local L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.CreateQuestNpc
|
|
L6_2 = A1_2
|
|
L7_2 = A2_2
|
|
L8_2 = A3_2
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
end
|
|
L1_1.NpcCreate = L7_1
|
|
function L7_1(A0_2, A1_2, A2_2, A3_2, A4_2)
|
|
local L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
|
|
L6_2 = A0_2
|
|
L5_2 = A0_2.ShowBlackScreen
|
|
L7_2 = 0.5
|
|
L8_2 = 1
|
|
L9_2 = 0.5
|
|
function L10_2(A0_3)
|
|
local L1_3, L2_3, L3_3, L4_3, L5_3
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.CreateQuestNpc
|
|
L3_3 = A1_2
|
|
L4_3 = A2_2
|
|
L5_3 = A3_2
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.RequestInteraction
|
|
L3_3 = A4_2
|
|
L1_3(L2_3, L3_3)
|
|
end
|
|
L5_2(L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
end
|
|
L1_1.NpcCreateWithBlackscreenInteraction = L7_1
|
|
function L7_1(A0_2, A1_2, A2_2)
|
|
local L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.ShowBlackScreen
|
|
L5_2 = 0.5
|
|
L6_2 = 1
|
|
L7_2 = 0.5
|
|
function L8_2(A0_3)
|
|
local L1_3, L2_3, L3_3, L4_3
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.SafeDestroyQuestNpc
|
|
L3_3 = A2_2
|
|
L4_3 = A1_2
|
|
L1_3(L2_3, L3_3, L4_3)
|
|
end
|
|
L9_2 = nil
|
|
L10_2 = nil
|
|
L11_2 = ""
|
|
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
|
|
end
|
|
L1_1.NpcDestroyWithBlackscreen = L7_1
|
|
function L7_1(A0_2, A1_2, A2_2)
|
|
local L3_2, L4_2, L5_2, L6_2
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.SafeDestroyQuestNpc
|
|
L5_2 = A1_2
|
|
L6_2 = A2_2
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.NpcDestroy = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2001401"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreate
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc1405Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreate
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc1408Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L6_1.Npc1405Data
|
|
L4_2 = L4_2.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DisableInteeHeadCtrl
|
|
L5_2 = true
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.GetQuestNpcActor
|
|
L5_2 = L6_1.Npc1408Data
|
|
L5_2 = L5_2.alias
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
L5_2 = L3_2
|
|
L4_2 = L3_2.DisableInteeHeadCtrl
|
|
L6_2 = true
|
|
L4_2(L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2001401 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2001401"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ShowBlackScreen
|
|
L4_2 = 0.5
|
|
L5_2 = 1
|
|
L6_2 = 0.5
|
|
L7_2 = nil
|
|
L8_2 = nil
|
|
L9_2 = nil
|
|
L10_2 = ""
|
|
L11_2 = false
|
|
L12_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActionSafeCall
|
|
function L4_2(A0_3)
|
|
local L1_3, L2_3, L3_3, L4_3, L5_3, L6_3
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.GetQuestNpcActor
|
|
L3_3 = L6_1.Npc1405Data
|
|
L3_3 = L3_3.alias
|
|
L1_3 = L1_3(L2_3, L3_3)
|
|
L3_3 = L1_3
|
|
L2_3 = L1_3.DisableInteeHeadCtrl
|
|
L4_3 = false
|
|
L2_3(L3_3, L4_3)
|
|
L3_3 = A0_3
|
|
L2_3 = A0_3.GetQuestNpcActor
|
|
L4_3 = L6_1.Npc1408Data
|
|
L4_3 = L4_3.alias
|
|
L2_3 = L2_3(L3_3, L4_3)
|
|
L4_3 = L2_3
|
|
L3_3 = L2_3.DisableInteeHeadCtrl
|
|
L5_3 = false
|
|
L3_3(L4_3, L5_3)
|
|
L4_3 = A0_3
|
|
L3_3 = A0_3.SafeDestroyQuestNpc
|
|
L5_3 = L6_1.Npc1405Data
|
|
L5_3 = L5_3.alias
|
|
L6_3 = 3
|
|
L3_3(L4_3, L5_3, L6_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish2001401 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2001402"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActionSafeCall
|
|
function L4_2(A0_3)
|
|
local L1_3, L2_3, L3_3, L4_3, L5_3
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.NotifyTo
|
|
L3_3 = L6_1.Npc1405Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 1
|
|
L5_3 = true
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.NpcCreate
|
|
L3_3 = A1_2
|
|
L4_3 = L6_1.Npc1408Data
|
|
L4_3 = L4_3.id
|
|
L5_3 = 2
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubStart2001402 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2001402"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish2001402 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2001403"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart2001403 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2001403"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish2001403 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2001406"
|
|
L2_2(L3_2)
|
|
L2_2 = actorMgr
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.CreateActorWithPos
|
|
L4_2 = "Q20014Trigger"
|
|
L5_2 = "Actor/Gadget/Q20014Trigger"
|
|
L6_2 = 70900002
|
|
L7_2 = 0
|
|
L8_2 = sceneData
|
|
L9_2 = L8_2
|
|
L8_2 = L8_2.GetDummyPoint
|
|
L10_2 = 3
|
|
L11_2 = "Q2001402"
|
|
L8_2 = L8_2(L9_2, L10_2, L11_2)
|
|
L8_2 = L8_2.pos
|
|
L9_2 = sceneData
|
|
L10_2 = L9_2
|
|
L9_2 = L9_2.GetDummyPoint
|
|
L11_2 = 3
|
|
L12_2 = "Q2001402"
|
|
L9_2 = L9_2(L10_2, L11_2, L12_2)
|
|
L9_2 = L9_2.rot
|
|
L10_2 = true
|
|
L11_2 = false
|
|
L12_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = L6_1.Npc1405Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2001406 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2001406"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActorDestroy
|
|
L4_2 = "Q20014Trigger"
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish2001406 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2001405"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreateWithBlackscreenInteraction
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc1405Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 1
|
|
L7_2 = L6_1.Npc1405Data
|
|
L7_2 = L7_2.alias
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
|
|
end
|
|
L1_1.OnSubStart2001405 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2001405"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcDestroyWithBlackscreen
|
|
L4_2 = 3
|
|
L5_2 = L6_1.Npc1405Data
|
|
L5_2 = L5_2.alias
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcDestroy
|
|
L4_2 = L6_1.Npc1408Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubFinish2001405 = L7_1
|
|
return L1_1
|