An Object with the attribute door can be a door, a bridge, a ladder, a rope, a barrier etc.
If we try to move in the direction of the compass, and the door-object blocks the passage, the default message is adapted:
> n
“You can’t, since the door is in the way.”
But if we Enter or Go directly into door-object and is closed or locked, the same default message is displayed:
> Enter door
“You can’t, since the door is in the way.”
(I don’t know in English but in French this kind of message doesn’t work at all.)
“You can’t, since the door is closed.”, would be better (and it is, closed or locked).
So if the “noun” is in the compass, the first message is better, otherwise it is the second.
It’s happening here:
LanguageLM: Go, 5:
5: "You can't, since ", (the) x1, " ", (isorare) x1, " in the way.";
LanguageLM: Enter, 3: (does not seems appropriate for that)
3: "You can't get into the closed ", (name) x1, ".";
if (next_loc has door) {
if (next_loc has concealed) return L__M(##Go, 2);
if (next_loc hasnt open && ImplicitOpen(next_loc)) {
if (noun == u_obj) return L__M(##Go, 3, next_loc);
if (noun == d_obj) return L__M(##Go, 4, next_loc);
** return L__M(##Go, 5, next_loc);
}
I can’t find any example for which the default message, LanguageLM: Go: 5, would be appropriate.
Can I bother David Griffith with this or not?