Skip to reading
Text & Sierra-Style Adventures

26. NORTH is a rule, not a magic room name

Edition 0.86.3.4

Build a complete text or graphical parser adventure with typed commands, inventory puzzles and press-to-walk controls.

Download PDFView illustrations

A text adventure can let the player type NORTH instead of walking to an exit. The controller’s travel function interprets N, NORTH and GO NORTH as the same route.

Source table from 26. NORTH is a rule, not a magic room name, page 29
Current roomCommandConditionResult
YardN / NORTH / GO NORTHDoor openChange to cabin, spawn entry.
YardNORTHDoor closedReply; remain in yard.
CabinS / SOUTH / GO SOUTHNoneChange to lab, spawn entry.
Either roomAn unavailable directionNo route authoredReply; remain in current room.

Figure 17. A room change produces a new description in the same transcript.

After entering the cabin, try TALK TO MORGAN. The controller rejects it because Morgan is in the yard. Knowing a noun does not mean the noun is present.

In the graphical version, arrow keys move within a room and NORTH changes rooms. They are separate controls. If you later add a doorway trigger for automatic travel, make it call the same guarded route instead of bypassing the lock.

Page 29 of 68Permalink
Go to page