[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish
Started Thu Sep 21 14:35:32 PDT 2000
.
int pay_fine(string person, int amount)This method pays a fine.
int query_current_fine(string person)This method figures out the current fine for the person.
string query_money_area()This method returns the money area of the fine.
string * query_people_with_fines()This method returns the list of players that have outstanding fines in the fine handler.
string query_save_file()This method returns the save file of the fines.
int query_total_fine(string person)This method figures out the current total fine for the person.
int query_total_payments(string person)This method figures out the current total fine for the person.
void remove_old_fines()This method nips through the list of fines and removes any fines that are either for people that do not exist any more, or totals that are old.
void set_money_area(string area)This method sets the money area of the fine.
void set_save_file(string fname)This method sets the save file of the fines.
class fine_type { int paid; int fines; int last_touched; }