[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish
Started May 16th
.
int add_controlled_ownership(string name, int type, int default_type, mixed default_name)This method adds an item to have ownership. If a function pointer is set as the default name, then the method will be evaluated each time the club changes. The first arguement will be the name of the owned item being changed and the second argument will be the new club name.
mixed discuss_elect_ownership(string message, string club_name, class discussion_idea frog, string arg1, string arg2)This is the function used for electing whoever gets to have the nice owned room.
mixed discuss_nominate_ownership(string message, string club_name, class discussion_idea frog, string arg1, string arg2)This is the function used for nominating someone exciting the the owned position of the club rooms.
int is_option(string name)This method checks to see if there is an option associated with the club room.
void load_me()This method loads all the data from the save file.
int query_board_associated()This method queries to see if there is a board associated or not
string query_club()This method queries the club that currently owns the set of rooms.
mixed query_option(string name)This method queries and option associated with the club room.
string query_room_save_file_name(mixed fname)This method returns the save file name to use for the room.
string query_save_directory()This method returns the save file for the club room controller.
int remove_option(string name)This remove removes an option associated with the club room.
void save_me()This method saves all the data to the save file.
void set_board_associated(int board_associated)This method sets if a board is associated with the club room set or not.
int set_club(string club)This method sets the club that currently owns the set of rooms.
int set_controlled_ownership_owner(string controlled, string owner, int type)This method sets the owner of the controlled ownership type.
int set_option(string name, mixed value)This method sets the value of the option associated with the club room.
void set_save_directory(string save_directory)This method sets the save directory for the club room controller.
class ownership { string name; int type; int control_type; }