MAP.C

LIB3/D/HOME/CITY/ITEMS/MISC/MAP.C · 416 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit "/std/object";

void setup()
{
   set_name("map");
   set_short("city map");
   add_adjective("map");
   add_alias("streetfinder");
   set_weight(1);
   set_value(100);
}

void init()
{
   this_player()->add_command("read", this_object());
}

int do_read()
{
write("Use 'help map' to see the city map from now on.\n"
 +"This map will now vanish.\n");
call_out("dest_me", 1);
   return 1;
}

Site Stats

Snippets: 1791
Codebases: 571