[Main page] [Overview]     /module /decay

SYNOPSIS
#include <defs>
inherit MOD_DECAY;

FILE
/std/modules/decay.c

DESCRIPTION
A module which should be inherited by all objects which
need to decay (e.g. corpses)

After setup, call start_decay() to start the decaying
process. During decay, messages will be shown to the room
occasionally. At the end of decay, a closure may be called.
In the end, the object will destruct itself.



SUBTOPICS
get_decay_step   set_decay_end_function   set_decay_message   set_decay_save_inventory  
set_decay_steps   set_decay_time   start_decay