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, L8_1, L9_1, L10_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 = "Quest10111"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest10111"
|
|
L2_1 = require
|
|
L3_1 = "Actor/Npc/NPCUtil"
|
|
L2_1 = L2_1(L3_1)
|
|
L3_1 = nil
|
|
L4_1 = nil
|
|
L5_1 = nil
|
|
L6_1 = nil
|
|
L7_1 = nil
|
|
L8_1 = nil
|
|
L9_1 = nil
|
|
function L10_1(A0_2)
|
|
local L1_2
|
|
L1_2 = A0_2.clientData
|
|
L3_1 = L1_2
|
|
L1_2 = A0_2.shareData
|
|
L4_1 = L1_2
|
|
L1_2 = L3_1.PlayerData
|
|
L5_1 = L1_2
|
|
L1_2 = L4_1.QuestData
|
|
L1_2 = L1_2["1011101"]
|
|
L1_2 = L1_2.npcs
|
|
L1_2 = L1_2[1]
|
|
L6_1 = L1_2
|
|
L1_2 = L4_1.QuestData
|
|
L1_2 = L1_2["1011102"]
|
|
L1_2 = L1_2.npcs
|
|
L1_2 = L1_2[1]
|
|
L7_1 = L1_2
|
|
L1_2 = L4_1.QuestData
|
|
L1_2 = L1_2["1011102"]
|
|
L1_2 = L1_2.npcs
|
|
L1_2 = L1_2[2]
|
|
L8_1 = L1_2
|
|
L1_2 = L3_1.NarratorData
|
|
L9_1 = L1_2
|
|
end
|
|
L1_1.OnDataLoaded = L10_1
|
|
function L10_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subStartHandlers = L1_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart1011101
|
|
L1_2["1011101"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart1011102
|
|
L1_2["1011102"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart1011103
|
|
L1_2["1011103"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart1011104
|
|
L1_2["1011104"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart1011105
|
|
L1_2["1011105"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart1011106
|
|
L1_2["1011106"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart1011107
|
|
L1_2["1011107"] = L2_2
|
|
end
|
|
L1_1.OnSubStartHandlerBuild = L10_1
|
|
function L10_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subFinishHandlers = L1_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish1011101
|
|
L1_2["1011101"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish1011102
|
|
L1_2["1011102"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish1011103
|
|
L1_2["1011103"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish1011104
|
|
L1_2["1011104"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish1011105
|
|
L1_2["1011105"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish1011106
|
|
L1_2["1011106"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish1011107
|
|
L1_2["1011107"] = L2_2
|
|
end
|
|
L1_1.OnSubFinishHandlerBuild = L10_1
|
|
function L10_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.GetQuestNpcActor
|
|
L3_2 = L6_1.alias
|
|
L1_2 = L1_2(L2_2, L3_2)
|
|
if L1_2 ~= nil then
|
|
L3_2 = L1_2
|
|
L2_2 = L1_2.Destroy
|
|
L4_2 = false
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L7_1.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= nil then
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.Destroy
|
|
L5_2 = false
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.GetQuestNpcActor
|
|
L5_2 = L8_1.alias
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if L3_2 ~= nil then
|
|
L5_2 = L3_2
|
|
L4_2 = L3_2.Destroy
|
|
L6_2 = false
|
|
L4_2(L5_2, L6_2)
|
|
end
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.GetQuestNpcActor
|
|
L6_2 = "Paimon"
|
|
L4_2 = L4_2(L5_2, L6_2)
|
|
if L4_2 ~= nil then
|
|
L6_2 = L4_2
|
|
L5_2 = L4_2.DestroyWithDisappear
|
|
L7_2 = false
|
|
L5_2(L6_2, L7_2)
|
|
end
|
|
end
|
|
L1_1.DestoryAllNPC = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = "Npc1411"
|
|
L5_2 = L2_1.NpcEventType
|
|
L5_2 = L5_2.HIDESELF
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = "Npc1605"
|
|
L5_2 = L2_1.NpcEventType
|
|
L5_2 = L5_2.STARTDAILY
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ClearNarratorTask
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubStart1011101 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
end
|
|
L1_1.OnSubFinish1011101 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L7_1.id
|
|
L6_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L8_1.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 = L7_1.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= nil then
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DoFreeStyle
|
|
L5_2 = 4190
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.GetQuestNpcActor
|
|
L5_2 = L8_1.alias
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if L3_2 ~= nil then
|
|
L5_2 = L3_2
|
|
L4_2 = L3_2.DoFreeStyle
|
|
L6_2 = 4050
|
|
L4_2(L5_2, L6_2)
|
|
end
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.NarratorOnlyTaskLegacy
|
|
L6_2 = L9_1.Story3
|
|
L7_2 = nil
|
|
L8_2 = "Talk"
|
|
L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
end
|
|
L1_1.OnSubStart1011102 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "1011107 Finish:Shwo UI Guide"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CallDelay
|
|
L4_2 = 2
|
|
function L5_2()
|
|
local L0_3, L1_3, L2_3
|
|
L0_3 = globalActor
|
|
L1_3 = L0_3
|
|
L0_3 = L0_3.StartGuide
|
|
L2_3 = "GuideWendyQuestSkilliOS"
|
|
L0_3(L1_3, L2_3)
|
|
end
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubFinish1011107 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NarratorOnlyTaskLegacy
|
|
L4_2 = L9_1.Story1
|
|
L5_2 = nil
|
|
L6_2 = "Talk"
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.EnterSceneLookCamera
|
|
L4_2 = sceneData
|
|
L5_2 = L4_2
|
|
L4_2 = L4_2.GetDummyPoint
|
|
L6_2 = 20032
|
|
L7_2 = "Q1011102Stanly"
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
L4_2 = L4_2.pos
|
|
L5_2 = 0
|
|
L6_2 = 3
|
|
L7_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateSpeechBubbleTask
|
|
L4_2 = L7_1.id
|
|
L5_2 = 101110202
|
|
L6_2 = 3
|
|
L7_2 = true
|
|
L8_2 = 4
|
|
L9_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateSpeechBubbleTask
|
|
L4_2 = L8_1.id
|
|
L5_2 = 101110203
|
|
L6_2 = 3
|
|
L7_2 = true
|
|
L8_2 = 4
|
|
L9_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
end
|
|
L1_1.OnSubFinish1011102 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ClearSpeechBubbleTask
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L7_1.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= nil then
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DoFreeStyle
|
|
L5_2 = 1270
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.CallDelay
|
|
L5_2 = 5
|
|
function L6_2()
|
|
local L0_3, L1_3, L2_3
|
|
L0_3 = L2_2
|
|
if L0_3 ~= nil then
|
|
L0_3 = L2_2
|
|
L1_3 = L0_3
|
|
L0_3 = L0_3.DoFreeStyle
|
|
L2_3 = 1120
|
|
L0_3(L1_3, L2_3)
|
|
end
|
|
end
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.GetQuestNpcActor
|
|
L5_2 = L8_1.alias
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if L3_2 ~= nil then
|
|
L5_2 = L3_2
|
|
L4_2 = L3_2.DoFreeStateTrigger
|
|
L4_2(L5_2)
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.CallDelay
|
|
L6_2 = 1
|
|
function L7_2()
|
|
local L0_3, L1_3, L2_3
|
|
L0_3 = L3_2
|
|
L1_3 = L0_3
|
|
L0_3 = L0_3.DoFreeStyle
|
|
L2_3 = 1230
|
|
L0_3(L1_3, L2_3)
|
|
end
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
end
|
|
end
|
|
L1_1.OnSubFinish1011103 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "1011104 Finish:Play Narrator"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActionSafeCall
|
|
function L4_2()
|
|
local L0_3, L1_3, L2_3, L3_3, L4_3
|
|
L0_3 = A0_2
|
|
L1_3 = L0_3
|
|
L0_3 = L0_3.DestoryAllNPC
|
|
L0_3(L1_3)
|
|
L0_3 = A0_2
|
|
L1_3 = L0_3
|
|
L0_3 = L0_3.NarratorOnlyTaskLegacy
|
|
L2_3 = L9_1.Story2
|
|
L3_3 = nil
|
|
L4_3 = "Talk"
|
|
L0_3(L1_3, L2_3, L3_3, L4_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish1011104 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ClearNarratorTask
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CallDelay
|
|
L4_2 = 2
|
|
function L5_2()
|
|
local L0_3, L1_3, L2_3, L3_3, L4_3, L5_3, L6_3, L7_3, L8_3
|
|
L0_3 = A0_2.CreateQuestNpcCreateTask
|
|
L1_3 = {}
|
|
L2_3 = L6_1.alias
|
|
L3_3 = L7_1.alias
|
|
L4_3 = L8_1.alias
|
|
L1_3[1] = L2_3
|
|
L1_3[2] = L3_3
|
|
L1_3[3] = L4_3
|
|
L0_3 = L0_3(L1_3)
|
|
L1_3 = A0_2
|
|
L2_3 = L1_3
|
|
L1_3 = L1_3.ShowBlackScreen
|
|
L3_3 = 0.5
|
|
L4_3 = 1
|
|
L5_3 = 0.5
|
|
function L6_3()
|
|
local L0_4, L1_4, L2_4, L3_4, L4_4
|
|
L0_4 = A0_2
|
|
L1_4 = L0_4
|
|
L0_4 = L0_4.CreateQuestNpc
|
|
L2_4 = A1_2
|
|
L3_4 = L6_1.id
|
|
L4_4 = 1
|
|
L0_4(L1_4, L2_4, L3_4, L4_4)
|
|
L0_4 = A0_2
|
|
L1_4 = L0_4
|
|
L0_4 = L0_4.CreateQuestNpc
|
|
L2_4 = A1_2
|
|
L3_4 = L7_1.id
|
|
L4_4 = 2
|
|
L0_4(L1_4, L2_4, L3_4, L4_4)
|
|
L0_4 = A0_2
|
|
L1_4 = L0_4
|
|
L0_4 = L0_4.CreateQuestNpc
|
|
L2_4 = A1_2
|
|
L3_4 = L8_1.id
|
|
L4_4 = 3
|
|
L0_4(L1_4, L2_4, L3_4, L4_4)
|
|
L0_4 = A0_2
|
|
L1_4 = L0_4
|
|
L0_4 = L0_4.RequestInteraction
|
|
L2_4 = L6_1.alias
|
|
L0_4(L1_4, L2_4)
|
|
end
|
|
L7_3 = nil
|
|
L8_3 = L0_3
|
|
L1_3(L2_3, L3_3, L4_3, L5_3, L6_3, L7_3, L8_3)
|
|
end
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubStart1011106 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActionSafeCall
|
|
L4_2 = A0_2.DestoryAllNPC
|
|
L2_2(L3_2, L4_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = "Npc1411"
|
|
L5_2 = L2_1.NpcEventType
|
|
L5_2 = L5_2.STARTDAILY
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubFinish1011106 = L10_1
|
|
function L10_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
if A1_2 == 1 then
|
|
L2_2 = print
|
|
L3_2 = "Talk Invork:Quest finish"
|
|
L2_2(L3_2)
|
|
L2_2 = actorMgr
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.GetActor
|
|
L4_2 = L3_1.ActorAlias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= nil then
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.FinishQuestID
|
|
L5_2 = false
|
|
L6_2 = 1011111
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
end
|
|
end
|
|
end
|
|
L1_1.InvokeOnInteraction = L10_1
|
|
function L10_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.Start = L10_1
|
|
function L10_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.OnDestroy = L10_1
|
|
return L1_1
|