tunnel.c

ldmud-3.3.719/mud/lp-245/room/mine/tunnel.c · 412 B

From the archive ldmud-3.3.719.tar.gz

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;\
    }

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

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)

Site Stats

Snippets: 1791
Codebases: 571