![]() | Chapter 3: Things | ![]() ![]() |
3.3. One-way connections |
Connections are ordinarily two-way, but do not have to be. One of the map connections in the Mammoth Cave simulation was made by the sentence:
The Debris Room is west of the Crawl.
Besides reading this sentence at face value, Inform also deduced that the Crawl was probably meant to be east of the Debris Room: in other words, that the path between them is a two-way one. When Inform makes guesses like this, it treats them as being less certain than anything explicitly stated in the source. Inform will quietly overturn its assumption if information comes to hand which shows that it was wrong. That might happen in this case if another sentence read:
The Hidden Alcove is east of the Debris Room.
These two sentences are not contradictory: Inform allows them both, simply accepting that the world is more complicated than it first assumed. There are relatively few situations where Inform has to make educated guesses, but when it does, it tries always to follow Occam's Razor by constructing the simplest model world consistent with the information in the Source text.
We can even explicitly make a route which turns around as it leads between two rooms:
West of the Garden is south of the Meadow.
Finally, if we want to establish a route which cannot be retraced at all, we can specify that a particular direction leads nowhere:
East of the Debris Room is nowhere.
| ![]() Another part of Port Royal, with less typical map connections. |
|
| ![]() A simple elevator connecting two floors which is operated simply by walking in and out, and has no buttons or fancy doors. |
|
Previous | Contents | Next |