mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
336 lines
6.8 KiB
Lua
336 lines
6.8 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_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 = "Quest22041"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest22041"
|
|
L2_1 = nil
|
|
L3_1 = nil
|
|
L4_1 = nil
|
|
L5_1 = nil
|
|
L6_1 = nil
|
|
L7_1 = nil
|
|
function L8_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
|
|
L1_2 = L2_1.Datas
|
|
L7_1 = L1_2
|
|
end
|
|
L1_1.OnDataLoaded = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
L2_2 = A0_2.OnSubStart2204101
|
|
L1_2["2204101"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2204102
|
|
L1_2["2204102"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2204103
|
|
L1_2["2204103"] = L2_2
|
|
A0_2.subStartHandlers = L1_2
|
|
end
|
|
L1_1.OnSubStartHandlerBuild = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
L2_2 = A0_2.OnSubFinish2204101
|
|
L1_2["2204101"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2204102
|
|
L1_2["2204102"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2204103
|
|
L1_2["2204103"] = L2_2
|
|
A0_2.subFinishHandlers = L1_2
|
|
end
|
|
L1_1.OnSubFinishHandlerBuild = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
L2_2 = A0_2.OnSubFailed2204101
|
|
L1_2["2204101"] = L2_2
|
|
L2_2 = A0_2.OnSubFailed2204102
|
|
L1_2["2204102"] = L2_2
|
|
L2_2 = A0_2.OnSubFailed2204103
|
|
L1_2["2204103"] = L2_2
|
|
A0_2.subFailedHandlers = L1_2
|
|
end
|
|
L1_1.OnSubFailedHandlerBuild = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = print
|
|
L2_2 = "Start"
|
|
L1_2(L2_2)
|
|
end
|
|
L1_1.Start = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = print
|
|
L2_2 = "OnDestroy"
|
|
L1_2(L2_2)
|
|
end
|
|
L1_1.OnDestroy = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnMainFinished"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnMainFinished = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnMainFailed"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnMainFailed = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "OnMainCanceled"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc20283Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActorDestroy
|
|
L4_2 = "Q22041Trigger1"
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnMainCanceled = L8_1
|
|
function L8_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 = L8_1
|
|
function L8_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 = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2
|
|
L1_2 = print
|
|
L2_2 = "StartHelp"
|
|
L1_2(L2_2)
|
|
L1_2 = actorMgr
|
|
L2_2 = L1_2
|
|
L1_2 = L1_2.GetActor
|
|
L3_2 = "Npc20379"
|
|
L1_2 = L1_2(L2_2, L3_2)
|
|
L3_2 = L1_2
|
|
L2_2 = L1_2.DoFreeStyle
|
|
L4_2 = 1
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.StartHelp = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2
|
|
L1_2 = print
|
|
L2_2 = "CountDown"
|
|
L1_2(L2_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.FinishQuestID
|
|
L3_2 = true
|
|
L4_2 = 2204102
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
end
|
|
L1_1.CountDown = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2
|
|
L1_2 = print
|
|
L2_2 = "StartCount"
|
|
L1_2(L2_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.CountDownUIStart
|
|
L3_2 = 60
|
|
L4_2 = 10
|
|
L5_2 = 3
|
|
L1_2(L2_2, L3_2, L4_2, L5_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.CallDelay
|
|
L3_2 = 63
|
|
L4_2 = A0_2.CountDown
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
end
|
|
L1_1.StartCount = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2204101"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc20283Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2204101 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2204101"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NarratorOnlyTask
|
|
L4_2 = L7_1.NarratorTable
|
|
L5_2 = nil
|
|
L6_2 = ""
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubFinish2204101 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2204101"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFailed2204101 = L8_1
|
|
function L8_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
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2204102"
|
|
L2_2(L3_2)
|
|
L2_2 = actorMgr
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.CreateActorWithPos
|
|
L4_2 = "Q22041Trigger1"
|
|
L5_2 = "Actor/Gadget/Q22041Trigger1"
|
|
L6_2 = 70900002
|
|
L7_2 = 0
|
|
L8_2 = sceneData
|
|
L9_2 = L8_2
|
|
L8_2 = L8_2.GetDummyPoint
|
|
L10_2 = 3
|
|
L11_2 = "Q22041_QINZI"
|
|
L8_2 = L8_2(L9_2, L10_2, L11_2)
|
|
L8_2 = L8_2.pos
|
|
L9_2 = {}
|
|
L9_2.x = 0
|
|
L9_2.y = 0
|
|
L9_2.z = 0
|
|
L10_2 = true
|
|
L11_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CallDelay
|
|
L4_2 = 1
|
|
L5_2 = A0_2.StartHelp
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubStart2204102 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2204102"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NarratorOnlyTask
|
|
L4_2 = L7_1.NarratorTable1
|
|
L5_2 = nil
|
|
L6_2 = ""
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActorDestroy
|
|
L4_2 = "Q22041Trigger1"
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish2204102 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2204102"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActorDestroy
|
|
L4_2 = "Q22041Trigger1"
|
|
L2_2(L3_2, L4_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NarratorOnlyTask
|
|
L4_2 = L7_1.NarratorTable2
|
|
L5_2 = nil
|
|
L6_2 = ""
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubFailed2204102 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2204103"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CountDownUITerminate
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.UnCallFunc
|
|
L4_2 = A0_2.CountDown
|
|
L2_2(L3_2, L4_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CountNumUITerminate
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart2204103 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2204103"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcDestroyWithBlackscreen
|
|
L4_2 = 3
|
|
L5_2 = L6_1.Npc20283Data
|
|
L5_2 = L5_2.alias
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubFinish2204103 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2204103"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFailed2204103 = L8_1
|
|
return L1_1
|