the-infocom-files / bureaucracy

Bureaucracy
8 stars 2 forks source link

Special case in FROOM-DOOR-F for "ANSWER DOOR" is never triggered? #35

Open eriktorbjorn opened 1 year ago

eriktorbjorn commented 1 year ago

This code appears in FROOM-DOOR-F:

     <COND (<VERB? REPLY>
        <COND (<NOT <IS? ,PRSO ,TOUCHED>>
               <COND (<N==? ,HERE ,FROOM>
                  <TELL "You're outside the house." CR>
                  <RETURN T .FDF>)
                 (T
                  <DMAN-APPEARS>)>)
              (T
               <TELL "You are having a hallucination. Nobody's trying to get in." CR>)>
        T)

But as far as I can tell, the door gets the TOUCHED flag when the delivery man appears, or when he gives up and goes away. So I don't see how you could ever try to answer the door from outside the house without the door being touched, so "You're outside the house." is never printed.

But maybe "You're having a hallucination ..." is funnier anyway?