the-infocom-files / deadline

Deadline
4 stars 3 forks source link

Minor inconsistencies with the things growing in the garden #20

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

Here are some routines dealing with things growing in the garden.

<ROUTINE FRUIT-TREES-F ()
     <COND (<VERB? PICK EAT TAKE>
        <TELL
"The fruits are not abundant, and those within reach are far from ripe." CR>)>>

<ROUTINE BERRY-BUSH-F ()
     <COND (<VERB? PICK EAT TAKE>
        <TELL
"You pick a few berries and pop them into your mouth. Delicious!" CR>)>>

<ROUTINE GRAPE-ARBOR-F ()
     <COND (<VERB? EAT>
        <TELL "You pick a few grapes and eat them. Mmmm!" CR>)>>

<ROUTINE ROSE-F ()
     <COND (<VERB? SMELL>
        <TELL "They smell nice." CR>)
           (<VERB? EXAMINE>
        <TELL
"There are rows of yellow, red, pink, and white roses here." CR>)
           (<VERB? TAKE>
        <TELL
"Taking a rose would be most ungracious, and possibly dangerous if Mr. McNabb
found out." CR>)>>

I think it would be consistent to add "PICK" as a verb for trying to take the rose, and "TAKE" and "PICK" for trying to eat the grapes.

eriktorbjorn commented 5 years ago

And we may want to add "GRAPES" as a synonym for GRAPE-ARBOR, assuming that doesn't break anything.