Jump to navigation Jump to search
- master is the coinmaster to query
- it is the item to query
Returns true if master will purchase it.
Checks what items, if any, in your inventory will be bought by coinmasters.
int[item] inventory = get_inventory(); foreach it in inventory foreach shop in $coinmasters if (buys_item(shop, it)) print("The coinmaster "+shop+" will buy your "+it+".", "blue");