Book 6 - Decorative Scenery
Z4 is a room.
A decorative prop is a kind of thing. A decorative prop is usually fixed in place. A decorative prop has an adjective called the color.
A tree is a kind of decorative prop. There are 5 trees in Z4. A tree has an adjective called the shape. The initial appearance of a tree is "There is a [shape] tree here." The printed name of a tree is "[shape] tree". Understand the shape property as describing a tree. Understand the color property as describing a tree. Understand "root", "roots", "branch", "branches", "bark", "leaf", "leaves", and "trunk" as a tree. The description of a tree is "This [shape of the noun] tree has [color of the noun] bark."
A weed clump is a kind of decorative prop. There are 5 weed clumps in Z4. A weed clump has an adjective called the shape. The printed name of a weed clump is "[color] clump of weeds". Understand the shape property as describing a weed clump. Understand the color property as describing a weed clump. Understand "of" and "weeds" as a weed clump. The initial appearance of a weed clump is "A [shape] clump of [color] weeds sprouts from the [random terrain in the location].". The description of a weed clump is "This is a mundane clump of [color of the noun] weeds."
A shrub is a kind of decorative prop. There are 5 shrubs in Z4. A shrub has an adjective called the shape. Understand the shape property as describing a shrub. Understand the color property as describing a shrub. The printed name of a shrub is "[color] shrub". The initial appearance of a shrub is "A [color] shrub grows out of the [random terrain in the location].". The description of a shrub is "It's a [shape of the noun] shrub, [color of the noun] in color. You see nothing unusual about it."
A bush is a kind of decorative prop. There are 5 rocks in Z4. A bush has an adjective called the shape. Understand the shape property as describing a bush. Understand the color property as describing a bush. The printed name of a bush is "[shape] bush". The initial appearance of a bush is "A [shape] bush shadows the [random terrain in the location].". The description of a bush is "It's a [shape of the noun], ordinary bush with [color of the noun] leaves."
A fallen log is a kind of decorative prop. There are 5 fallen logs in Z4. A fallen log has an adjective called the shape. Understand the shape property as describing a fallen log. Understand the color property as describing a fallen log. The printed name of a fallen log is "[color] log". The initial appearance of a fallen log is "A fallen log lies on the [random terrain in the location]." The description of a fallen log is "It's [color of the noun] in hue and has obviously been here for some time."
A carving is a kind of decorative prop. There are 5 carvings in Z4. A carving has a monster name called the carving-shape. Understand the carving-shape property as describing a carving. Understand the color property as describing a carving. The printed name of a carving is "carving of a [carving-shape]". Understand "of" as a carving. A carving has a thing called the carving-surface. The initial appearance of a carving is "The crude image of a [carving-shape] has been carved into the [carving-surface] here.". The description of a carving is "Faded [color of the noun] paint still clings to the [carving-surface of the noun] inside the crudely carved outline of the [carving-shape of the noun]".
[To say carving initial appearance:
say "The crude image of a [carving-shape] has been carved into the [if the carving-surface of the noun is bare rock][random terrain in the location][otherwise]cliff wall rising to the [random direction prevented by the carving-surface of the noun][end if]."
To say carving description:
say "Faded [color] paint still clings to the [if the carving-surface of the noun is bare rock][random terrain in the location][otherwise]cliff wall[end if] inside the crudely carved outline of the [carving-shape of the noun]."]
A cairn is a kind of decorative prop. There are 5 cairns in Z4. A cairn has an adjective called the shape. Understand the shape property as describing a cairn. Understand the color property as describing a cairn. The printed name of a cairn is "cairn of [color] stones". Understand "of", "stone", and "stones" as a cairn. The initial appearance of a cairn is "A [shape] cairn of [color] stones has been piled nearby." The description of a cairn is "Many large [color] stones have been piled into a [shape] cairn."
An effigy is a kind of decorative prop. There are 5 effigies in Z4. An effigy has an adjective called the material. Understand the material property as describing an effigy. The printed name of an effigy is "[material] effigy". An effigy has some text called the effigy-image. The initial appearance of an effigy is "A [material] effigy has been placed here." The description of an effigy is "The [material] effigy depicts a [effigy-image]. The sculpture's features are composed in perfect serenity." [Need some more help here.]
Definition: A Blight room is underexciting if (it does not enclose a significant prop and it does not enclose a decorative prop).
To place decorative scenery:
let M be 0;
while M is less than 8:
now the current scenery is a random decorative prop in Z4;
describe the decorative scenery;
let the temporary locale be a random underexciting Blight room;
if the current scenery is a carving:
let the temporary terrain be a random terrain in the temporary locale;
if the temporary terrain is bare rock:
now the carving-surface of the current scenery is the temporary terrain;
move the current scenery to the temporary locale;
DM "Moved [the current scenery] to [the temporary locale]. It's a carving, so I attached it to the [carving-surface of the current scenery].[line break]";
now M is M plus 1;
otherwise if there is a cliff face barrier (called the target barrier) in the temporary locale:
now the carving-surface of the current scenery is the target barrier;
move the current scenery to the temporary locale;
DM "Moved [the current scenery] to [the temporary locale]. It's a carving, so I attached it to the [carving-surface of the current scenery].[line break]";
now M is M plus 1;
otherwise:
DM "Tried to build a carving, but there wasn't anywhere to attach it in [the temporary locale].[line break]";
otherwise:
move the current scenery to the temporary locale;
DM "Moved [the current scenery] to [the temporary locale].[line break]";
now M is M plus 1.
The scenery colors list is a list of adjectives that varies.
The scenery adjectives list is a list of adjectives that varies.
The scenery images list is a list of texts that varies.
To describe the decorative scenery:
if the current scenery is a tree:
now the scenery colors list is {brown, pale brown, light brown, dark brown, grey-brown, grey, black, tan};
sort the scenery colors list in random order;
now the color of the current scenery is entry 1 of the scenery colors list;
now the scenery adjectives list is {twisted, thin, tall, gnarled, small, straight, lightning-struck, broken-limbed, sideways-listing, broad, asymmetrical, windblown};
sort the scenery adjectives list in random order;
now the shape of the current scenery is entry 1 of the scenery adjectives list;
otherwise if the current scenery is a weed clump:
now the scenery colors list is {brown, grey, golden, pale brown, light brown, dark brown, pale grey, light grey, dark grey, pale gold, light gold, dark gold};
sort the scenery colors list in random order;
now the color of the current scenery is entry 1 of the scenery colors list;
now the scenery adjectives list is {dense, sparse, tall, flattened, leafless, brittle, dying, dead};
sort the scenery adjectives list in random order;
now the shape of the current scenery is entry 1 of the scenery adjectives list;
otherwise if the current scenery is a shrub:
now the scenery colors list is {brown, grey, golden, pale brown, light brown, dark brown, pale grey, light grey, dark grey, pale gold, light gold, dark gold, grey-green, greenish black};
sort the scenery colors list in random order;
now the color of the current scenery is entry 1 of the scenery colors list;
now the scenery adjectives list is {bulbous, asymmetrical, thin-limbed, thorny, flattened, brittle, sideways-listing, damaged, broken-limbed, half-crushed, small};
sort the scenery adjectives list in random order;
now the shape of the current scenery is entry 1 of the scenery adjectives list;
otherwise if the current scenery is a fallen log:
now the scenery colors list is {brown, grey, black, dark brown, pale grey, light grey, dark grey, grey-green, greenish black, white-spotted, lichenous green};
sort the scenery colors list in random order;
now the color of the current scenery is entry 1 of the scenery colors list;
now the scenery adjectives list is {bulbous, asymmetrical, thin-limbed, thorny, flattened, brittle, sideways-listing, damaged, broken-limbed, half-crushed, small};
sort the scenery adjectives list in random order;
now the shape of the current scenery is entry 1 of the scenery adjectives list;
otherwise if the current scenery is a carving:
now the scenery colors list is {white, brown, grey, black, pale brown, light brown, dark brown, red, ochre yellow};
sort the scenery colors list in random order;
now the color of the current scenery is entry 1 of the scenery colors list;
now the carving-shape of the current scenery is a random monster name;
otherwise if the current scenery is a cairn:
now the scenery colors list is {white, brown, grey, black, pale brown, light brown, dark brown, pale grey, light grey, dark grey, red, spotted, striped};
sort the scenery colors list in random order;
now the color of the current scenery is entry 1 of the scenery colors list;
now the scenery adjectives list is {waist-high, chest-high, shoulder-high, head-high, low, oblong, small, large, long, lopsided, asymmetrical};
sort the scenery adjectives list in random order;
now the shape of the current scenery is entry 1 of the scenery adjectives list;
otherwise if the current scenery is an effigy:
now the scenery colors list is {white, brown, grey, black, pale brown, light brown, dark brown, pale grey, light grey, dark grey, red, spotted, striped};
sort the scenery colors list in random order;
now the color of the current scenery is entry 1 of the scenery colors list;
now the scenery adjectives list is {stone, granite, marble, limestone};
sort the scenery adjectives list in random order;
now the material of the current scenery is entry 1 of the scenery adjectives list;
now the scenery images list is {"prone man", "prone woman", "prone child", "kneeling man", "kneeling woman", "kneeling child", "seated man", "seated woman", "seated child"};
sort the scenery images list in random order;
now the effigy-image of the current scenery is entry 1 of the scenery images list.