pileType beta
Function of @v12-engine/engine
ts
export declare function pileType(def: {
id: string;
name?: string;
kind: ResourceId;
amount?: number;
}): UnitTypeDef & {
pile: {
kind: ResourceId;
amount: number;
};
};A type of pile, to put in the game's units: something lying on the ground that blocks nothing, is fought by nobody, and is handed (pileOf: its kind and how much) to who walks over it. kind and amount are what it holds when the death that drops it says nothing else