Five Gods Exiled — 24 of 191

Carolyn VanEseltine

Release 1

Part 5 - Prop-Based

To write a prop-based room description:

if the current room encloses a significant prop:

now the current landmark is a random significant prop in the current room;

otherwise:

now the current landmark is a random decorative prop in the current room;

if the desc of the current room is "":

DM "I'm writing a prop-based room description for [the current room] ";

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

let K be a random number between 1 and 2;

if K is 1:

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

write a weather-prop sentence;

write a terrain sentence;

write a barrier sentence;

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

otherwise if K is 2:

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

write a weather sentence;

write a terrain-prop sentence;

write a barrier sentence;

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