mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
61 lines
1.1 KiB
Lua
61 lines
1.1 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/Npc/DailyNpc"
|
|
L0_1 = L0_1(L1_1)
|
|
L1_1 = class
|
|
L2_1 = "MengdeNightSit"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L2_1 = require
|
|
L3_1 = "Actor/Npc/NPCEventType"
|
|
L2_1 = L2_1(L3_1)
|
|
L1_1.defaultAlias = "MengdeNightSit"
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.SitOnChair
|
|
L1_2(L2_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.CallDelay
|
|
L3_2 = 4
|
|
L4_2 = A0_2.AfterSit
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
end
|
|
L1_1.StartNight = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.DoFreeStateTrigger
|
|
L1_2(L2_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.ShowSelf
|
|
L1_2(L2_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.PerformDither
|
|
L3_2 = true
|
|
L4_2 = 2
|
|
L1_2(L2_2, L3_2, L4_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.StartBubble
|
|
L1_2(L2_2)
|
|
end
|
|
L1_1.AfterSit = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.ClearNpcSpeechBubble
|
|
L3_2 = A0_2.ID
|
|
L1_2(L2_2, L3_2)
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.PerformDither
|
|
L3_2 = false
|
|
L4_2 = 2
|
|
L5_2 = A0_2.HideSelf
|
|
L1_2(L2_2, L3_2, L4_2, L5_2)
|
|
end
|
|
L1_1.StartDay = L3_1
|
|
return L1_1
|