[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish
Started Wed Sep 27 18:19:22 PDT 2000
.
int do_add_blacklist(string person,
string reason)
This method adds a person to the blacklist.
int do_apply()This is the method used for someone to apply for citizenship.
int do_approve(string person)This method makes the citizen approved by a happy little magistrate.
int do_deny(string person,
string reason)
This allows you to put in a reason for denying someone for citizenship.
int do_list()This method lists all the current applicants.
int do_list_blacklist(int verbose)This method lists the current blacklist.
int do_list_denied()This method lists the current set of denied people.
int do_list_expression()This method lists the expression used for showing if someone is allowed to be a citizen or not.
int do_remove_blacklist(string person)This method removes a person from the blacklist.
int do_set_expression(string expression,
int sponsor_expr)
This method sets up the expression to use to check to make sure people
are allowed to apply for citizenship.
int do_sponsor(string person)This allows someone to sponsor someone for citizenship.
void load_me()This loads all the exciting data for the citizenship room.
void post_weekly_results()This method posts the weekly results about the citizenship approvals to the council board.
string query_save_file()This method returns the current save file name.
void save_me()This method saves everything!
void set_save_file(string fname)This method sets the save file.
class approval_list {
string * sponsors;
mapping against;
int time_added;
}
class approved_person {
class approval_list info;
int time_approved;
string approver;
int denied;
}
class blacklist {
string blacklister;
string reason;
}
class denied {
string denier;
string deny_reason;
int time_denied;
}