Section 1 - Doors
The initial appearance of a door is usually "A door leads [item described direction]." The description of a door is usually "[if open]An open door, through which you can see the [other side of item described from location in lower case] to [the way through item described].[otherwise]It's closed."
To say (item - a thing) direction:
let place be a random room;
let the place be the other side of the item;
if the place is visited, say "[way through the item] to [the place in lower case]";
otherwise say "[way through the item]".
To decide what direction is the way through (threshold - a door):
let far side be the other side of threshold;
let way be the best route from the location to the far side, using even locked doors;
if way is a direction, decide on the way;
decide on inside.