Five Gods Exiled — 179 of 191

Carolyn VanEseltine

Release 1

Chapter 5 - Handling Mementos

Section 1 - Enhancive Mementos

Understand "wield [something]", "grip [something]", and "ready [something]" as wearing.

The location-occupied list is a list of things that varies.

Persuasion rule for asking the shadow self to try wearing: persuasion succeeds.

Check the shadow self wearing something:

now the current person is the shadow self;

if the noun is not wearable:

say "Your shadow inspects [the noun] for a moment, but makes no attempt to wear it." instead;

otherwise if the noun is worn by the shadow self:

say "Your shadow is already wearing [the noun]." instead;

let L be 0;

let M be 0;

now the location-occupied list is {};

if the wear_at of the noun is 1: [weapons]

let M be 2; [2 weapons max]

otherwise if the wear_at of the noun is 2: [shields]

let M be 1; [1 shield max]

otherwise if the wear_at of the noun is 3: [glove]

let M be 2; [2 gloves max]

otherwise if the wear_at of the noun is 4: [cloak]

let M be 1;

otherwise if the wear_at of the noun is 5: [boots]

let M be 1;

otherwise if the wear_at of the noun is 6: [spectacles]

let M be 1;

otherwise if the wear_at of the noun is 7: [necklace]

let M be 5; [5 necklaces max]

otherwise if the wear_at of the noun is 8: [bracelet]

let M be 6; [6 bracelets max]

otherwise if the wear_at of the noun is 9: [ring]

let M be 10; [10 rings max]

otherwise if the wear_at of the noun is 10: [earring]

let M be 4; [4 earrings max]

repeat with target memento running through mementos enclosed by the shadow self:

if (the shadow self is wearing the target memento) and (the wear_at of the target memento is the wear_at of the noun) and (the target memento is not the noun):

now L is L + 1;

if L >= M:

try the shadow self taking off the target memento;

if the shadow self is wearing the target memento:

add the target memento to the location-occupied list;

otherwise:

now L is L - 1;

if (the shadow self is wearing the target memento) and (the wear_at of the target memento is 1) and (the wear_at of the noun is 2) and (the target memento is not the noun): [Checking weapons against shields]

now L is L + 1;

if L >= M:

try the shadow self taking off the target memento;

if the shadow self is wearing the target memento:

add the target memento to the location-occupied list;

otherwise:

now L is L - 1;

if (the shadow self is wearing the target memento) and (the wear_at of the target memento is 2) and (the wear_at of the noun is 1) and (the target memento is not the noun): [Checking shields against weapons]

now L is L + 1;

if L >= M:

try the shadow self taking off the target memento;

if the shadow self is wearing the target memento:

add the target memento to the location-occupied list;

otherwise:

now L is L - 1;

if L >= M:

if the wear_at of the noun is 1:

say "Your shadow's hands are too full with [the location-occupied list] to wield [the noun]." instead;

otherwise if the wear_at of the noun is 2:

say "Your shadow's hands are too full with [the location-occupied list] to protect [zhim]self with [the noun]." instead;

otherwise:

say "Your shadow inspects [the noun] and makes an abortive movement as if to put it on before halting. As [zhe] is already wearing [the location-occupied list], [zher] reluctance is not unreasonable." instead.

Report the shadow self wearing something:

if the wear_at of the noun is 1:

say "Your shadow self grips [the noun] aggressively. ";

otherwise if the wear_at of the noun is 2:

say "Your shadow self raises [the noun] defensively. ";

otherwise if the wear_at of the noun is 3:

say "Your shadow self pulls on [the noun][if the location-occupied list is not {}]. It makes an odd fashion statement beside [the location-occupied list][end if]. ";

otherwise if the wear_at of the noun is 4:

say "Your shadow self swirls [the noun] about [zher] shoulders and clasps it in place. ";

otherwise if the wear_at of the noun is 5:

say "Your shadow self pulls on [the noun]. ";

otherwise if the wear_at of the noun is 6:

say "Your shadow self perches [the noun] on [zher] nose. ";

otherwise if the wear_at of the noun is 7:

say "Your shadow self puts on [the noun]. ";

otherwise if the wear_at of the noun is 8:

say "Your shadow self clasps [the noun] about [zher] wrist. ";

otherwise if the wear_at of the noun is 9:

say "Your shadow self slides [the noun] onto one of [zher] fingers. ";

otherwise if the wear_at of the noun is 10:

say "Your shadow self attaches [the noun] to one of [zher] earlobes. ";

say "You feel a peculiar shiver, and you know that something about you has changed, but you're not quite sure what." instead.

Persuasion rule for asking the shadow self to try taking off: persuasion succeeds.

Report the shadow self taking off something:

if the wear_at of the noun is 1:

say "Your shadow self is no longer wielding [zher] [noun]." instead;

otherwise if the wear_at of the noun is 2:

say "Your shadow self lowers [zher] [noun]." instead;

otherwise if the wear_at of the noun is 3:

say "Your shadow self pulls off [zher] [noun]." instead;

otherwise if the wear_at of the noun is 4:

say "Your shadow self unclasps [zher] [noun] and drapes it over one arm." instead;

otherwise if the wear_at of the noun is 5:

say "Your shadow self pulls off [zher] [noun]." instead;

otherwise if the wear_at of the noun is 6:

say "Your shadow self removes [zher] [noun] and folds them carefully." instead;

otherwise if the wear_at of the noun is 7:

say "Your shadow self removes [a noun] from about [zher] throat." instead;

otherwise if the wear_at of the noun is 8:

say "Your shadow self removes [a noun] from about [zher] wrist." instead;

otherwise if the wear_at of the noun is 9:

say "Your shadow self slides [a noun] off one of [zher] fingers." instead;

otherwise if the wear_at of the noun is 10:

say "Your shadow self removes [a noun] from one of [zher] earlobes." instead.