Skip to content

PurseReport beta ​

Interface of @v12-engine/engine/ai

ts
export interface PurseReport

The purse as the report shows it: what is free, what builders on their way will pay, what is held and by whom, with how important each holder is

Members ​

free ​

ts
free: Cost;

What the player has that nothing holds or has promised

held ​

ts
held: Record<string, {
        cost: Cost;
        priority: number;
    }>;

What is held, by the id of the holder, with its cost and how important the holder is

promised ​

ts
promised: Cost;

What builders on their way will pay