Five Gods Exiled — 12 of 191

Carolyn VanEseltine

Release 1

Part 2 - Describing Shrine Entrances

A shrine entrance has an adjective called the appearance. Understand the appearance property as describing a shrine entrance. Understand "shrine" and "entrance" as a shrine entrance.

Rule for printing the name of a shrine entrance (called target shrine entrance):

say "[appearance of the target shrine entrance] shrine".

The list of possible shrine adjectives is a list of adjectives that varies. The list of possible shrine adjectives is {marble, stone, granite, round, square, star-shaped, five-sided, six-sided, seven-sided, eight-sided, small, little, deserted, abandoned, neglected, forgotten, desolate}.

To describe shrine entrances:

repeat with target shrine entrance running through shrine entrances in the Blight:

sort the list of possible shrine adjectives in random order;

now the appearance of the target shrine entrance is entry 1 in the list of possible shrine adjectives;

remove entry 1 from the list of possible shrine adjectives;

now the target shrine entrance is improper-named.

Instead of examining a shrine entrance (called the target entrance):

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

if the temporary room is not visited:

say "Looking into the entrance of the [the target entrance], you see the shadowy outline of someone standing very still inside,";

if the temporary room encloses an orb:

say " lit by something shining in the darkness.";

otherwise:

say " and little more.";

otherwise:

let the temporary statue be a random shrine statue in the temporary room;

if the temporary room encloses a lit candle set:

say "Candlelight illuminates the inside of the [target entrance], and you can see the [temporary statue] through the doorway.";

otherwise:

say "Looking into the [target entrance], ";

if the temporary room encloses an orb:

say "you see something shining in the darkness";

if the temporary statue encloses an orb:

say ", enclosed in a familiar marble grip.";

otherwise:

say ".";

otherwise:

say "you see little save the shadowy form of the [statue-head of the temporary statue]-headed statue."