the-infocom-files / witness

The Witness
3 stars 4 forks source link

"TAKE STILES OUTSIDE" triggers bug #26

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
(office porch)
You are standing on a small concrete slab outside Linder's office. A sign
between the door and the window reads "PACIFIC TRADE ASSOCIATES". To the north
is a tidy lawn, extending east to the edge of the woods. A path of stepping
stones leads south to the back gate.

>WAIT FOR STILES
Time passes...
Someone enters the property through the back gate.
Do you want to keep waiting? (Answer YES or NO.) >YES
The visitor pushes you out of the way and knocks on the door of Linder's office.
A tall man opens it, speaks to him briefly, hands him some money, and sends him
away.
Mr. Stiles, for whom you are waiting, has arrived.
It's now 9:01 p.m.

>TAKE STILES OUTSIDE
(I assume you mean the back door.)
[Foo!! This is a bug!!]
Mr. Stiles heads off to the south.
Stiles disappears out the back gate.

That's probably because STILES-F doesn't handle the action when you wait for him outside:

       (<AND <VERB? TAKEOUT>    ;"TAKE STILES OUTSIDE"
         <NOT ,TOO-LATE>
         <IOBJ? OFFICE-BACK-DOOR MONICA-BACK-DOOR LINDER-BACK-DOOR>>
    <TELL "Your key won't fit the cuffs." CR>)

And this is the default action:

<ROUTINE V-TAKEOUT ()
     <TELL "[Foo!! This is a bug!!]" CR>>