the-infocom-files / leathergoddesses

Leather Goddesses of Phobos
4 stars 3 forks source link

Tying your body to the slab (as a gorilla) is broken #60

Open eriktorbjorn opened 3 years ago

eriktorbjorn commented 3 years ago

You're supposed to be able to tie you body to the slab again after releasing it as a gorilla:

           (<AND <VERB? TIE>
             <PRSO? ,FIRST-SLAB ,SECOND-SLAB>
             <NOT ,BODY-TIED-TO-SLAB>>
        <COND (<PRSO? ,SECOND-SLAB>
               <TELL "[the first slab is closer]" CR>)>
        <SETG BODY-TIED-TO-SLAB T>
        <NOW-TIED ,FIRST-SLAB>)

But it checks PRSO instead of PRSI, so it doesn't work correctly:

>UNTIE YOUR BODY
Your body leaps for a rafter and lands back on the first slab with a loud
"whump," looking momentarily stunned.

>TIE YOUR BODY TO THE FIRST SLAB
Kinky!

>TIE THE FIRST SLAB TO YOUR BODY
Okay, the first slab is now tied to the first slab.
eriktorbjorn commented 3 years ago

The same bug is also present in SIDEKICKS-BODY-F:

>UNTIE TRENT
As you untie Trent's body, it attempts to wrap its arms around you as though
they were tentacles.

>TIE TRENT'S BODY TO SECOND SLAB
Why bother?

>TIE SECOND SLAB TO TRENT'S BODY
Okay, the second slab is now tied to the second slab.
           (<VERB? TIE>
        <COND (<AND <PRSO? ,SECOND-SLAB>
                    ,SIDEKICKS-BODY-TIED-TO-SLAB>
               <TELL D ,SIDEKICK " already is!" CR>)
              (<AND <PRSO? ,SECOND-SLAB>
                ,GONE-APE>
               <SETG SIDEKICKS-BODY-TIED-TO-SLAB T>
               <NOW-TIED ,SECOND-SLAB>)
              (T
               <WASTES>)>)