Skip to main content

query_eat_object

Discworld food help

query_eat_object

Name

query_eat_object - Returns the eat object of the food.

Syntax

int query_eat_object();

Description

Returns the eat object of the food. This is used when the food is eaten, the eat function on the eat object is called when the food is eaten. The eat message is displayed at this point.

See also

set_eat_func, set_eat_object, set_eat_message, query_eat_func, query_eat_mess