rubbleType beta
Function of @v12-engine/engine
ts
export declare function rubbleType(def: {
id: string;
name?: string;
footprint: {
w: number;
d: number;
};
kind: ResourceId;
amount?: number;
slots?: number;
}): UnitTypeDef;A type of rubble, to put in the game's units: a resource that blocks its footprint, gathered (cleared) as kind by the game's workers, with no look of its own (the game's looks give it one)