mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
150 lines
3.2 KiB
Lua
150 lines
3.2 KiB
Lua
local L0_1, L1_1, L2_1, L3_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 = "Quest491"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest491"
|
|
L2_1 = require
|
|
L3_1 = "Actor/DailyNPCManager"
|
|
L2_1 = L2_1(L3_1)
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subStartHandlers = L1_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart49101
|
|
L1_2["49101"] = L2_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart49102
|
|
L1_2["49102"] = L2_2
|
|
end
|
|
L1_1.OnSubStartHandlerBuild = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subFinishHandlers = L1_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish49101
|
|
L1_2["49101"] = L2_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish49102
|
|
L1_2["49102"] = L2_2
|
|
end
|
|
L1_1.OnSubFinishHandlerBuild = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = print
|
|
L3_2 = "49102 Finish: Paimon Talk"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetSubQuestState
|
|
L4_2 = 46613
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 == 3 then
|
|
L2_2 = A0_2.uActor
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.AvatarPaimonAppear
|
|
L2_2(L3_2)
|
|
L2_2 = globalActor
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.StopLocalAvatar
|
|
L2_2(L3_2)
|
|
L2_2 = globalActor
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.EnablePlayerInput
|
|
L4_2 = false
|
|
L2_2(L3_2, L4_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NarratorOnlyTask
|
|
L4_2 = A0_2.clientData
|
|
L4_2 = L4_2.NarratorData
|
|
L4_2 = L4_2.Story1
|
|
L2_2(L3_2, L4_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CallDelay
|
|
L4_2 = 5
|
|
L5_2 = A0_2.OnEnableInput2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
end
|
|
L1_1.OnSubFinish49102 = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L1_2 = print
|
|
L2_2 = "49102 DelayFinish: Enable Player Input"
|
|
L1_2(L2_2)
|
|
L1_2 = A0_2.uActor
|
|
L2_2 = L1_2
|
|
L1_2 = L1_2.AvatarPaimonDisappear
|
|
L3_2 = nil
|
|
L4_2 = false
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
L1_2 = globalActor
|
|
L2_2 = L1_2
|
|
L1_2 = L1_2.EnablePlayerInput
|
|
L3_2 = true
|
|
L1_2(L2_2, L3_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.TransmitPlayer
|
|
L3_2 = 3
|
|
L4_2 = sceneData
|
|
L5_2 = L4_2
|
|
L4_2 = L4_2.GetDummyPoint
|
|
L6_2 = 3
|
|
L7_2 = "Q46625Player"
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
L4_2 = L4_2.pos
|
|
L5_2 = sceneData
|
|
L6_2 = L5_2
|
|
L5_2 = L5_2.GetDummyPoint
|
|
L7_2 = 3
|
|
L8_2 = "Q46625Player"
|
|
L5_2 = L5_2(L6_2, L7_2, L8_2)
|
|
L5_2 = L5_2.rot
|
|
L1_2(L2_2, L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.OnEnableInput2 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = print
|
|
L3_2 = "49104 Finish : BartenderShow"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.NotifyTo
|
|
L4_2 = "Npc1433"
|
|
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.NotifyTo
|
|
L4_2 = "Npc1465"
|
|
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.NotifyTo
|
|
L4_2 = "Npc1523"
|
|
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.OnSubFinish49101 = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.Start = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.OnDestroy = L3_1
|
|
return L1_1
|