Skip to content

StockState beta ​

Interface of @v12-engine/engine

ts
export interface StockState

What a shop has of one of its wares (shopStock, a component of the entity's)

Members ​

count ​

ts
count: number;

How many of it the shop has now

item ​

ts
item: string;

The id of the item type for sale

restock ​

ts
restock: number;

Seconds until the next one arrives