[Package Index | Mudlib Index | Effect Index]
Written by Obilix
.
void add_editor(string word)This method adds a new editor to the paper.
void add_reporter(string word)This method adds a new reporter to the paper.
void add_setter(string word)This method adds a new setter to the paper.
void add_sponsor(string word)This method adds a new sponsor to the paper.
int board_access_check(int type, string board, object previous, string name)This method is here to control access to a board if one is requested. It allows only reporters to be able to see or write to it and it allows editors to be able to eat messages from it.
void delete_article(class our_article article)This method deletes any bitsof the article off the disk.
int do_advert_list()
int do_category_add(string category)
int do_category_cost(string category, string cost)
int do_category_cost_per_ten_chars(string category, string cost)
int do_category_list()
int do_category_open(string category, string open)
int do_category_remove(string category)
int do_everyone_status()This is the status that everyone can see, not just the employees.
int do_lock(int locked)
int do_submit_add(string category)
int is_editor(string word)This method checks to see if the specified person is an editor for the paper or not.
int is_locked(class article art)This method checks to see if the specified article is locked or not.
int is_owner(string word)This method checks to see if the specified person is an owner of the paper or not.
int is_postponed(class article art)This method checks to see if the specified article is postponed or not.
int is_reporter(string word)This method checks to see if the specified person is an reporter for the paper or not.
int is_setter(string word)This method checks to see if the specified person is an setter for the paper or not.
int is_sponsor(string word)This method checks to see if the specified person is a sponsor for the paper or not.
string load_article_text(class our_article art)This method loads the text of an article.
string load_article_text_by_file(string fname)This method is used by the web, it loads the article by the file name.
int move_article(int index, string up_down)This method moves an article up or down in the current article list.
void ownership_change(string old_owner, string new_owner)This method is called by the housing system when the ownership changes.
class advert * query_ads()
class article * query_all_articles()This method returns the 'article' class bits of the articles.
string * query_all_editors()This method returns all the current editors of the magazine.
mapping query_all_payees()This method returns all the current payees of the magazine.
string * query_all_reporters()This method returns all the current reporters of the magazine.
string * query_all_setters()This method returns all the current setters of the magazine.
string * query_all_sponsors()This method returns all the current sponsors of the magazine.
class our_article query_article(string match)This method finds an article based on a string.
int query_article_index(string match)This method returns the index of the article in the article array.
string query_article_log_file_name()The file name of the log file for article events.
class our_article * query_articles()
string query_bank_branch()This method returns the bank branch to use for depositing money for editions.
string query_category(string category)This method tries to find a category based on some fuzzy matching.
int query_current_edition()This method returns the current edition of the newspaper./
string query_log_file_name()The file name of the log file for events.
string query_next_article_file_name()This returns the next number to use for an article.
string query_owner()This method returns the current owner of the paper.
string query_paper_name()This method returns the name of the paper.
string query_proxy()This method returns the proxy for this room.
string query_the_paper_name()This method returns the name of the paper with a 'the' in front.
int query_total_profit(int num_articles)This method figures out the total profit from the paper.
void remove_editor(string word)This method removes a editor from the paper.
void remove_reporter(string word)This method removes a reporter from the paper.
void remove_setter(string word)This method removes a setter from the paper.
void remove_sponsor(string word)
void save_article_text(class our_article art, string text)This method saves an article.
void save_article_text_by_file(string fname, string text)This method is used by the web, it loads the article by the file name.
void set_article_title_by_file(string fname, string title)This method is used by the web, it loads the article by the file name.
void set_bank_branch(string bank)This method sets the bank branch to use for depositing money when editions are made.
void set_owner(string person)This method sets the current owner of the paper.
string set_paper_name(string name)This method sets the name of the paper.
void set_proxy(string proxy)This method sets up a proxy for the room. A proxy means all the commands are mirrored to the real location, so save files do not get messed up. You set this if you have any extra rooms you want to be able to control the paper.
void set_save_directory(string dir)This method sets the directory we are to use for all the temporary files and data. The actual pubished data will be stored by the newspaper handler.
void update_commands(string word)This method moves the player in and out of the room to fix up their commands.
void load_me()Loads the data in the file.
void save_me()Saves the data in the file.
class category_data { int cost_per_add; int cost_per_ten_chars; int open; }
class our_article { class article art; int flags; int length; int suggested_payment; }
class payee_data { int paid; string message; }
class reporter { int date_added; int num_articles; int total_payed; }