[Package Index | Mudlib Index | Effect Index]
Written by Wirble
Started August 2001
.
void check_for_new_papers()This function is called after the box loads and then again every hour. If any new issues of the newspaper are available while the box is placed, the necessary property is added to the house's owner and the newspaper-object is put into the box. Once all issues are delivered, the call-out won't reoccur.
int query_international()This queries if the box will work if it's in a house outside the newspaper's region.
int query_issues_left()This queries how many issues are left before the box is used up.
int query_last_issue()This queries the last issue of the paper.
string query_paper()This queries what paper the box is set to.
void set_international(int i)This sets the box to international or not.
void set_issues_left(int _issues)This sets the number of issues the box will handle. This shouldn't be used after the initial creation of the box.
void set_last_issue(int _issue)This sets the last issue that was delivered. Since it should only be called when the box is created, it makes sure that the player doesn't get issues that have been published before the box was purchased.
void set_paper(string new_paper)This sets the newspaper the box is dedicated to.