Eat: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''boolean eat(int number, item itemtype)'''
'''[[boolean]] eat(int number, item itemtype)'''


Will attempt to eat the number of food specified.
Will attempt to eat the number of food specified.


eg. "eat(3,$item[stinky hi mein]);" will attempt to eat 3 stinky hi meins.
eg.  
<code>
eat(3,$item[stinky hi mein]);
</code>
will attempt to eat 3 stinky hi meins.

Revision as of 15:27, 17 December 2009

boolean eat(int number, item itemtype)

Will attempt to eat the number of food specified.

eg. eat(3,$item[stinky hi mein]); will attempt to eat 3 stinky hi meins.