My closet meat: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle No edit summary |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:name|my_closet_meat}} | {{ | ||
{{#vardefine:return_type|int}} | #vardefine:name|my_closet_meat}}{{ | ||
#vardefine:return_type|int}}{{ | |||
FunctionPage| | |||
name={{#var:name}}| | name={{#var:name}}| | ||
function_category=Item Management| | function_category=Item Management| |
Revision as of 20:26, 8 March 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