Eat

From Kolmafia
Revision as of 21:14, 8 March 2010 by imported>StDoodle
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

boolean eat(int qty ,item consume )

  • qty is the quantity to eat
  • consume is the item to eat

Will attempt to eat qty amount of item consume. Returns true for food items and false for items that are not. (The return value does not reflect whether or not the items were actually consumed.) Using this command without Got Milk active, when you are currently capable of acquiring said effect, will issue a warning dialog about eating without Got Milk active.

CLI Equivalent

The CLI command "eat" works similarly.

See Also

can_eat() | eat_silent() | fullness_limit() | my_fullness()