shopStock beta
Variable of @v12-engine/engine
ts
shopStock: import("./components").Component<StockState[], StockInfo[]>What a shop has of each of its wares (UnitTypeDef.sells): how many are left and the seconds until the next one. Set as the shop is spawned, counted down by the abilities system while the shop stands; filed in the index (world.index.with(shopStock)); sent to everyone who sees the shop as StockInfo (how far the next one is, 0..1, not the seconds), the delta comparing ware by ware