Skip to content

supplyPoolsOf beta ​

Function of @v12-engine/engine

ts
export declare function supplyPoolsOf(def: Pick<UnitTypeDef, 'supply'>): Record<string, number>;

What a type takes of the game's own pools of supply, by name (UnitTypeDef.supply said by pool, the one pool left out)