Difference between revisions of "My fullness"
Jump to navigation
Jump to search
imported>StDoodle |
imported>StDoodle m |
||
Line 4: | Line 4: | ||
{{FunctionPage| | {{FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
− | function_category= | + | function_category=Your Character| |
function1={{Function| | function1={{Function| |
Revision as of 20:27, 28 February 2010
Function Syntax
int my_fullness()
Returns the current fullness of the logged-in character.
Code Sample
To eat as many peach pies as possible:
if (my_fullness() < (fullness_limit() - 2))
eat(floor(((fullness_limit() - my_fullness()) / 3) , $item[peach pie]);
See Also
Special
When not logged in, this function returns 0.