GetItemClassPrice
What an item of a kind is worth now - the mode’s rule, else the game’s own.
Syntax
Section titled “Syntax”GetItemClassPrice(item)| Parameter | Type | |
|---|---|---|
item |
string | number | the item class - its name, id, English name or GUID |
Returns
Section titled “Returns”number - Groschen per piece at the best quality and condition: the price SetItemClassPrice set, else the game’s; nil for an item the catalogue does not list
Example
Section titled “Example”local price = GetItemClassPrice("bsmt_ironGood")See also
Section titled “See also”SetItemClassPrice · GetItemInfo · the Items and inventory group of the index
