Jump to navigation Jump to search
- master is the coinmaster to query
- it is the item to query
Returns true if master will sell it.
The following example looks through each item in your inventory and tells you if a coinmaster sells it.
int[item] stuff = get_inventory(); foreach master in $coinmasters foreach it in stuff if (sells_item(master, it)) print(""+master+" sells "+it+" which you currently have "+stuff[it]+" of.", "blue");