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 door_open;

long() {
    write("This is room 2. There is an exit to the west.\n");
}

go_west() {
    if (!door_open)
	write("The door is closed.\n");
    if (door_open)
	call_other(this_player(), "move_object", "west#room/test");
}

init() {
    add_action("go_west"); add_verb("west");
    door_open = call_other("room/test", "door_open", 0);
    write("You come into room 2.\n");
    if (door_open)
	write("There is an open door to the west.\n");
}