Difference between revisions of "Eat"
Jump to navigation
Jump to search
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. | + | 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.