Skip to content

ShopSettings beta ​

Interface of @v12-engine/engine

ts
export interface ShopSettings

Shops (RuleSettings.shop): taking a purchase back

Members ​

undo ​

ts
undo: number;

Seconds within which a purchase is undone (undoBuy, the undoBuy command: the shop window's Undo) for all it cost, as long as the buyer stands at the shop still and has not used the item: what it took is given back, the parts it used up come back, the shop has it back in stock. 10 when left out; 0 for no undoing