[ Package Index | Mudlib Index | Effect Index ]

File /obj/state_changer.c

State Changer Inheritable! You can use this to write a device which will change the states of things.

Written by Terano

Started 30/9/02


Inherits

This class inherits the following classes /obj/vessel.c

Includes

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

Method index

 o beginning(object, object, int)
Some effect stuff to save on call outs.
 o do_action(object *)
 o do_empty(object *, string, string, string)
 o do_fill(object *, mixed *, mixed *, mixed *)
 o end(object, object, int)
 o extra_look(object)
Something to mask!
 o long(string, int)
 o parse_message(string)
 o query_busy()
 o query_classification()
 o set_abort_message(string)
 o set_command(string)
 o set_command_mess(string)
 o set_duration(int)
 o set_end_func(function)
 o set_end_message(string)
 o set_fail_func(function)
 o set_fail_message(string)
 o set_fail_process(string)
 o set_gp_cost(int)
 o set_gp_type(string)
 o set_interim_message(string)
 o set_process(string)
 o set_running_inv_mess(string)
 o set_skill(string, int)
 o set_start_func(function)
 o set_start_message(string)
 o show_message(object, object, int)
 o test_add(object, int)
 o test_remove(object, int, mixed)

Public Functions

These are functions that everyone can access.

.
 * beginning
object beginning(object apparatus,
                 object tp,
                 int id)
Some effect stuff to save on call outs.

 * do_action
int do_action(object * obs)
 * do_empty
int do_empty(object * dest,
             string me,
             string him,
             string prep)
 * do_fill
int do_fill(object * to,
            mixed * args_b,
            mixed * args_a,
            mixed * args)
 * end
object end(object apparatus,
           object tp,
           int id)
 * extra_look
string extra_look(object ob)
Something to mask!

 * long
string long(string word,
            int dark)
 * parse_message
string parse_message(string message)
 * query_busy
int query_busy()
 * query_classification
string query_classification()
 * set_abort_message
void set_abort_message(string message)
 * set_command
void set_command(string _command)
 * set_command_mess
void set_command_mess(string message)
 * set_duration
void set_duration(int _duration)
 * set_end_func
void set_end_func(function f)
 * set_end_message
void set_end_message(string message)
 * set_fail_func
void set_fail_func(function f)
 * set_fail_message
void set_fail_message(string message)
 * set_fail_process
void set_fail_process(string _process)
 * set_gp_cost
void set_gp_cost(int gp)
 * set_gp_type
void set_gp_type(string type)
 * set_interim_message
void set_interim_message(string message)
 * set_process
void set_process(string _process)
 * set_running_inv_mess
void set_running_inv_mess(string mess)
 * set_skill
void set_skill(string _skill,
               int _base_bonus)
 * set_start_func
void set_start_func(function f)
 * set_start_message
void set_start_message(string message)
 * show_message
object show_message(object apparatus,
                    object tp,
                    int id)
 * test_add
int test_add(object ob,
             int flag)
 * test_remove
int test_remove(object ob,
                int flag,
                mixed dest)

Discworld MUD's distribution world wide web pages.
brought to you by
Cut Me Own Throat Dibbler's Sensational Sausages; buy one while they are hot.
File last modified: Sat, 07 Oct 2006 01:00:05 GMT

Lost? Try Discworld's home page.