Five Gods Exiled — 11 of 191

Carolyn VanEseltine

Release 1

Book 3 - Shrines (Part 1)

Part 1 - Shrine Locations

A shrine room is a kind of room.

Some shrine rooms are defined by the Table of Defined Shrine Rooms.

Table of Defined Shrine Rooms

shrine rooms
S1
S2
S3
S4
S5
S6
S7
S8
S9
S10

A shrine entrance is a kind of thing. A shrine entrance is usually fixed in place.

Some shrine entrances are defined by the Table of Defined Shrine Entrances.

Table of Defined Shrine Entrances

shrine entrance
SD1
SD2
SD3
SD4
SD5
SD6
SD7
SD8
SD9
SD10

Table of Defined Shrine Connections

shrineshrine entrance
S1SD1
S2SD2
S3SD3
S4SD4
S5SD5
S6SD6
S7SD7
S8SD8
S9SD9
S10SD10

Admission relates one shrine entrance to one shrine room.

The verb to admit to (it admits to, it admitted to, it is admitting to) implies the admission relation.

Definition: A room (called the chosen room) is shrine-full rather than shrine-free if a shrine entrance is in the chosen room.

To randomize shrine locations:

repeat through the Table of Defined Shrine Connections:

now the shrine entrance entry admits to the shrine entry;

repeat with temporary entrance running through shrine entrances:

let the temporary room be a random shrine-free Blight room;

while the temporary room is R1:

let the temporary room be a random shrine-free Blight room;

now the temporary entrance is in the temporary room;

if the temporary entrance admits to a shrine room (called the target shrine):

change the inside exit of the temporary room to the target shrine;

change the outside exit of the target shrine to the temporary room.

Before entering a shrine entrance:

try going inside instead.

A shrine entrance can be attempted or unattempted. A shrine entrance is usually unattempted.

Before going inside from a shrine-full room:

if a shrine entrance (called the target shrine entrance) is visible:

now the target shrine entrance is attempted.