Difference between revisions of "My closet meat"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>Bale
(test2)
Line 28: Line 28:
 
see_also={{SeeAlso|my_meat|print}}|
 
see_also={{SeeAlso|my_meat|print}}|
 
}}
 
}}
 +
[[Category:Ash Functions|Item Management]]

Revision as of 03:20, 20 May 2010

Function Syntax

int my_closet_meat()

Returns the amount of meat stored in your Colossal Closet.

Code Sample

The following example shows how much meat you have between on-hand & in your closet.

print("You have " + my_meat() + " meat on hand.");
print("You have " + my_closet_meat() + " meat in your closet.");
print("Between the two, you have " + (my_meat() + my_closet_meat()) + " meat altogether.");

See Also

my_meat() | print()