the-infocom-files / ballyhoo

Ballyhoo
5 stars 4 forks source link

You can put Thumb in the crawlspace without moving the moose head first #44

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
Inside Trailer
These quarters are furnished in a foreigner's vision of American Rugged
Individualism. The head of a moose, for example, hangs as a trophy against one
wall. Against the west wall the door stands open and a gaily decorated curtain
is open at the window.

>PUT THUMB IN WALL
A wide-eyed Comrade Thumb goes easily through the opening and drops to the floor
on the other side of the wall. You can hear a faint whimper coming from the
crawl space.

This is because the action gets handled by WALLS-F:

           (<AND <VERB? PUT>
             <PRSO? ,THUMB>
             <EQUAL? ,HERE ,TAMER-ROOM>>
            <PERFORM ,V?PUT ,THUMB ,CRAWL-SPACE>
        <RTRUE>)

It will also refer to the crawl space if you knock on the wall, even if you haven't seen the crawl space yet. That, too, is handled by WALLS-F:

           (<AND <VERB? KNOCK>           
             <EQUAL? ,HERE ,TAMER-ROOM>
             <IN? ,GIRL ,LOCAL-GLOBALS>
             <NOT ,GIRL-CRIED>>
            <TELL-WIMPER>)>>

In this case, perhaps TELL-WIMPER should adjust its message if the moose head hasn't been moved?

<ROUTINE TELL-WIMPER ()
     <SETG GIRL-CRIED T>
     <TELL 
"You can hear a faint whimper coming from the " D ,CRAWL-SPACE "." CR>>