mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
445 lines
9.2 KiB
Lua
445 lines
9.2 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 = "Quest71040"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest71040"
|
|
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.OnSubStart7104010
|
|
L1_2["7104010"] = L2_2
|
|
L2_2 = A0_2.OnSubStart7104001
|
|
L1_2["7104001"] = L2_2
|
|
L2_2 = A0_2.OnSubStart7104009
|
|
L1_2["7104009"] = L2_2
|
|
L2_2 = A0_2.OnSubStart7104002
|
|
L1_2["7104002"] = L2_2
|
|
L2_2 = A0_2.OnSubStart7104003
|
|
L1_2["7104003"] = L2_2
|
|
L2_2 = A0_2.OnSubStart7104005
|
|
L1_2["7104005"] = L2_2
|
|
L2_2 = A0_2.OnSubStart7104008
|
|
L1_2["7104008"] = 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.OnSubFinish7104010
|
|
L1_2["7104010"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish7104001
|
|
L1_2["7104001"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish7104009
|
|
L1_2["7104009"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish7104002
|
|
L1_2["7104002"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish7104003
|
|
L1_2["7104003"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish7104005
|
|
L1_2["7104005"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish7104008
|
|
L1_2["7104008"] = 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
|
|
L2_2 = print
|
|
L3_2 = "OnMainFinished"
|
|
L2_2(L3_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
|
|
L2_2 = print
|
|
L3_2 = "OnMainCanceled"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnMainCanceled = 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)
|
|
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, A3_2)
|
|
local L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.ShowBlackScreen
|
|
L6_2 = 0.5
|
|
L7_2 = 1
|
|
L8_2 = 0.5
|
|
function L9_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)
|
|
end
|
|
L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
end
|
|
L1_1.NpcCreateWithBlackscreen = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart7104010"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart7104010 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish7104010"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish7104010 = 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 = "OnSubStart7104001"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreate
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc20524Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart7104001 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish7104001"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcDestroyWithBlackscreen
|
|
L4_2 = 6
|
|
L5_2 = L6_1.Npc20524Data
|
|
L5_2 = L5_2.alias
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubFinish7104001 = 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, L13_2, L14_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart7104009"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreateWithBlackscreen
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc20523Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = actorUtils
|
|
L2_2 = L2_2.GetAvatarPos
|
|
L2_2 = L2_2()
|
|
L3_2 = actorUtils
|
|
L3_2 = L3_2.GetAvatarForward
|
|
L3_2 = L3_2()
|
|
L4_2 = -0.05
|
|
L5_2 = 1
|
|
L6_2 = L2_2.x
|
|
L7_2 = L3_2.x
|
|
L7_2 = L7_2 * L4_2
|
|
L6_2 = L6_2 + L7_2
|
|
L2_2.x = L6_2
|
|
L6_2 = L2_2.z
|
|
L7_2 = L3_2.z
|
|
L7_2 = L7_2 * L5_2
|
|
L6_2 = L6_2 + L7_2
|
|
L2_2.z = L6_2
|
|
L6_2 = print
|
|
L7_2 = L3_2.x
|
|
L8_2 = ","
|
|
L9_2 = L3_2.y
|
|
L10_2 = ","
|
|
L11_2 = L3_2.z
|
|
L7_2 = L7_2 .. L8_2 .. L9_2 .. L10_2 .. L11_2
|
|
L6_2(L7_2)
|
|
L6_2 = L3_2
|
|
L7_2 = L6_2.x
|
|
L7_2 = L7_2 * -0.1
|
|
L6_2.x = L7_2
|
|
L7_2 = L6_2.z
|
|
L7_2 = L7_2 * -1
|
|
L6_2.z = L7_2
|
|
L8_2 = A0_2
|
|
L7_2 = A0_2.CreateQuestNpcByIdWithPos
|
|
L9_2 = 7104009
|
|
L10_2 = L6_1.PaimonData
|
|
L10_2 = L10_2.id
|
|
L11_2 = 1
|
|
L12_2 = L2_2
|
|
L13_2 = M
|
|
L13_2 = L13_2.Dir2Euler
|
|
L14_2 = L6_2
|
|
L13_2, L14_2 = L13_2(L14_2)
|
|
L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2)
|
|
L8_2 = A0_2
|
|
L7_2 = A0_2.CallDelay
|
|
L9_2 = 1
|
|
function L10_2()
|
|
local L0_3, L1_3, L2_3
|
|
L0_3 = A0_2
|
|
L1_3 = L0_3
|
|
L0_3 = L0_3.RequestInteraction
|
|
L2_3 = L6_1.PaimonData
|
|
L2_3 = L2_3.alias
|
|
L0_3(L1_3, L2_3)
|
|
end
|
|
L7_2(L8_2, L9_2, L10_2)
|
|
end
|
|
L1_1.OnSubStart7104009 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish7104009"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcDestroyWithBlackscreen
|
|
L4_2 = 6
|
|
L5_2 = L6_1.Npc20523Data
|
|
L5_2 = L5_2.alias
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L6_1.PaimonData
|
|
L4_2 = L4_2.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DestroyWithDisappear
|
|
L5_2 = false
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubFinish7104009 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart7104002"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart7104002 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish7104002"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish7104002 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart7104003"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart7104003 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish7104003"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish7104003 = 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, L13_2, L14_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart7104005"
|
|
L2_2(L3_2)
|
|
L2_2 = actorUtils
|
|
L2_2 = L2_2.GetAvatarPos
|
|
L2_2 = L2_2()
|
|
L3_2 = actorUtils
|
|
L3_2 = L3_2.GetAvatarForward
|
|
L3_2 = L3_2()
|
|
L4_2 = -0.05
|
|
L5_2 = 1
|
|
L6_2 = L2_2.x
|
|
L7_2 = L3_2.x
|
|
L7_2 = L7_2 * L4_2
|
|
L6_2 = L6_2 + L7_2
|
|
L2_2.x = L6_2
|
|
L6_2 = L2_2.z
|
|
L7_2 = L3_2.z
|
|
L7_2 = L7_2 * L5_2
|
|
L6_2 = L6_2 + L7_2
|
|
L2_2.z = L6_2
|
|
L6_2 = print
|
|
L7_2 = L3_2.x
|
|
L8_2 = ","
|
|
L9_2 = L3_2.y
|
|
L10_2 = ","
|
|
L11_2 = L3_2.z
|
|
L7_2 = L7_2 .. L8_2 .. L9_2 .. L10_2 .. L11_2
|
|
L6_2(L7_2)
|
|
L6_2 = L3_2
|
|
L7_2 = L6_2.x
|
|
L7_2 = L7_2 * -0.1
|
|
L6_2.x = L7_2
|
|
L7_2 = L6_2.z
|
|
L7_2 = L7_2 * -1
|
|
L6_2.z = L7_2
|
|
L8_2 = A0_2
|
|
L7_2 = A0_2.CreateQuestNpcByIdWithPos
|
|
L9_2 = 7104005
|
|
L10_2 = L6_1.PaimonData
|
|
L10_2 = L10_2.id
|
|
L11_2 = 1
|
|
L12_2 = L2_2
|
|
L13_2 = M
|
|
L13_2 = L13_2.Dir2Euler
|
|
L14_2 = L6_2
|
|
L13_2, L14_2 = L13_2(L14_2)
|
|
L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2)
|
|
L8_2 = A0_2
|
|
L7_2 = A0_2.CallDelay
|
|
L9_2 = 1
|
|
function L10_2()
|
|
local L0_3, L1_3, L2_3
|
|
L0_3 = A0_2
|
|
L1_3 = L0_3
|
|
L0_3 = L0_3.RequestInteraction
|
|
L2_3 = L6_1.PaimonData
|
|
L2_3 = L2_3.alias
|
|
L0_3(L1_3, L2_3)
|
|
end
|
|
L7_2(L8_2, L9_2, L10_2)
|
|
end
|
|
L1_1.OnSubStart7104005 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish7104005"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L6_1.PaimonData
|
|
L4_2 = L4_2.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DestroyWithDisappear
|
|
L5_2 = false
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubFinish7104005 = 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 = "OnSubStart7104008"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.PlayCutsceneIndex
|
|
L4_2 = "7104001"
|
|
function L5_2(A0_3)
|
|
local L1_3, L2_3, L3_3, L4_3, L5_3
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.TransmitPlayerById
|
|
L3_3 = A1_2
|
|
L4_3 = 1
|
|
function L5_3(A0_4)
|
|
local L1_4, L2_4, L3_4
|
|
L1_4 = actorUtils
|
|
L1_4 = L1_4.FinishQuestID
|
|
L2_4 = false
|
|
L3_4 = 7104008
|
|
L1_4(L2_4, L3_4)
|
|
end
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
end
|
|
L6_2 = nil
|
|
L7_2 = nil
|
|
L8_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2)
|
|
end
|
|
L1_1.OnSubStart7104008 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish7104008"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish7104008 = L7_1
|
|
return L1_1
|