the-infocom-files / ballyhoo

Ballyhoo
5 stars 4 forks source link

The description of the trap doesn't mention the dead mouse #60

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

If you catch the mouse with the mouse trap, you'll get a dead mouse. Judging by TRAP-F it's supposed to mention the dead mouse if it's in the trap:

     <COND (<AND <VERB? EXAMINE LOOK-INSIDE>
             <FSET? ,TRAP ,TOUCHBIT>>
        <TELL "The " D ,TRAP " is">
        <COND (<FSET? ,TRAP ,RMUNGBIT>
               <TELL " not">)>
        <TELL " set">
        <COND (<IN? ,CHEESE ,TRAP>
               <TELL "; there is a bit of cheese in the trap">)
              (<IN? ,MOUSE ,TRAP>
               <TELL ". A " D ,DEAD-MOUSE " rests under the bar">)>
        <TELL ,PERIOD>)

But it doesn't because it checks <IN? ,MOUSE ,TRAP> where it should presumably be <IN? ,DEAD-MOUSE ,TRAP>.

eriktorbjorn commented 4 years ago

The same error is repeated further down in TRAP-F:

           (<OR <AND <VERB? OPEN>
             <NOT ,PRSI>>
            <AND <VERB? SET>
             <NOT ,PRSI>>>
        <COND (<IN? ,MOUSE ,TRAP>
               <TELL "A " D ,DEAD-MOUSE " is in it!" CR>)
              (<FSET? ,TRAP ,RMUNGBIT>
               <FCLEAR ,TRAP ,RMUNGBIT>
               <TELL "Painstakingly, you set the trap." CR>
               <RTRUE>)
              (T
               <RASH-ACT T>)>)