From the NannyMUD documentation
2001-09-09
quest_obj - The object giving hints etc. to mortals.
This object does not inherit anything.
set_name Set the name of the quest. set_short Set the short desc. set_hint Set the hint presented to the mortals. set_points Set the QP for the quest. Not used. set_mailtext If set, over-rides the default mail text. set_www_page WWW address for the quests WWW page. set_other_wiz Set who will gte the mortals mudmail-responses.
query_name The query functions queries the things set by the query_mailtext setup-functions. query_other_wiz query_hint query_points query_www_page
This object is used by wziards to setup how the quest looks when the mortals list quests in the guilds, when they read the hints, etc.
NAME
set_mailtext -SYNTAX
void set_mailtext(string str)DESCRIPTION
This sets a mail text, that is sent to the player when he solves the quest, instead of the standard text.
FUNCTION
NAME
set_other_wiz -SYNTAX
void set_other_wiz(string wiz)DESCRIPTION
This sets the name of the wizard who should get the response by the player on the mail sent when the player solves the quest. This can be useful for quests in areas with a maintainer.
FUNCTION
NAME
set_hint -SYNTAX
void set_hint(string h)DESCRIPTION
This sets the hint presented to the player when he lists a specific quest in his guild.
FUNCTION
NAME
set_name -SYNTAX
void set_name(string n)DESCRIPTION
This sets the name of the quest. It is highly recommended that it starts with your name, and it MUST be unique.
FUNCTION
NAME
set_short -SYNTAX
void set_short(string s)DESCRIPTION
This sets the short description of the quest, which is basically what is shown to the player when he lists all unsolved quests at his guild.
FUNCTION
NAME
set_www_page -SYNTAX
void set_www_page(string s)DESCRIPTION
It is possible to create a WWW page for your quest. If you do, talk with the quest coordinater, and the page can then be moved to the WWW tree of NannyMUD. This address should then point there. There are several reasons for not allowing WWW pages to reside in the wizards own dir, of which one is that we need to have full control over what appears on our WWW pages.
FUNCTION
NAME
set_points -SYNTAX
void set_points(int p)DESCRIPTION
Originally, this set the quest points of the quest. That is no longer true; all QPs are stored in a file under the admins control. It is possible, however, that future admin re-designs the quest system and this is then being used again.
FUNCTION
NAME
query_name -SYNTAX
string query_name()DESCRIPTION
Those functions return the value of the variable as indicated.
FUNCTION
NAME
query_mailtext -SYNTAX
string query_mailtext()DESCRIPTION
The function returns the value of the corresponding variable.
FUNCTION
NAME
query_other_wiz -SYNTAX
string query_other_wiz()DESCRIPTION
The function returns the value of the corresponding variable.
FUNCTION
NAME
query_hint -SYNTAX
string query_hint()DESCRIPTION
The function returns the value of the corresponding variable.
FUNCTION
NAME
query_points -SYNTAX
int query_points()DESCRIPTION
The function returns the value of the corresponding variable.
FUNCTION
NAME
query_www_page -SYNTAX
string query_www_page()DESCRIPTION
The function returns the value of the corresponding variable.