mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
418 lines
8.6 KiB
Lua
418 lines
8.6 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 = "Quest1028"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest1028"
|
|
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.OnSubStart102801
|
|
L1_2["102801"] = L2_2
|
|
L2_2 = A0_2.OnSubStart102808
|
|
L1_2["102808"] = L2_2
|
|
L2_2 = A0_2.OnSubStart102803
|
|
L1_2["102803"] = L2_2
|
|
L2_2 = A0_2.OnSubStart102804
|
|
L1_2["102804"] = L2_2
|
|
L2_2 = A0_2.OnSubStart102809
|
|
L1_2["102809"] = L2_2
|
|
L2_2 = A0_2.OnSubStart102805
|
|
L1_2["102805"] = L2_2
|
|
L2_2 = A0_2.OnSubStart102802
|
|
L1_2["102802"] = L2_2
|
|
L2_2 = A0_2.OnSubStart102806
|
|
L1_2["102806"] = L2_2
|
|
L2_2 = A0_2.OnSubStart102807
|
|
L1_2["102807"] = 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.OnSubFinish102801
|
|
L1_2["102801"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish102808
|
|
L1_2["102808"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish102803
|
|
L1_2["102803"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish102804
|
|
L1_2["102804"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish102809
|
|
L1_2["102809"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish102805
|
|
L1_2["102805"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish102802
|
|
L1_2["102802"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish102806
|
|
L1_2["102806"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish102807
|
|
L1_2["102807"] = 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, 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, A3_2)
|
|
local L4_2, L5_2, L6_2
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.ActionSafeCall
|
|
function L6_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)
|
|
end
|
|
L1_1.NpcCreateWithActionSafeCall = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "InvokeOnInteraction"
|
|
L2_2(L3_2)
|
|
L2_2 = print
|
|
L3_2 = "refreshjingua"
|
|
L2_2(L3_2)
|
|
if A1_2 == 102809 then
|
|
L2_2 = actorUtils
|
|
L2_2 = L2_2.FinishQuestID
|
|
L3_2 = false
|
|
L4_2 = 102809
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
L1_1.InvokeOnInteraction = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart102801"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart102801 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102801"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish102801 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart102808"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart102808 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102808"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish102808 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart102803"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart102803 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102803"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish102803 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart102804"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.LevelLoadFinishSafeCall
|
|
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.NpcCreateWithBlackscreenInteraction
|
|
L3_3 = A1_2
|
|
L4_3 = L6_1.Npc1030Data
|
|
L4_3 = L4_3.id
|
|
L5_3 = 1
|
|
L6_3 = L6_1.Npc1030Data
|
|
L6_3 = L6_3.alias
|
|
L1_3(L2_3, L3_3, L4_3, L5_3, L6_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubStart102804 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102804"
|
|
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
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.DestroyQuestNpcActor
|
|
L3_3 = L6_1.Npc1030Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 20130
|
|
L1_3(L2_3, L3_3, L4_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish102804 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart102809"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart102809 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102809"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish102809 = 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 = "OnSubStart102805"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreateWithActionSafeCall
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc1030Data
|
|
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.NpcCreateWithActionSafeCall
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc1048Data
|
|
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.NpcCreateWithActionSafeCall
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc1049Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreateWithActionSafeCall
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc1044Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreateWithActionSafeCall
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc12544Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L6_1.Npc1030Data
|
|
L4_2 = L4_2.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DoFreeStyle
|
|
L5_2 = 1230
|
|
L6_2 = true
|
|
L7_2 = nil
|
|
L8_2 = true
|
|
L9_2 = true
|
|
L10_2 = false
|
|
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.GetQuestNpcActor
|
|
L5_2 = L6_1.Npc1048Data
|
|
L5_2 = L5_2.alias
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
L5_2 = L3_2
|
|
L4_2 = L3_2.DoFreeStyle
|
|
L6_2 = 1120
|
|
L7_2 = true
|
|
L8_2 = nil
|
|
L9_2 = true
|
|
L10_2 = true
|
|
L11_2 = false
|
|
L4_2(L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.GetQuestNpcActor
|
|
L6_2 = L6_1.Npc1049Data
|
|
L6_2 = L6_2.alias
|
|
L4_2 = L4_2(L5_2, L6_2)
|
|
L6_2 = L4_2
|
|
L5_2 = L4_2.DoFreeStyle
|
|
L7_2 = 1170
|
|
L8_2 = true
|
|
L9_2 = nil
|
|
L10_2 = true
|
|
L11_2 = true
|
|
L12_2 = false
|
|
L5_2(L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2)
|
|
end
|
|
L1_1.OnSubStart102805 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102805"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish102805 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart102802"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart102802 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102802"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish102802 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart102806"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart102806 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102806"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish102806 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart102807"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart102807 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish102807"
|
|
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
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.ShowTutorialDialog
|
|
L3_3 = 1148
|
|
L1_3(L2_3, L3_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish102807 = L7_1
|
|
return L1_1
|