mount_pass.c

ldmud-3.3.719/mud/lp-245/room/mount_pass.c · 491 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

#include "std.h"

#undef EXTRA_INIT
#define EXTRA_INIT add_action("up", "up");\
  		   add_action("up", "climb");

TWO_EXIT("room/plane11", "south",
	 "room/mine/tunnel", "north",
	 "Mountain pass",
	 "You are in a pass going into the mountain with a steep slope\nupwards to the north.\nHowever, the path is barred.\nThere is a tunnel entrance to the north.\n"+
	 "It might be possible to climb up, though\n", 1)

int up() {
    this_player()->move_player("up#room/ravine");
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571