Open eriktorbjorn opened 4 years ago
The same thing happens with "LOOK IN BED", even though V-LOOK-INSIDE
actually tries to work around that:
(<FSET? ,PRSO ,CONTBIT>
<COND (<EQUAL? ,PRSO <LOC ,PROTAGONIST>>
<MOVE ,PROTAGONIST ,ROOMS>
<COND (<FIRST? ,PRSO>
<PRINT-CONT ,PRSO>)
(T
<TELL "It's empty (not counting you)." CR>)>
<MOVE ,PROTAGONIST ,PRSO>)
But while it works as intentional for things like the log boat, etc. it doesn't for the bed, because the bed has SURFACEBIT
, and that's handled much earlier in V-LOOK-INSIDE
.
I'm guessing it has to do with the game trying to print what's inside the bed, and the only thing in it is the invisible
PROTAGONIST
object. (If so, this problem probably happens in other games as well.)