Fullness limit: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Zarqon
added skill/holiday info, links, category data
imported>Grotfang
m moved Fullness limit() to Fullness limit: Conformity
(No difference)

Revision as of 13:30, 1 March 2010

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.

 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.