quest_obj.c

mud/2.4.5/obj/quest_obj.c · 388 B

From the archive 2.4.5-for-1.1.tgz

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;

set_hint(h) {
    hint_string = h;
}

set_name(n) {
    name = n;
}

id(str) { return str == name || str == "quest"; }

short() {
    return name;
}

long() {
    write("This is the quest '" + name + "':\n");
    write(hint_string);
}

hint() { return hint_string; }

Site Stats

Snippets: 1791
Codebases: 571