Skip to content

ShoppingItem beta ​

Interface of @v12-engine/engine/ai

ts
export interface ShoppingItem

A line of a hero's shopping list (MicroOptions.shopping, HeroPlan.items): an item to carry, how many, when

Members ​

count ​

ts
count?: number;

How many of it to carry: 1 when left out

item ​

ts
item: string;

The item, by id

when ​

ts
when?: AiCondition;

When it is wanted: a condition. Always when left out