inventorynumber |
Discworld expression help |
inventorynumber |
Name
inventorynumber - the number of items of the specified type in the inventory
Syntax
int inventorynumber(string str)
Description
This method will find the number of items of the specified type in the inventory of the shop already.
Examples
inventorynumber('red socks')