mud/
mud/2.4.5/dgd/include/
mud/2.4.5/dgd/std/
mud/2.4.5/dgd/sys/
mud/2.4.5/doc/
mud/2.4.5/doc/examples/
mud/2.4.5/log/
mud/2.4.5/obj/Go/
mud/2.4.5/players/
mud/2.4.5/players/lars/
mud/2.4.5/room/death/
mud/2.4.5/room/maze1/
mud/2.4.5/room/post_dir/
mud/2.4.5/room/sub/
#include "../std.h"

string rope;

#undef EXTRA_INIT
#define EXTRA_INIT\
    add_action("go_up"); add_verb("up");

#undef EXTRA_LONG
#define EXTRA_LONG\
    if (call_other("room/mine/tunnel3", "query_rope"))\
	write("There is a rope hanging down through the hole.\n");

TWO_EXIT("room/mine/tunnel10", "west",
	 "room/mine/tunnel14", "east",
	 "Hole in ceiling",
	 "There is a big hole in the ceiling.\n", 0)

go_up() 
{
    if (!call_other("room/mine/tunnel3","query_rope")) {
        write("You can't go stright up with some kind of support.\n");
	return 1;
    }
    call_other(this_player(), "move_player", "up#room/mine/tunnel8");
    return 1;
}

tie(str)
{
    if (str != "ring" && str != "rings")
        return 0;
    rope = 1;
    return 1;
}

id(str) {
    return str == "ring" || str == "rings";
}

untie(str) {
    rope = 0;
    return 1;
}