Can eat: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Zarqon
more links, logged out info, consistent formatting
imported>Grotfang
m moved Can eat() to Can eat
(No difference)

Revision as of 14:09, 1 March 2010

boolean can_eat()

This function returns true if the logged-in character is not subject to the dietary restrictions of a Boozetafarian or Oxygenarian path. If the character is subject to those restrictions this function returns false.

 if (can_eat()) 
   eat(3,$item[hot hi mein]);

When not logged in, this function returns true.