second_life |
Discworld living help |
second_life |
Name
second_life - Function called by death.
Syntax
int second_life();
Description
This function is called when an object dies. If it returns 0 the default processing for dieing is done, if it returns 1 then no further processing is done. This is useful to trap if you wish your monster to do something useful when it dies.
See also
make_corpse, death