[Package Index | Mudlib Index | Effect Index]

File /d/am/inherit/am_prison.c

Inherit for the prisons in Ankh-Morpork. Handles stuff such as confiscating weapons and magic equipment, removing illegal items from players, whiping their item-savefiles on refresh and delete. There is no NPC as the guard, since that would open ways of harrassment by letting players keep other players in jail for long. Uses two mappings to store information, the first one "_cells" stores the filenames of the cells belonging to the prison with the security-level as the key. The second one, "_prisoners" stores entries of the prisoner-class with the player's name as the key.

Inherits

This class inherits the following classes /cmds/speech.c and .c

Includes

This class includes the following files /include/login_handler.h, /include/move_failures.h, /include/money.h, /include/am_time.h, /include/armoury.h, /include/player_handler.h, /include/login.h, /include/shops/bank.h, /include/language.h, /include/chime.h, /d/am/include/amcw.h and /d/am/inherit/path.h

Class Index

Method index

Public Functions

These are functions that everyone can access.

.