Skip to content

carryResources beta ​

Function of @v12-engine/engine

ts
export declare function carryResources(world: World, player: PlayerId, kinds?: readonly string[]): Purse;

What a player has of each resource, to carry on (giveResources): a copy, all of it, or of the kinds named