PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionStrongholdMineralLeft.lua

11 lines
336 B
Lua
Raw Normal View History

local XRedPointConditionStrongholdMineralLeft = {}
function XRedPointConditionStrongholdMineralLeft.Check()
if not XFunctionManager.JudgeCanOpen(XFunctionManager.FunctionName.Stronghold) then
return false
end
return XDataCenter.StrongholdManager.HasMineralLeft()
end
return XRedPointConditionStrongholdMineralLeft