the-infocom-files / bureaucracy

Bureaucracy
8 stars 2 forks source link

You can put objects on AGENCY-DESK #16

Open eriktorbjorn opened 2 years ago

eriktorbjorn commented 2 years ago
>PUT WALLET ON DESK
"You're invading my personal space!" shrieks the travel agent, rearing back from
you like an offended snake. She is probably from California.

>EMPTY WALLET ONTO DESK
The Beezer card: Done.
The US Excess card: Done.

>FIND BEEZER CARD
It's on the desk.

This is because AGENCY-DESK only handles certain actions:

    (<VERB? WALK-AROUND OPEN LOOK-INSIDE THROUGH PUT PUT-ON>
     <INVADING-SPACE>)

Compare this to the shelf in the bookstore:

>PUT WALLET ON SHELF
The shelves groan even louder. You abandon the attempt.

>EMPTY WALLET ONTO SHELF
The shelves groan even louder. You abandon the attempt.
<DEFINE SHELVES-F ()
     <COND (<THIS-PRSI?>
        <COND (<PUTTING?>
               <SHELVES-FULL>
               T)
              (T
               <>)>)

So that's what AGENCY-DESK-F should do as well. I'm actually not quite sure how THIS-PRSI? works, but I assume the purpose is to determine if the current object is PRSI.

In the likely event that I find similar bugs elsewhere, I'll add comments about them here rather than filing separate bug reports about them.