mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
509 lines
11 KiB
Lua
509 lines
11 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 = "Quest22020"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest22020"
|
|
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.OnSubStart2202001
|
|
L1_2["2202001"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2202002
|
|
L1_2["2202002"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2202003
|
|
L1_2["2202003"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2202004
|
|
L1_2["2202004"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2202005
|
|
L1_2["2202005"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2202006
|
|
L1_2["2202006"] = 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.OnSubFinish2202001
|
|
L1_2["2202001"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2202002
|
|
L1_2["2202002"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2202003
|
|
L1_2["2202003"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2202004
|
|
L1_2["2202004"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2202005
|
|
L1_2["2202005"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2202006
|
|
L1_2["2202006"] = 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.OnSubFailed2202001
|
|
L1_2["2202001"] = L2_2
|
|
L2_2 = A0_2.OnSubFailed2202002
|
|
L1_2["2202002"] = L2_2
|
|
L2_2 = A0_2.OnSubFailed2202003
|
|
L1_2["2202003"] = L2_2
|
|
L2_2 = A0_2.OnSubFailed2202004
|
|
L1_2["2202004"] = L2_2
|
|
L2_2 = A0_2.OnSubFailed2202005
|
|
L1_2["2202005"] = L2_2
|
|
L2_2 = A0_2.OnSubFailed2202006
|
|
L1_2["2202006"] = 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.Npc3042Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc3046Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc3047Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc3019Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc3020Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnMainCanceled = 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, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2202001"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc3042Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2202001 = 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
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2202001"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ShowBlackScreen
|
|
L4_2 = 0.5
|
|
L5_2 = 1
|
|
L6_2 = 0.5
|
|
function L7_2(A0_3)
|
|
local L1_3, L2_3, L3_3, L4_3, L5_3
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.DestroyQuestNpcActor
|
|
L3_3 = L6_1.Npc3042Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 3
|
|
L1_3(L2_3, L3_3, L4_3)
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.NotifyTo
|
|
L3_3 = L6_1.Npc3042Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 1
|
|
L5_3 = true
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
end
|
|
L8_2 = nil
|
|
L9_2 = nil
|
|
L10_2 = ""
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
end
|
|
L1_1.OnSubFinish2202001 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2202001"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFailed2202001 = 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 = "OnSubStart2202002"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc3046Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 0
|
|
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 = L6_1.Npc3047Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = L6_1.Npc3042Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2202002 = 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
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2202002"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ShowBlackScreen
|
|
L4_2 = 0.5
|
|
L5_2 = 1
|
|
L6_2 = 0.5
|
|
function L7_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.Npc3046Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 3
|
|
L1_3(L2_3, L3_3, L4_3)
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.DestroyQuestNpcActor
|
|
L3_3 = L6_1.Npc3047Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 3
|
|
L1_3(L2_3, L3_3, L4_3)
|
|
end
|
|
L8_2 = nil
|
|
L9_2 = nil
|
|
L10_2 = ""
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
end
|
|
L1_1.OnSubFinish2202002 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2202002"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFailed2202002 = 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 = "OnSubStart2202003"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc3019Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = L6_1.Npc3042Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2202003 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2202003"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish2202003 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2202003"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFailed2202003 = 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 = "OnSubStart2202004"
|
|
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, L5_3, L6_3, L7_3, L8_3, L9_3, L10_3, L11_3, L12_3, L13_3, L14_3, L15_3
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.GetQuestNpcActor
|
|
L3_3 = L6_1.Npc3019Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 22020
|
|
L1_3 = L1_3(L2_3, L3_3, L4_3)
|
|
L3_3 = A0_3
|
|
L2_3 = A0_3.NpcBeFollowTaskByRoutePointsWithDiffLen
|
|
L4_3 = L1_3
|
|
L5_3 = L7_1.Walk1
|
|
L6_3 = 5
|
|
L7_3 = 3
|
|
L8_3 = -1
|
|
function L9_3(A0_4)
|
|
local L1_4, L2_4, L3_4
|
|
L2_4 = A0_4
|
|
L1_4 = A0_4.SyncPos
|
|
L3_4 = 2
|
|
L1_4(L2_4, L3_4)
|
|
L1_4 = A0_4.BeFollowState
|
|
L2_4 = BeFollowState
|
|
L2_4 = L2_4.FAILED
|
|
if L1_4 == L2_4 then
|
|
return
|
|
end
|
|
L1_4 = actorUtils
|
|
L1_4 = L1_4.FinishQuestID
|
|
L2_4 = false
|
|
L3_4 = 2202004
|
|
L1_4(L2_4, L3_4)
|
|
end
|
|
L10_3 = nil
|
|
L11_3 = nil
|
|
L12_3 = nil
|
|
L13_3 = nil
|
|
L14_3 = nil
|
|
L15_3 = true
|
|
L2_3(L3_3, L4_3, L5_3, L6_3, L7_3, L8_3, L9_3, L10_3, L11_3, L12_3, L13_3, L14_3, L15_3)
|
|
L2_3 = actorMgr
|
|
L3_3 = L2_3
|
|
L2_3 = L2_3.CreateActorWithPos
|
|
L4_3 = "Q22020Trigger"
|
|
L5_3 = "Actor/Gadget/Q22020Trigger"
|
|
L6_3 = 70900002
|
|
L7_3 = 0
|
|
L8_3 = {}
|
|
L8_3.x = -3137.229
|
|
L8_3.y = 253.0423
|
|
L8_3.z = -4483.43
|
|
L9_3 = {}
|
|
L9_3.x = 0
|
|
L9_3.y = 0
|
|
L9_3.z = 0
|
|
L10_3 = true
|
|
L11_3 = false
|
|
L2_3(L3_3, L4_3, L5_3, L6_3, L7_3, L8_3, L9_3, L10_3, L11_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = L6_1.Npc3042Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2202004 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2202004"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActorDestroy
|
|
L4_2 = "Q22020Trigger"
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish2202004 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2202004"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFailed2202004 = 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 = "OnSubStart2202005"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = L6_1.Npc3042Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2202005 = 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
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2202005"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ShowBlackScreen
|
|
L4_2 = 0.5
|
|
L5_2 = 1
|
|
L6_2 = 0.5
|
|
function L7_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.Npc3019Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 3
|
|
L1_3(L2_3, L3_3, L4_3)
|
|
end
|
|
L8_2 = nil
|
|
L9_2 = nil
|
|
L10_2 = ""
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
end
|
|
L1_1.OnSubFinish2202005 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2202005"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFailed2202005 = 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 = "OnSubStart2202006"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc3042Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2202006 = 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
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2202006"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ShowBlackScreen
|
|
L4_2 = 0.5
|
|
L5_2 = 1
|
|
L6_2 = 0.5
|
|
function L7_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.Npc3042Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 3
|
|
L1_3(L2_3, L3_3, L4_3)
|
|
end
|
|
L8_2 = nil
|
|
L9_2 = nil
|
|
L10_2 = ""
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
end
|
|
L1_1.OnSubFinish2202006 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFailed2202006"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFailed2202006 = L8_1
|
|
return L1_1
|