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/
int exit_num;
object leather;

short() {
    return "End of maze";
}

long() {
    write("The end of the maze.\n");
    write("There are one obvious exit to the south.\n");
}

init() {
    add_action("e1"); add_verb("south");
}

e1() {
    call_other(this_player(), "move_player", "south#room/maze1/maze4");
    return 1;
}

reset() {
    if (!leather || !present(leather)) {
	leather = clone_object("obj/armour");
	call_other(leather, "set_ac", 3);
	call_other(leather, "set_name", "armour");
	call_other(leather, "set_alias", "leather armour");
	call_other(leather, "set_value", 110);
	call_other(leather, "set_short", "A leather armour");
	call_other(leather, "set_weight", 3);
	call_other(leather, "set_type", "armour");
	move_object(leather, this_object());
    }
}