Skip to content

requirementRefusal beta ​

Function of @v12-engine/engine

ts
export declare function requirementRefusal(requires: readonly string[] | undefined, player: Pick<PlayerFacts, 'tech' | 'unlocks'>, key: string): Message | undefined;

Why something may not be made as far as what it requires goes: as the simulation decided (unlocks), or by the finished buildings it requires