Food Object Functions for Mocha


integer obj.food_hours;
void set_food_hours (object obj, integer hours);
Determine or set the number of hours for which a piece of food will satisfy a person's hunger. The value must be in the range 0 to 48.

boolean obj.food_poisoned;
void set_food_poisoned (object obj, boolean poisoned);
Determine or set whether or not a piece of food is poisoned.


Return to Mocha Object Functions Page

Return to Mocha's Main Page