1
0
Fork 0
forked from aly/qstbak
qstbak/Questionable/Questionable.Controller.Conditions/InventoryFullCondition.cs
2026-08-17 20:29:32 +10:00

18 lines
419 B
C#

namespace Questionable.Controller.Conditions;
internal sealed class InventoryFullCondition : StopCondition
{
public override bool IsSession => false;
public override EStopConditionType Type => EStopConditionType.InventoryFull;
public override bool Evaluate(StopEvaluationContext context)
{
return context.FreeInventorySlots == 0;
}
public override string GetDescription()
{
return "Inventory full";
}
}