set_eat_mess |
Discworld food help |
set_eat_mess |
Name
set_eat_mess - Sets the eat message of the object.
Syntax
int set_eat_func();
Description
Sets the eat message of the object. This is used when the object is eaten, the eat function on the eat object is called when the object is eaten. The eat message is displayed at this point.
The eat message is set with add_succeeded_mess, so all the stuff which you could do with an add_succeeded_mess you can do here.
Example
set_eat_mess("$N chomps happily on $D.\n");
See also
set_eat_func, set_eat_object, query_eat_mess, query_eat_object, query_eat_func