EMOTEROO.C
LIB3/D/HOME/CITY/TOWNHALL/EMOTEROO.C · 969 B
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit "/std/room";
object man;
void start_quest(object ob);
void reset() {
if (man)
return ;
man = clone_object(TOWNHALL+"official");
man->move(this_object());
}
void setup() {
set_short("An office in the Town Hall");
set_long("You are in an office somewhere in the Town Hall. "+
"A large desk sits in the centre of the room, with a chair "+
"behind it, and a small plaque on it.\n");
add_item("plaque",
"The plaque is flat, bronzed, and oblong, but has nothing written on it.\n");
set_light(60);
add_item("desk",
"The desk looks very expensive but slightly worn.\n");
add_item("chair",
"A small light brown chair made of pine wood. It looks "+
"well used.\n");
add_item(({ "wallpaper", "wall paper" }),
"There is no wall paper don't you listen?\n");
add_exit("north", "corridor3", "door");
}
void dest_me() {
if (man)
man->dest_me();
::dest_me();
}