<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?
This code appears in
FROOM-DOOR-F
: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?