narr_alley.c

mud/2.4.5/room/narr_alley.c · 586 B

From the archive 2.4.5-for-1.1.tgz

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() {
    call_other(this_player(), "move_player", "down#room/well");
    return 1;
}

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

Site Stats

Snippets: 1791
Codebases: 571