Is tradeable
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Function Syntax
boolean is_tradeable(item check_me )
- check_me is an item to test
This function checks to see if the item check_me can be traded via the Mall, returning true if it can and false otherwise.
Code Samples
The following function dumps your entire inventory into your mall store.
void inv_dump() {
if(have_shop()) {
foreach i in get_inventory()
if(is_tradeable(i)) put_shop(0, 0, i);
}
}