[Package Index | Mudlib Index | Effect Index]

File /std/living/crafts.c

This method returns the current bunch of processes for the object.

Method index

Public Functions

These are functions that everyone can access.

add_process
int add_process(string name,
                string ob)

This method adds a process into the current process list.

Parameters:
name - the name of the process to add
ob - the object the process is on

Returns:
1 on success, 0 on failure


query_process
string query_process(string word)

This method finds the data for the spell of the specific name

Parameters:
word - the name of the spell to find data on

Returns:
the data for the spell


query_processes
mapping query_processes()
query_processes_nocase
mapping query_processes_nocase()

This method returns the list of processes without any case issues.

Returns:
the list of processes without any case


remove_process
int remove_process(string name)

This method removes the spell of the given name.

Parameters:
name - the name of the spell to remove

Returns:
1 on succes, 0 on failure


Protected Functions

These are functions that only objects inheriting the class can access.

reset_processes
void reset_processes()

This method resets all of the process data.