mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
207 lines
4.2 KiB
Lua
207 lines
4.2 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 = "Quest71101"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest71101"
|
|
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.OnSubStart7110101
|
|
L1_2["7110101"] = 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.OnSubFinish7110101
|
|
L1_2["7110101"] = L2_2
|
|
A0_2.subFinishHandlers = L1_2
|
|
end
|
|
L1_1.OnSubFinishHandlerBuild = L8_1
|
|
function L8_1(A0_2)
|
|
local L1_2
|
|
L1_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
|
|
L2_2 = print
|
|
L3_2 = "OnMainCanceled"
|
|
L2_2(L3_2)
|
|
end
|
|
L1_1.OnMainCanceled = 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, L11_2, L12_2, L13_2, L14_2, L15_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubStart7110101"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc10232Data
|
|
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.CreateQuestNpc
|
|
L4_2 = A1_2
|
|
L5_2 = L6_1.Npc2148Data
|
|
L5_2 = L5_2.id
|
|
L6_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.GetQuestNpcActor
|
|
L4_2 = L6_1.Npc2148Data
|
|
L4_2 = L4_2.alias
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.SitOnChair
|
|
L5_2 = 0
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.GetQuestNpcActor
|
|
L5_2 = L6_1.Npc10232Data
|
|
L5_2 = L5_2.alias
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
L5_2 = L3_2
|
|
L4_2 = L3_2.SitOnChair
|
|
L6_2 = 0
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = actorMgr
|
|
L5_2 = L4_2
|
|
L4_2 = L4_2.CreateActorWithPos
|
|
L6_2 = "Q71101Trigger"
|
|
L7_2 = "Actor/Gadget/Q71101Trigger"
|
|
L8_2 = 70900002
|
|
L9_2 = 0
|
|
L10_2 = sceneData
|
|
L11_2 = L10_2
|
|
L10_2 = L10_2.GetDummyPoint
|
|
L12_2 = 3
|
|
L13_2 = "Q7110101_T7110101_N10232"
|
|
L10_2 = L10_2(L11_2, L12_2, L13_2)
|
|
L10_2 = L10_2.pos
|
|
L11_2 = sceneData
|
|
L12_2 = L11_2
|
|
L11_2 = L11_2.GetDummyPoint
|
|
L13_2 = 3
|
|
L14_2 = "Q7110101_T7110101_N10232"
|
|
L11_2 = L11_2(L12_2, L13_2, L14_2)
|
|
L11_2 = L11_2.rot
|
|
L12_2 = true
|
|
L13_2 = false
|
|
L14_2 = 3
|
|
L4_2(L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2)
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.GetQuestVar
|
|
L6_2 = 7110101
|
|
L7_2 = 0
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2)
|
|
if L4_2 == 0 then
|
|
L5_2 = actorMgr
|
|
L6_2 = L5_2
|
|
L5_2 = L5_2.CreateActorWithPos
|
|
L7_2 = "Q71101Trigger1"
|
|
L8_2 = "Actor/Gadget/Q71101Trigger1"
|
|
L9_2 = 70900002
|
|
L10_2 = 0
|
|
L11_2 = {}
|
|
L11_2.x = -602.364
|
|
L11_2.y = 225.601
|
|
L11_2.z = 303.465
|
|
L12_2 = {}
|
|
L12_2.x = 0.0
|
|
L12_2.y = 0.0
|
|
L12_2.z = 0.0
|
|
L13_2 = true
|
|
L14_2 = false
|
|
L15_2 = 3
|
|
L5_2(L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2)
|
|
L6_2 = A0_2
|
|
L5_2 = A0_2.SetQuestVarByMainId
|
|
L7_2 = 0
|
|
L8_2 = 3
|
|
L5_2(L6_2, L7_2, L8_2)
|
|
end
|
|
end
|
|
L1_1.OnSubStart7110101 = L8_1
|
|
function L8_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "OnSubFinish7110101"
|
|
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.DestroyQuestNpcActor
|
|
L3_3 = L6_1.Npc10232Data
|
|
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.OnSubFinish7110101 = L8_1
|
|
return L1_1
|