Five Gods Exiled — 26 of 191

Carolyn VanEseltine

Release 1

Part 7 - Undecorated

To write an undecorated room description:

if the desc of the current room is "":

DM "I'm writing an undecorated room description for [the current room] ";

now the desc of the current room is "(Something went wrong with this undecorated room description.)";

let K be a random number between 1 and 4;

if K is 1:

DM "(type 1).[line break]";

write a weather sentence;

write a terrain sentence;

write a barrier sentence;

now the desc of the current room is "[the weather sentence] [the terrain sentence] [the barrier sentence]" in sentence case;

otherwise if K is 2:

DM "(type 2).[line break]";

write a weather-terrain sentence;

write a barrier sentence;

now the desc of the current room is "[the weather-terrain sentence] [the barrier sentence]" in sentence case;

otherwise if K is 3:

DM "(type 3).[line break]";

write a weather sentence;

write a terrain-barrier sentence;

now the desc of the current room is "[the weather sentence] [the terrain-barrier sentence]" in sentence case;

otherwise:

DM "(type 4).[line break]";

write a weather-terrain sentence;

write a prop sentence;

write a barrier sentence;

now the desc of the current room is "[the weather-terrain sentence] [the barrier sentence]" in sentence case.

The weather sentence is some text that varies.

The terrain sentence is some indexed text that varies.

The shrine sentence is some indexed text that varies.

The prop sentence is some text that varies.

The barrier sentence is some text that varies.

The weather-terrain sentence is some text that varies.

The weather-shrine sentence is some text that varies.

The weather-prop sentence is some text that varies.

The weather-barrier sentence is some text that varies.

The terrain-shrine sentence is some text that varies.

The terrain-prop sentence is some text that varies.

The terrain-barrier sentence is some text that varies.

The shrine-barrier sentence is some text that varies.

The prop-barrier sentence is some text that varies.