the-infocom-files / amfv

A Mind Forever Voyaging
5 stars 2 forks source link

BAR-STOOL should perhaps handle the PUT-ON action, in addition to PUT? #60

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
Bar
You are in a seedy pub, filled with smoke and smelling of urine. A fast-food
counter has been converted into the bar. Battered wooden stools are the only
seating. The exit is southwest.

>PUT KEY ON STOOL
A complete waste of time.

>PUT KEY IN STOOL
Stools are for sitting on.

BAR-STOOL-F has this piece of code:

               (<AND <VERB? PUT>
             <PRSI? ,BAR-STOOL>>
        <COND (<PRSO? ,ME>
               <PERFORM ,V?SIT ,BAR-STOOL>
               <RTRUE>)>
        <TELL "Stools are for sitting on." CR>)>>

("PUT ME IN STOOL" doesn't work, since you're not carrying yourself.)

I think it would be helpful if it handled both PUT and PUT-ON here, particularly since the response is that stools are for sitting on.