MARKETST.C
LIB3/D/HOME/CITY/MARKETST.C · 1.6 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit "/std/room.c";
setup ()
{
set_short("The east end of Market Street");
set_long("Market Street suddenly ends here. Well, you "+
"could carry on the the east, but you would "+
"get rather wet, as there is no more road "+
"that way, only sea.\n");
add_alias("street", "road");
add_alias("market street", "road");
add_alias("Market Street", "road");
add_item("road",
"The road continues onto a rickety wooden "+
"jetty for a short distance, then ends abruptly.\n");
add_alias("sailors", "people");
add_alias("fishermen", "people");
add_item("people",
"Most of the people here are standing on the jetty "+
"catching fish. Or they would be if there were any "+
"fish to catch, but they don't know that...\n");
add_alias("harbour", "docks");
add_item("docks",
"The docks are where all the tall longboats "+
"and long tallships stay.\n");
add_alias("pier", "jetty");
add_item("jetty",
"It is completely unfeasible that anything "+
"quite as old and rickety as this jetty should "+
"be standing up unaided.\n");
add_exit("west", HOMECITY+"marketstreet13", "road");
set_zone("docks");
set_light(60);
}
init()
{
add_action("do_east", "e*ast", 0);
::init();
}
int do_east()
{
write("You go east.\n");
write("You land in the sea with a large splash.\n");
write("You climb back onto the jetty, feeling rather "+
"wet and extremely silly.\n");
say("There is a loud splash as "+
this_player()->query_cap_name() +" falls into the water.\n");
return 1;
}