Skip to main content

query_eat_func

Discworld food help

query_eat_func

Name

query_eat_func - Returns the eat function of the object.

Syntax

int query_eat_func();

Description

Returns the eat function 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.

See also

set_eat_func, set_eat_object, set_eat_message, query_eat_object, query_eat_message