the-infocom-files / witness

The Witness
3 stars 4 forks source link

If you handcuff monica to the desk, that's described twice when you look #50

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
(office)
This is obviously the office of Mr. Linder's company, Pacific Trade Associates.
At the west end of the office, a massive desk of teak and mahogany faces toward
the window. It has no drawers, but the top is covered with piles of letters,
some newspapers, a telephone, and various souvenirs from the Far East. Monica is
fastened to the desk with a pair of handcuffs.
Behind it is a large ornately-carved chair, like a cruiser escorting a battle
ship. A simple wooden chair, polished smooth by visitors, flanks the desk on the
other side. On the north wall is a lounge, upholstered in green velvet and a bit
lumpy, with a framed wood-block picture hanging over it. On the outside wall,
next to a door and window, stands a grandfather clock, ticking relentlessly. A
file cabinet stands in the corner.
The door to the interior hallway is open.
Monica is fastened to the desk with the pair of handcuffs.

That's because OFFICE-DESK-F, when used as a DESCFCN, prints that Monica is handcuffed to it. OFFICE-F calls that function to include the description of the desk. Then MONICA-F prints that she's handcuffed as her description.

I guess OFFICE-DESK-F shouldn't add the description of Monica when used as a DESCFCN. Only when examining the desk.