narr_alley.c

ldmud-3.2.9/mud/lp-245/room/narr_alley.c · 572 B

From the archive ldmud-329.tar.gz

Download the archive   « Back to the archive contents

#include "std.h"

#undef EXTRA_LONG
#define EXTRA_LONG\
    if (str == "well") {\
	write("You look down the well, but see only darkness.\n");\
	write("There are some iron handles on the inside.\n");\
	return;\
    }

#undef EXTRA_INIT
#define EXTRA_INIT add_action("go_down", "down");

THREE_EXIT("room/vill_road1","north",
	 "room/bank", "east",
	 "room/post", "south",
	 "Narrow alley",
	 "A narrow alley. There is a well in the middle.\n", 1)

go_down() {
    this_player()->move_player("down#room/well");
    return 1;
}

id(str) {
    if (str == "well")
	return 1;
}

Site Stats

Snippets: 1791
Codebases: 571