Closet amount
Function Syntax
- it is the item to check
Returns the amount of a given item that is contained in your closet.
Sample Code
Checks if you have enough filthy lucre for Olfaction
if( item_amount($item[filthy lucre]) + display_amount($item[filthy lucre]) + closet_amount($item[filthy lucre]) >= 200)
print( "Go get olfaction!" ); else print( "Keep going, you need more lucre!" );
See Also
Special
Returns 0 when not logged in.