m
→Returns
(→Returns: explain quantity better) |
m (→Returns) |
||
| Line 9: | Line 9: | ||
:;name : String - The name of the item | :;name : String - The name of the item | ||
:;texture : String - The texture that represents the item's icon | :;texture : String - The texture that represents the item's icon | ||
:;price : Number - The price of the item (in copper) | :;price : Number - The price of the item (in copper). Note that if quantity is greater than one (i.e. the item is sold in batches by default), then this is the price per batch, not the unit price. | ||
:;quantity : Number - The quantity that will be purchased (the ''batch size'', e.g. 5 for vials) | :;quantity : Number - The quantity that will be purchased (the ''batch size'', e.g. 5 for vials) | ||
:;numAvailable : Number - The number of this item that the merchant has in stock. -1 for unlimited stock. | :;numAvailable : Number - The number of this item that the merchant has in stock. -1 for unlimited stock. | ||