[Package Index | Mudlib Index | Effect Index]

File /std/basic/trap.c

This is a basic trap system for adding traps to container type objects (or anything that uses /std/basic/close_lock. To setup the trap use setup_trap(). Functions are available to find out information about a trap on an object. If you wish to create a more advanced trap you can use the set_lock_trap and set_open_trap functions in /std/basic/close_lock.

See also:
/std/basic/close_lock.c and setup_trap .c

Written by ceres

Includes

This class includes the following files /include/tasks.h

Method index

Public Functions

These are functions that everyone can access.

.