Skip to main content

reset

Discworld driver help

reset

Name

reset - allows an object to do self-maintenance

Synopsis

void reset( void );

Description

After every reset interval (whose exact length is determined on a mud by mud basis, but averages around every 2 hours), reset() is called in every object that currently exists. If LAZY_RESETS is defined in options.h in the driver, reset() will only be called in objects when they are touched (near players), so unused objects will not be loaded from the swap file to reset. The reset() call is usually used to check if any treasures and/or monsters in the room have been removed so they can be replaced.

See also

set_reset(3), create(4)