[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish
Started Tue Nov 30 23:37:12 PST 1999
.
void add_stable_type(string type)This method adds in a type of transport that can be stabled in this stable.
int add_to_stable(string name, object * horses)This method adds the horses to the stable.
void adjust_balance(string name, int amt)This method adjusts the balance of the players stable account.
int can_stable_type(string type)This method checks to see if the specified type of transport can be stabled here.
int do_deposit(string mon)This method adds money to the players stable account.
int do_list()This method shows you a list of all the horse you have in the stables.
int do_return(string num)This method removes an animal from the stables and runs off with it.
int do_stable(object * obs)This method allows the person to stable their animal. It will cost them (of course).
void load_me()This method loads the room.
void print_ok_message(object me, object * horses)This message prints out something happy when you actually do the stabling.
int query_balance(string name)This method returns the players current balance in their stable account.
int query_cost_per_week()This method returns the cost per week in the stables.
int query_player_money(object player, string place)This method returns the amount of money on the player and in their account.
string query_save_directory()This method queries the directory we will use to save the players transports in.
string * query_stable_types()This method returns the types of transports that can be stabled here.
int query_stabling_cost(string name, int pos)This method returns the cost of stabling the horse up to the current time.
int query_start_cost()This method returns the basic cost of stabling the animal.
void remove_player_money(object player, int amt, string place)This method removes money from the player, it will try and remove from their stable balance before taking money off them.
void save_me()This method saves the room.
void set_balance(string name, int amt)This method sets the current balance of the player stable account.
void set_cost_per_week(int cost_per_week)This method sets the cost per week in the stables.
void set_save_directory(string directory)This method sets the directory we will use to save the players transports in.
void set_start_cost(int start_cost)This method sets the basic cost of stabling the animal.
void check_stable(string mess, int cost, object * ok, string place)This method is used to confirm that they want to spend theirn money stabling the horse.
class stable * query_stable(string name)This method will find the stable associated with the specified player.
void set_stable(string name, class stable * value)This method sets the stable to the new value.
class stable { int date_in; int last_paid; string name; mixed * save_info; }