Difference between revisions of "Available amount"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '{{#vardefine:name|available_amount}} {{#vardefine:return_type|int}} {{FunctionPage| name={{#var:name}}| function_category=Item Management| function1={{Function| name={{#var:nam…')
 
imported>StDoodle
m
Line 1: Line 1:
{{#vardefine:name|available_amount}}
+
{{
{{#vardefine:return_type|int}}
+
#vardefine:name|available_amount}}{{
 +
#vardefine:return_type|int}}{{
  
{{FunctionPage|
+
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
 
function_category=Item Management|
 
function_category=Item Management|
Line 17: Line 18:
 
function_description=Returns the total number available of a given item in all inventory sections accessible to your character based on current restrictions.|
 
function_description=Returns the total number available of a given item in all inventory sections accessible to your character based on current restrictions.|
  
 +
needscode=yes|
 
see_also={{SeeAlso|closet_amount|display_amount|equipped_amount|item_amount|shop_amount|stash_amount}}|
 
see_also={{SeeAlso|closet_amount|display_amount|equipped_amount|item_amount|shop_amount|stash_amount}}|
 
}}
 
}}

Revision as of 20:40, 8 March 2010

needs(code_samples);

Function Syntax

int available_amount(item it )

  • it is the item to check

Returns the total number available of a given item in all inventory sections accessible to your character based on current restrictions.

See Also

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