tunnel.c

mud/2.4.5/room/mine/tunnel.c · 399 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 (id(str)) {\
	write("WARNING !!\n\n"+\
	    "The mines are closed due to risk of falling rock.\n");\
	return;\
    }
TWO_EXIT("room/mount_pass", "south",
	 "room/mine/tunnel2", "north",
	 "Mine entrance",
	 "This is the entrance to the mines.\nThere is a sign on a pole.\n", 1)

id(str) {
    return str == "sign" || str == "pole";
}

Site Stats

Snippets: 1791
Codebases: 571