Skip to content

StockInfo beta ​

Interface of @v12-engine/engine

ts
export interface StockInfo

One item type a shop has for sale, with how many are left and how far the next is

Members ​

count ​

ts
count?: number;

How many are left. Left out for what a shop never runs out of

item ​

ts
item: string;

The item type's id

restock ​

ts
restock: number;

0..1 towards the next one, when the shop is not full