Fullness limit: Difference between revisions
Jump to navigation
Jump to search
imported>Degrassi m spelling (fulness) |
imported>Zarqon added skill/holiday info, links, category data |
||
Line 1: | Line 1: | ||
[[int]] [[fullness_limit()]] | |||
< | Returns the logged-in character's maximum fullness level as an [[int]]. For most characters, the returned value will be 15. On the Feast of Boris this number is raised by 15. The number is also raised by 5 for characters with Stomach of Steel. | ||
<code> | |||
if ([[my_fullness()]] < [[fullness_limit()]]) | |||
if ([[fullness_limit()]] == 15) | |||
[[eat()|eat]](3, $[[item]][hot hi mein]); | |||
else if (fullness_limit() == 20) | |||
[[eat()|eat]](4, $[[item]][hot hi mein]); | |||
</code> | |||
[[Category:Your Character | Fullness limit()]] | |||
[[Category:Ash Functions | Fullness limit()]] | |||
When not logged in, this function returns 15. |
Revision as of 06:52, 29 January 2009
Returns the logged-in character's maximum fullness level as an int. For most characters, the returned value will be 15. On the Feast of Boris this number is raised by 15. The number is also raised by 5 for characters with Stomach of Steel.
if (my_fullness() < fullness_limit())
if (fullness_limit() == 15)
eat(3, $item[hot hi mein]);
else if (fullness_limit() == 20)
eat(4, $item[hot hi mein]);
When not logged in, this function returns 15.