→Returns: explain quantity better
mNo edit summary |
(→Returns: explain quantity better) |
||
| Line 10: | Line 10: | ||
:;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) | ||
:;quantity : Number - The quantity that will be purchased | :;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. | ||
:;isUsable : Number - Is 1 if the player can use this item, nil otherwise | :;isUsable : Number - Is 1 if the player can use this item, nil otherwise | ||