Five Gods Exiled — 40 of 191

Carolyn VanEseltine

Release 1

Part 13 - Prop-Barrier Sentences

To write a prop-barrier sentence:

now the prop-barrier sentence is "(This is a prop-barrier sentence for an unknown case involving [current landmark] and [the list of barriers in the current room].)";

now the current barrier is a random barrier in the current room;

if the number of barriers in the current room is 1:

now the current landmark is scenery;

if the current barrier is brambles:

if the number of entries in the prevented directions list of the current room is greater than the number of entries in the permitted directions list of the current room:

now the prop-barrier sentence is "[Current barrier] form a hazardous wall around [a current landmark] at their center. From your position beside the [current landmark], you can only go [permitted directions list of the current room] without risking the thorns.";

otherwise:

now the prop-barrier sentence is "[Current barrier] form a hazardous wall that prevents you from going [prevented directions list of the current room]. Between you and the brambles, there is [a current landmark].";

otherwise:

now the prop-barrier sentence is "Beyond the [current landmark] here, you see [a current barrier], which [if the number of entries in the prevented directions list of the current room is greater than the number of entries in the permitted directions list of the current room]blocks travel in all directions except [permitted directions list of the current room][otherwise]blocks the way [prevented directions list of the current room][end if].".