Module m_decay
Documentation for the modules-m_decay module in /std/modules/m_decay.c.
Module Information
This module can be used to make objects decay after a set amount of time. You may also have an object decay in stages.
Functions
-
void set_decay_action(mixed action)
set_decay_action(string) causes ‘string’ to be printed this object decays. set_decay_action(function) causes the function to be called instead. If action contains a “$”, it’s assumed to be a message, and called via
env()->simple_action(action,this_object());
-
void set_last_decay_action(mixed action)
same as set_decay_action but only on the last decay.
-
int set_num_decays(int num)
This sets the number of stages to decay in.
-
void set_decay_time(int num)
void set_decay_time(int num) Set the length of time that it takes to decay this item. setting this makes the item decayable, not setting this varriable will not make it decay.
File generated by Lima 1.1a4 reStructured Text daemon.