the-infocom-files / deadline

Deadline
4 stars 3 forks source link

Finicky syntax for looking at the notepad against the light #21

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

There are several solutions for revealing the writing on the notepad. The most obvious is, of course, to rub it with the pencil, but apparently holding it up to the light should work too.

           (<VERB? RUB>
        <COND (<NOT ,PRSI>
               <TELL
"You should try rubbing or shading the pad with something." CR>)
              (<==? ,PRSI ,PENCIL>
               <PAD-READ "Shading the paper with the pencil">)>)
           (<AND <VERB? RUN-OVER> <==? ,PRSO ,PENCIL>>
        <PAD-READ "Running the pencil over the paper">)
           (<AND <VERB? HOLD-UP> <==? ,PRSI ,GLOBAL-LIGHT>>
        <PAD-READ "Looking at the pad against the light">)>>

But the syntax is so finicky that I had to look at the source code to figure out that "HOLD PAD UP LIGHT" was one of them.

Can that be improved somehow?