availableToPlayer beta
Function of @v12-engine/engine
ts
export declare function availableToPlayer(def: {
readonly race?: string;
}, player: Pick<PlayerFacts, 'race' | 'availability'>, key: string): boolean;Whether a player may make something at all, as the simulation decided (availability, by key) or else as their race goes: what is not is left off their buttons