Open eriktorbjorn opened 3 years ago
>UNLOCK WINDOW (The window is already closed!)
That's because of WINDOW-F:
WINDOW-F
<ROUTINE WINDOW-F () <COND (<VERB? OPEN CLOSE LOCK UNLOCK> <COND (<OR <EQUAL? ,HERE ,DRIVEWAY> <EQUAL? <LOC ,PLAYER> ,CAR>> ;<DOBJ? CAR-WINDOW> <NO-NEED ;"do that"> ;<CAR-DOOR-PSEUDO> <RTRUE>) (<VERB? OPEN> <TELL "The night air is too damp and chilly." CR>) (T ;<VERB? CLOSE> <ALREADY ,WINDOW "closed"> <RTRUE>)>)
Even though it checks for UNLOCK, it assumes that everything other than OPEN means CLOSE.
UNLOCK
OPEN
CLOSE
That's because of
WINDOW-F
:Even though it checks for
UNLOCK
, it assumes that everything other thanOPEN
meansCLOSE
.