mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
412 lines
8.6 KiB
Lua
412 lines
8.6 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_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 = "Quest20013"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest20013"
|
|
L2_1 = nil
|
|
L3_1 = nil
|
|
L4_1 = nil
|
|
function L5_1(A0_2)
|
|
local L1_2
|
|
L1_2 = A0_2.clientData
|
|
L2_1 = L1_2
|
|
L1_2 = 20013
|
|
L4_1 = L1_2
|
|
L1_2 = L2_1.NPCData
|
|
L3_1 = L1_2
|
|
end
|
|
L1_1.OnDataLoaded = L5_1
|
|
function L5_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subStartHandlers = L1_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart2001301
|
|
L1_2["2001301"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart2001302
|
|
L1_2["2001302"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart2001303
|
|
L1_2["2001303"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart2001304
|
|
L1_2["2001304"] = L2_2
|
|
end
|
|
L1_1.OnSubStartHandlerBuild = L5_1
|
|
function L5_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subFinishHandlers = L1_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish2001301
|
|
L1_2["2001301"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish2001302
|
|
L1_2["2001302"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish2001303
|
|
L1_2["2001303"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish2001304
|
|
L1_2["2001304"] = L2_2
|
|
end
|
|
L1_1.OnSubFinishHandlerBuild = L5_1
|
|
function L5_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subFailedHandlers = L1_2
|
|
L1_2 = A0_2.subFailedHandlers
|
|
L2_2 = A0_2.OnSubFailed2001301
|
|
L1_2["2001301"] = L2_2
|
|
L1_2 = A0_2.subFailedHandlers
|
|
L2_2 = A0_2.OnSubFailed2001302
|
|
L1_2["2001302"] = L2_2
|
|
L1_2 = A0_2.subFailedHandlers
|
|
L2_2 = A0_2.OnSubFailed2001303
|
|
L1_2["2001303"] = L2_2
|
|
L1_2 = A0_2.subFailedHandlers
|
|
L2_2 = A0_2.OnSubFailed2001305
|
|
L1_2["2001304"] = L2_2
|
|
end
|
|
L1_1.OnSubFailedHandlerBuild = L5_1
|
|
function L5_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.PaimonVanish = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L3_1.NpcID
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L3_1.Npc
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.Standby
|
|
L3_2(L4_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.CallDelay
|
|
L5_2 = 2
|
|
L6_2 = A0_2.DoFreeStyle
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.CreateSpeechBubbleTask
|
|
L5_2 = L3_1.NpcID
|
|
L6_2 = 200080501
|
|
L7_2 = 2
|
|
L8_2 = true
|
|
L9_2 = 1
|
|
L10_2 = 2
|
|
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.NotifyTo
|
|
L5_2 = "Npc1413"
|
|
L6_2 = NpcUtil
|
|
L6_2 = L6_2.NpcEventType
|
|
L6_2 = L6_2.HIDESELF
|
|
L7_2 = true
|
|
L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
L3_2 = print
|
|
L4_2 = "01 start"
|
|
L3_2(L4_2)
|
|
end
|
|
L1_1.OnSubStart2001301 = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "delay start dofreestyle"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L3_1.Npc
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DoFreeStyle
|
|
L5_2 = 4190
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.EnableInteraction
|
|
L5_2 = false
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
L1_1.DoFreeStyle = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "01 finish"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish2001301 = L5_1
|
|
function L5_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 = "Npc1413"
|
|
L5_2 = NpcUtil
|
|
L5_2 = L5_2.NpcEventType
|
|
L5_2 = L5_2.STARTDAILY
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubFailed2001301 = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
|
|
L2_2 = print
|
|
L3_2 = "02 start"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L3_1.Npc
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.Standby
|
|
L3_2(L4_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.CallDelay
|
|
L5_2 = 2
|
|
L6_2 = A0_2.DoFreeStyle
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.CreateSpeechBubbleTask
|
|
L5_2 = L3_1.NpcID
|
|
L6_2 = 200080501
|
|
L7_2 = 2
|
|
L8_2 = true
|
|
L9_2 = 1
|
|
L10_2 = 2
|
|
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.NotifyTo
|
|
L5_2 = "Npc1413"
|
|
L6_2 = NpcUtil
|
|
L6_2 = L6_2.NpcEventType
|
|
L6_2 = L6_2.HIDESELF
|
|
L7_2 = true
|
|
L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
end
|
|
L1_1.OnSubStart2001302 = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L3_1.Npc
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.EnableInteraction
|
|
L5_2 = true
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.Standby
|
|
L3_2(L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DoFreeStyle
|
|
L5_2 = 1300
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.ClearSpeechBubbleTask
|
|
L3_2(L4_2)
|
|
L3_2 = print
|
|
L4_2 = "02 finish"
|
|
L3_2(L4_2)
|
|
end
|
|
L1_1.OnSubFinish2001302 = L5_1
|
|
function L5_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 = "Npc1413"
|
|
L5_2 = NpcUtil
|
|
L5_2 = L5_2.NpcEventType
|
|
L5_2 = L5_2.STARTDAILY
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubFailed2001302 = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "03 start"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = "Npc1413"
|
|
L5_2 = NpcUtil
|
|
L5_2 = L5_2.NpcEventType
|
|
L5_2 = L5_2.HIDESELF
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2001303 = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L3_1.Npc
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.Standby
|
|
L5_2 = true
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.Standby
|
|
L3_2(L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DoFreeStyle
|
|
L5_2 = 1300
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = print
|
|
L4_2 = "03 finish"
|
|
L3_2(L4_2)
|
|
end
|
|
L1_1.OnSubFinish2001303 = L5_1
|
|
function L5_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 = "Npc1413"
|
|
L5_2 = NpcUtil
|
|
L5_2 = L5_2.NpcEventType
|
|
L5_2 = L5_2.STARTDAILY
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubFailed2001303 = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "04 start"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = "Npc1413"
|
|
L5_2 = NpcUtil
|
|
L5_2 = L5_2.NpcEventType
|
|
L5_2 = L5_2.HIDESELF
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2001304 = L5_1
|
|
function L5_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.GetQuestNpcActor
|
|
L4_2 = L3_1.Npc
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.Standby
|
|
L5_2 = true
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.Standby
|
|
L3_2(L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.WalkToRouteTask
|
|
L5_2 = L2_1.RoutePoints1
|
|
function L6_2(A0_3, A1_3)
|
|
local L2_3, L3_3, L4_3, L5_3, L6_3
|
|
L3_3 = A0_3
|
|
L2_3 = A0_3.DestroyWithDither
|
|
L4_3 = false
|
|
L5_3 = 1
|
|
L2_3(L3_3, L4_3, L5_3)
|
|
L2_3 = A0_2
|
|
L3_3 = L2_3
|
|
L2_3 = L2_3.NotifyTo
|
|
L4_3 = "Npc1413"
|
|
L5_3 = NpcUtil
|
|
L5_3 = L5_3.NpcEventType
|
|
L5_3 = L5_3.STARTDAILY
|
|
L6_3 = true
|
|
L2_3(L3_3, L4_3, L5_3, L6_3)
|
|
end
|
|
function L7_2(A0_3, A1_3)
|
|
local L2_3, L3_3, L4_3, L5_3
|
|
L2_3 = A0_2
|
|
L3_3 = L2_3
|
|
L2_3 = L2_3.GetQuestNpcActor
|
|
L4_3 = L3_1.Npc
|
|
L2_3 = L2_3(L3_3, L4_3)
|
|
L4_3 = L2_3
|
|
L3_3 = L2_3.Standby
|
|
L5_3 = true
|
|
L3_3(L4_3, L5_3)
|
|
end
|
|
L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
L3_2 = print
|
|
L4_2 = "04 finish"
|
|
L3_2(L4_2)
|
|
end
|
|
L1_1.OnSubFinish2001304 = L5_1
|
|
function L5_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 = "Npc1413"
|
|
L5_2 = NpcUtil
|
|
L5_2 = L5_2.NpcEventType
|
|
L5_2 = L5_2.STARTDAILY
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubFailed2001304 = L5_1
|
|
function L5_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.Start = L5_1
|
|
function L5_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.OnDestroy = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
end
|
|
L1_1.OnMainFinished = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
end
|
|
L1_1.OnMainFailed = L5_1
|
|
function L5_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "MainQuest2013 Canceled"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = "Npc1413"
|
|
L5_2 = NpcUtil
|
|
L5_2 = L5_2.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.GetQuestNpcActor
|
|
L4_2 = L3_1.Npc
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.EnableInteraction
|
|
L5_2 = true
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DoFreeStateTrigger
|
|
L3_2(L4_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.ClearSpeechBubbleTask
|
|
L3_2(L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.DestroyWithDither
|
|
L5_2 = false
|
|
L6_2 = 1
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnMainCanceled = L5_1
|
|
return L1_1
|