mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
494 lines
10 KiB
Lua
494 lines
10 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 = "Quest21028"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest21028"
|
|
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.OnSubStart2102801
|
|
L1_2["2102801"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2102802
|
|
L1_2["2102802"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2102803
|
|
L1_2["2102803"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2102804
|
|
L1_2["2102804"] = L2_2
|
|
L2_2 = A0_2.OnSubStart2102805
|
|
L1_2["2102805"] = 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.OnSubFinish2102801
|
|
L1_2["2102801"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2102802
|
|
L1_2["2102802"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2102803
|
|
L1_2["2102803"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2102804
|
|
L1_2["2102804"] = L2_2
|
|
L2_2 = A0_2.OnSubFinish2102805
|
|
L1_2["2102805"] = 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, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnMainFinished"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc2031Data
|
|
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.Npc2103Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.LightNotifyTo
|
|
L4_2 = L6_1.Npc2031Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 0
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.LightNotifyTo
|
|
L4_2 = L6_1.Npc2030Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 0
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.LightNotifyTo
|
|
L4_2 = L6_1.Npc2074Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 0
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_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, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnMainCanceled"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.SafeDestroyQuestNpc
|
|
L4_2 = L6_1.Npc2031Data
|
|
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.Npc2103Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.LightNotifyTo
|
|
L4_2 = L6_1.Npc2031Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 0
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.LightNotifyTo
|
|
L4_2 = L6_1.Npc2030Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 0
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.LightNotifyTo
|
|
L4_2 = L6_1.Npc2074Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 0
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActorDestroy
|
|
L4_2 = "Q21028Trigger"
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnMainCanceled = L7_1
|
|
function L7_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 = 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, 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.NotifyTo
|
|
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.DailyNpcSafeHideSelf = 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)
|
|
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)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2102801"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreate
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc2031Data
|
|
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.DailyNpcSafeHideSelf
|
|
L4_2 = L6_1.Npc2030Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.DailyNpcSafeHideSelf
|
|
L4_2 = L6_1.Npc2074Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2102801 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2102801"
|
|
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.SafeDestroyQuestNpc
|
|
L3_3 = L6_1.Npc2031Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 3
|
|
L1_3(L2_3, L3_3, L4_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish2102801 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2102802"
|
|
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
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.NpcCreate
|
|
L3_3 = A1_2
|
|
L4_3 = L6_1.Npc2103Data
|
|
L4_3 = L4_3.id
|
|
L5_3 = 2
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.DailyNpcSafeHideSelf
|
|
L3_3 = L6_1.Npc2030Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 1
|
|
L5_3 = true
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.DailyNpcSafeHideSelf
|
|
L3_3 = L6_1.Npc2074Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 1
|
|
L5_3 = true
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
L1_3 = actorMgr
|
|
L2_3 = L1_3
|
|
L1_3 = L1_3.CreateActorWithPos
|
|
L3_3 = "Q21028Trigger"
|
|
L4_3 = "Actor/Gadget/Q21028Trigger"
|
|
L5_3 = 70900002
|
|
L6_3 = 0
|
|
L7_3 = sceneData
|
|
L8_3 = L7_3
|
|
L7_3 = L7_3.GetDummyPoint
|
|
L9_3 = 3
|
|
L10_3 = "Q2102708_N10000005"
|
|
L7_3 = L7_3(L8_3, L9_3, L10_3)
|
|
L7_3 = L7_3.pos
|
|
L8_3 = sceneData
|
|
L9_3 = L8_3
|
|
L8_3 = L8_3.GetDummyPoint
|
|
L10_3 = 3
|
|
L11_3 = "Q2102708_N10000005"
|
|
L8_3 = L8_3(L9_3, L10_3, L11_3)
|
|
L8_3 = L8_3.rot
|
|
L9_3 = true
|
|
L10_3 = false
|
|
L11_3 = 3
|
|
L1_3(L2_3, L3_3, L4_3, L5_3, L6_3, L7_3, L8_3, L9_3, L10_3, L11_3)
|
|
L2_3 = A0_3
|
|
L1_3 = A0_3.NotifyTo
|
|
L3_3 = L6_1.Npc2031Data
|
|
L3_3 = L3_3.alias
|
|
L4_3 = 1
|
|
L5_3 = true
|
|
L1_3(L2_3, L3_3, L4_3, L5_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubStart2102802 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2102802"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActorDestroy
|
|
L4_2 = "Q21028Trigger"
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish2102802 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart2102803"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcCreateWithBlackscreenInteraction
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc2031Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 1
|
|
L7_2 = L6_1.Npc2031Data
|
|
L7_2 = L7_2.alias
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.DailyNpcSafeHideSelf
|
|
L4_2 = L6_1.Npc2030Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.DailyNpcSafeHideSelf
|
|
L4_2 = L6_1.Npc2074Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2102803 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2102803"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish2102803 = 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 = "OnSubStart2102804"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.DailyNpcSafeHideSelf
|
|
L4_2 = L6_1.Npc2030Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.DailyNpcSafeHideSelf
|
|
L4_2 = L6_1.Npc2074Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnSubStart2102804 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2102804"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnSubFinish2102804 = 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 = "OnSubStart2102805"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.DailyNpcSafeHideSelf
|
|
L4_2 = L6_1.Npc2030Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.DailyNpcSafeHideSelf
|
|
L4_2 = L6_1.Npc2074Data
|
|
L4_2 = L4_2.alias
|
|
L5_2 = 1
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.RequestInteraction
|
|
L4_2 = L6_1.Npc2031Data
|
|
L4_2 = L4_2.alias
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubStart2102805 = L7_1
|
|
function L7_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish2102805"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcDestroyWithBlackscreen
|
|
L4_2 = 3
|
|
L5_2 = L6_1.Npc2031Data
|
|
L5_2 = L5_2.alias
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NpcDestroyWithBlackscreen
|
|
L4_2 = 3
|
|
L5_2 = L6_1.Npc2103Data
|
|
L5_2 = L5_2.alias
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnSubFinish2102805 = L7_1
|
|
return L1_1
|