PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionStrongholdMineralLeft.lua
2022-12-26 14:06:01 +05:30

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