[Package Index | Mudlib Index | Effect Index]
File /obj/handlers/illusion_handler.c
Illusion handler. This keeps track of the illusions in existence and when
they were last cast. When an illusion has gone without casting for too long,
it vanishes.
This handler also writes the illusion files.Written by Woom
Started June 13, 2005
Class Index
Method index
Public Functions
These are functions that everyone can access.
-
add_illusion
void add_illusion(string file)
This adds an illusion to the handler.
- Parameters:
file - The file name of the illusion, without directory or .c.
-
clean_up
int clean_up(int inherited)
-
find_illusion
int find_illusion(string file)
-
handle_illusion
void handle_illusion(int index)
-
illusion_cast
void illusion_cast(object ill)
-
query_illusion
int query_illusion(string file)
-
remove_illusion
void remove_illusion(string file)
This removes an illusion from the handler. It does not delete it.
- Parameters:
file - The file name of the illusion, without directory or .c.
-
write_illusion
void write_illusion(string text,
string name,
object player)
Classes
These are nice data types for dealing with... Data!