|Description||Section 2.6 states, "Finally, headings are used when working out what a name refers to. Suppose the source contains both a "four-poster bed" and also a "camp bed", and we write something like "The pillow is on the bed." Inform decides which bed is meant by giving priority to whichever is defined in the current section, or failing that the current chapter, or current part, or current book, or finally the current volume. This allows us to write, for instance, |
The four-poster bed is in the Boudoir. The pillow is on the bed.
and not have the pillow mysteriously turn up on the camp bed, which hasn't been mentioned since way back in Chapter 2."
...but that isn't fully correct. In the source code below, the pillow's line comes before the 2nd bed's line, so the pillow is placed on a bed from a different section. The docs might want to mention that minor detail, cause it can cause some confusion especially when an author starts shuffling around his furniture early in the design/coding phase of a game.
(This bug might have been reported by Aaron Reed a long time ago, right around Blue Lacuna's release.)
|Minimal Source Text To Reproduce|
Section 1 - foo
The buduoir is a room. The four-poster bed is a supporter, here.
Section 2 - bar
A pillow is on the bed.
The guest room is a room. The guest bed is a supporter, here.