Display amount: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>StDoodle
mNo edit summary
Line 1: Line 1:
{{#vardefine:name|display_amount}}
{{
{{#vardefine:return_type|int}}
#vardefine:name|display_amount}}{{
#vardefine:return_type|int}}{{


{{FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Item Management|
function_category=Item Management|
Line 16: Line 17:


function_description=Returns the amount of a given item that is contained in your display case.|
function_description=Returns the amount of a given item that is contained in your display case.|
 
needscode=yes|
see_also={{SeeAlso|closet_amount|equipped_amount|item_amount|shop_amount|stash_amount|storage_amount}}|
see_also={{SeeAlso|closet_amount|equipped_amount|item_amount|shop_amount|stash_amount|storage_amount}}|
}}
}}

Revision as of 20:31, 8 March 2010

needs(code_samples);

Function Syntax

int display_amount(item it )

  • it is the item to check

Returns the amount of a given item that is contained in your display case.

See Also

closet_amount() | equipped_amount() | item_amount() | shop_amount() | stash_amount() | storage_amount()