VendorStockRow
Defined in: server/api.d.ts:2740
One thing a vendor sells.
Properties
Section titled “Properties”amount
Section titled “amount”amount:
number
Defined in: server/api.d.ts:2749
How many the vendor has. A row the players buy out disappears.
item:
string
Defined in: server/api.d.ts:2744
The item class, by GUID or by the game’s own item name.
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,unknown>
Defined in: server/api.d.ts:2759
Item properties, including custom display overrides and private data. Preserved when bought.
price:
number
Defined in: server/api.d.ts:2754
What one costs, in money units – the amount of the game’s money item, which is also what player.giveItem('money', n) hands out.