Volume 7 - Building the Exile
Book 1 - Determining Rooms and Directions
Table of Exile Room Generation
location |
E1 |
E2 |
E3 |
E4 |
E5 |
E6 |
E7 |
E8 |
E9 |
E10 |
E11 |
E12 |
E13 |
E14 |
E15 |
E16 |
E17 |
E18 |
E19 |
E20 |
An Exile room is a kind of room.
Some Exile rooms are defined by the Table of Exile Room Generation.
An Exile room has a list of directions called the permitted directions list.
An Exile room has a list of directions called the prevented directions list.
The Exile is a region.
All Exile rooms are in the Exile.
Correspondence relates rooms to each other.
The verb to correspond with (it corresponds with, they correspond with, it corresponded with, it is corresponded with) implies the correspondence relation.
Table of Exile-Blight Correspondence
Exile room | Blight room | |
E1 | R1 | |
E2 | R2 | |
E3 | R3 | |
E4 | R4 | |
E5 | R5 | |
E6 | R6 | |
E7 | R7 | |
E8 | R8 | |
E9 | R9 | |
E10 | R10 | |
E11 | R11 | |
E12 | R12 | |
E13 | R13 | |
E14 | R14 | |
E15 | R15 | |
E16 | R16 | |
E17 | R17 | |
E18 | R18 | |
E19 | R19 | |
E20 | R20 |
To determine Exile rooms and directions:
repeat with temporary locale running through Exile rooms:
let matching locale be the Blight room corresponding to an Exile room of the temporary locale in the Table of Exile-Blight Correspondence;
now temporary locale corresponds with matching locale;
now the permitted directions list of the temporary locale is the permitted directions list of the matching locale;
now the prevented directions list of the temporary locale is the prevented directions list of the matching locale;
[say "[temporary locale] corresponds with [matching locale].";]
repeat with temporary locale running through Exile rooms:
let matching locale be the Blight room corresponding to an Exile room of the temporary locale in the Table of Exile-Blight Correspondence;
repeat with thataway running through compass directions:
let the possible locale be the room thataway from the matching locale;
if possible locale is not nothing:
if an Exile room (called the next room) corresponds with the possible locale:
change the thataway exit of the temporary locale to the next room;
[say "For correspondence with [matching locale], exit from [temporary locale] to [next room] needed to the [thataway]."]