Module m_edible

Documentation for the modules-m_edible module in /std/modules/m_edible.c.

Functions

void set_eat_action(mixed action)

set_eat_action(string) causes ‘string’ to be printed when someone eats this object. set_eat_action(function) causes the function to be called instead.

void set_last_eat_action(mixed action)

Just like set_eat_action, but only is used for the last eat

void set_num_eats(int num)

num_eats is the number of eats left before the object is empty.

void set_poisonous(int p)

void set_poisonous(int p) Sets the level of poison in this edible thing. 0 means non-poisonous, 100 means deadly.

File generated by Lima 1.1a4 reStructured Text daemon.