[Package Index | Mudlib Index | Effect Index]

File /obj/handlers/livings.c

A handler to deal with all the living objects on the disc.

Written by Wodan

Method index

Public Functions

These are functions that everyone can access.

enable_commands
void enable_commands(object ob)

Enables commands on the object.

Parameters:
ob - the object to enable the commands on


find_all_livings
object * find_all_livings(string it)

Returns the living object associated with the name.

Returns:
the living object


find_living
object find_living(string it)

Returns the living object associated with the name.

Returns:
the living object


find_player
object find_player(string it)

Returns the player associated with the name.

Returns:
the player object


named_livings
object * named_livings()

This method returns the name of all the named livings in the game. Do not use this method except for debugging.
remove_garbage
void remove_garbage()

Removes all the not very useful things from the huge mapping.
set_living_name
void set_living_name(string name,
                     object ob)

This method registers the living name with the specific object.

Parameters:
name - the name to register
ob - the object to register it with