Chapter 4 - Special Doors and Barriers
Section 1 - Door Descriptions and Knocking
The description of a door is usually "[if open][The item described] stand[s] open[otherwise if locked]Closed and locked[otherwise][Cap it-they of the item described] [is-are] closed[end if]."
Understand "knock on [door]" as knocking on. Knocking on is an action applying to one thing. Understand "knock on [something]" as attacking.
Check knocking on an open door:
say "It's open: [you] could just go in." instead.
Check knocking on a door:
let far side be the other side of the noun;
if the far side does not enclose someone:
say "No one answers. It must be empty." instead.
Report knocking on a door:
if the noun is unlocked:
say "'It's unlocked,' says a voice from inside.";
otherwise:
say "No one answers."