Skip to content

PRE-MUNG has a case for using your bare hands, but it's never triggered? #64

@eriktorbjorn

Description

@eriktorbjorn
>DESTROY MAILBOX
What do you want to destroy the mailbox with?

>HANDS
Trying to destroy the small mailbox with a pair of hands is futile.

It's handled by PRE-MUNG like this:

               (<OR <NOT ,PRSI>
                    <NOT <FSET? ,PRSI ,WEAPONBIT>>>
                <TELL "Trying to destroy the " D ,PRSO " with ">
                <COND (<NOT ,PRSI>
                       <TELL "your bare hands">)
                      (T
                       <TELL "a " D ,PRSI>)>
                <TELL " is futile." CR>)>>

I think the way the syntax is defined, PRSI will never be 0. If we want the "your bare hands" message to trigger, I guess the least intrusive change would be to change <NOT ,PRSI> to <EQUAL? ,PRSI <> ,HANDS>. But I haven't tested this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions