namespace Chessistics.Engine.Model; /// /// A demand building. /// /// Classic mode (default): counts deliveries up to , /// then stays true forever. /// /// Recurring mode: set > 0. The demand /// holds a buffer of delivered cargo; each turn it consumes that many /// units. If the buffer runs dry it enters shortage. The demand is /// considered satisfied once it has spent /// consecutive turns without shortage. /// public record DemandDef( Coords Position, string Name, CargoType Cargo, int Amount, int Deadline = 0, int ConsumptionPerTurn = 0, int SustainTurns = 0);