[Package Index | Mudlib Index | Effect Index]
Written by Taffyd
Started Wed Jan 12 21:59:36 2000
.
object query_well()Bing! What's our well object?
mixed query_well_func()This method returns the well function.
string query_well_position()This method is used to determine the current well object's position.
int query_well_refill()This method is used to determine the current state of automatic well refilling.
int set_well_func(mixed args)This method is used to set the well creation function. If this function is not specified, then a standard well object is created.
set_well_func( (: create_my_well :) );
set_well_func( "create_my_well" ); set_well_func( ({ this_object(), "create_my_well" }) );
set_well_func( ({ DISTRICT_HANDLER, "query_well" }) );
void set_well_position(string s)This method sets the well's position in the room. It is added as the well's "there" property.
void set_well_refill(int i)This method is used to enable/disable automatic well filling. If this is not used, then your well will not refill and it will have to be done manually in either your well code or elsewhere. This is enabled by default!
object create_well()This method creates a well. It uses the well function to create a customised well, otherwise it creates a normal well with a volume of 50000.