7.5 Doors
Sometimes, you will encounter doors. A door may be open, shut, locked open, or locked shut. To try to open a door that lies to the north of you, the syntax would be OPEN DOOR NORTH or OPEN DOOR N. To close a door to the north, you would type CLOSE DOOR NORTH or CLOSE DOOR N. (As you can see, directions can generally be abbreviated in the ways shown above.)
Naturally, before you can open a locked door, you must unlock it, and before you can close a door that has been locked open (imagine a bolt lock that has been locked while the door is open), you must unlock it. To do so, you must obtain a key for the door, which may or may not be possible, depending on the door. There are other ways to bypass doors, but those are for you to discover. To lock a door to the north, assuming you are holding the proper key for it, you would do LOCK DOOR NORTH. The syntax to unlock a door to the north is UNLOCK DOOR NORTH.
Commands:
---------
OPEN DOOR <direction>
Opens a door in a direction.
CLOSE DOOR <direction>
Closes a door in a direction.
UNLOCK DOOR <direction>
Unlocks all the locks you are capable of unlocking on the door in that direction.
LOCK DOOR <direction>
Locks all the locks you are capable of locking on the door in that direction.
See also: HELP MOVEMENT, HELP ENDURANCE, HELP PATHFINDING