PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionDormQuestTerminal.lua
2024-09-01 22:49:41 +02:00

10 lines
No EOL
331 B
Lua

local XRedPointConditionDormQuestTerminal = {}
function XRedPointConditionDormQuestTerminal.Check()
if not XFunctionManager.JudgeCanOpen(XFunctionManager.FunctionName.DormQuest) then
return false
end
return XDataCenter.DormQuestManager.CheckDormEntrustRedPoint()
end
return XRedPointConditionDormQuestTerminal