second_life

dw_fluffos_v1/lib/doc/new/living/combat/second_life · 452 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

.DT
second_life
Discworld living help
second_life

Name
.SI 5
second_life - Function called by death.
.EI

Syntax
.SI 5
int second_life();
.EI

Description
.SP 5 5
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.
.EP

See also
.SP 5 5
make_corpse, death
.EP

Site Stats

Snippets: 1791
Codebases: 571