the-infocom-files / starcross

Starcross
5 stars 3 forks source link

Unimplemented feature: Destroying the rods #58

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

The code is a bit split on whether or not you should be able to destroy the rods:

<ROUTINE PRE-MUNG ()
     <COND (<NOT <FSET? ,PRSO ,VICBIT>>
        <HACK-HACK "Trying to destroy the ">)
           (<NOT ,PRSI>
        <FUTILE "destroy">)>>

<ROUTINE V-MUNG ()
     <COND (<FSET? ,PRSO ,KEYBIT>
        <REMOVE ,PRSO>
        <TELL
"It shatters and disappears." CR>)
           (T <TELL "You can't." CR>)>>

So PRE-MUNG won't let you destroy the rods because they don't have VICBIT, but V-MUNG wants to let you destroy the rods because they have KEYBIT.

Note that enabling this would probably be a bit of work, since there are so many cases where the game reacts to you taking an object out of another object. Those would probably break if you were allowed to destroy the rods like this.