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

11 lines
No EOL
336 B
Lua

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