quest_obj.c
ldmud-3.3.719/mud/lp-245/obj/quest_obj.c · 442 B
From the archive ldmud-3.3.719.tar.gz
Download the archive « Back to the archive contents
/*
* This is a standard quest object.
* Configure it to make it look the way you want.
*/
string hint_string, name;
void set_hint(string h) {
hint_string = h;
}
void set_name(string n) {
name = n;
}
int id(string str) { return str == name || str == "quest"; }
string short() {
return name;
}
void long() {
write("This is the quest '" + name + "':\n");
write(hint_string);
}
string hint() { return hint_string; }