TRADERSG.C

LIB3/D/HOME/CITY/TRADERSG.C · 1.1 KB

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit "/std/room.c";

setup()
{
set_short("Outside the Traders Guild");
set_long("You are standing outside the Traders Guild. A door "
         +"to the west will allow you to enter it, and to the "
         +"east you can see the northern end of watchmakers "
         +"lane. \n");
add_exit("east", HOMECITY+"watchmakers4", "road");
add_item( ({ "market", "marketplace" }),
         "The marketplace is the trading centre of "+CITYNAME
         +". It is east if here.\n");
add_item( ({"traders guild", "guild", "guildhouse" }),
         "The traders guildhouse is an opulent looking "
         +"building, painted with pure gold. Those traders "+
         "don't half like to show off you know!\n");
add_item( ({"watchmakers lane", "lane", "road", "street"}),
         "Watchmakers Lane is just east of here. It is "+
         "a small street with many shops on it.\n");
set_zone("trader");
set_light(60);
}

void init()
{
add_action("do_west", "w*est", 0);
::init();
}

int do_west()
{
write("The door into the Traders Guild is locked.\n");
say(this_player()->query_cap_name()+" tries the door to the west.\n");
return 1;
}

Site Stats

Snippets: 1791
Codebases: 571