Blue Lacuna — 382 of 467

Aaron A. Reed

Release 4

Section - Player Rescue

Player Rescue is a scene.

Player Rescue begins when conditions_for_PR is true.

To decide whether conditions_for_PR is true:

if Progue Rescue has ended, decide no;

if current episode is not Water Works, decide no;

if location is Fork and tsun_tracker > 100, decide yes;

if tsun_tracker > 40 and tsun_tracker <= 100, decide yes;

if tsun_tracker > 110, decide yes;

if completely submerged and Progue Rescue is not happening, decide yes;

decide no.

Test dangling with "ff / ff / ff / ff / ff / ff / tp hive room / tsun / z / z / z / z / z / sleep / z / z / z / z / z / z / z / z / z / z / z / z / z / z / z / z / z / z / open compass / nw / se".

When Player Rescue begins:

now water_count is water_count - 6 feet;

now player_imperiled is true;

if we are going, say "You move cautiously forward in the darkness, but suddenly "; otherwise say "Suddenly ";

if location is Edge of Ravine or location is Viewpoint or location is Backside or location is Saddle begin;

say "the ground gives way beneath your feet and you are falling, sliding in a torrent of wet earth and stones off the drop-off. You scrabble desperately for something and finally your hands grasp a thick tree [o]root[x]; you grip it with all your strength as the ground crumbles away beneath you, falling far down towards the [o]ravine[x] floor below, leaving you dangling over the precipice.";

move quake tree root to location;

otherwise if location is Rockslide or location is regionally in Volcano Slopes or location is Rim of Volcano;

say "the loose rock gives way beneath your feet, and the whole hillside is sliding. You try desperately to maintain your balance and jump clear of the slide, but rocks twist and grab your ankles and you fall to the ground, throwing your arms up to your head to protect it. Mercifully, the rockslide stops moments later; but your feet and lower legs are caught under a [o]boulder[x], wedged tight against another.";

move slide to location;

otherwise if location is flooded or elevation of location - water_count is at most 4 feet;

say "the water surges around you and lifts you off your feet. Desperately you try to ride the wave, but then something glances against your head leaving your ears ringing, and you are twisted around and pulled under.[paragraph break]After a long, horrible moment, you manage to break the surface again; but your foot has caught on some hard [o]foothold[x], and the water continues to rise.";

move foothold to location;

otherwise;

say "the ground beneath your foot steepens and then, horribly, disappears, and you fall forward into a sudden blackness. You throw your arms backwards and grab for purchase; they painfully catch on what seems to be the edge of some new [o]crack[x] opened in the quake; frantically, you grasp for a handhold as you slip farther and farther into the maw. Finally you manage to stop your slide, though you are dangling over a pitch black hole of unknown depth.";

move the giant crack to location;

end if.

Check going when player_imperiled is true: say "You wish you could." instead.

[ Dangling over ravine ]

The quake tree root is set dressing. The printed name is "slippery root". The description is "It bends dangerously under your weight." Instead of climbing quake tree root, try going up. Instead of taking quake tree root, say "You are already gripping it as tightly as you can." Does the player mean doing something with quake tree root: it is very likely.

Instead of going when player_imperiled is true and ( quake tree root is in location or giant crack is in location or slide is in location ) (this is the tsungd1 rule): say "You can't go anywhere until you get out of this mess." instead. The tsungd1 rule is listed first in the instead rules.

Instead of going down when player_imperiled is true and ( quake tree root is in location or giant crack is in location ) (this is the tsungd2 rule): say "Suicide." instead. The tsungd2 rule is listed first in the instead rules.

Instead of going up when ( quake tree root is in location or giant crack is in location ) and player_imperiled is true (this is the first earthquake rule): say "You try to struggle upwards, but your handhold is slippery and your feet can't get any purchase. You almost lose your grip and grab desperately with your other hand to tighten your hold.". The first earthquake rule is listed first in the Instead rules.

Instead of jumping when player_imperiled is true: say "[if giant crack is enclosed by location or quake tree root is enclosed by location]Suicide[otherwise]You desperately try to leap free, but you can't work yourself free from the crushing grip on your lower body[end if].".

First check climbing when player_imperiled is true and ( quake tree root is in location or giant crack is in location ) : try going up instead.

[ Dangling over crack ]

The giant crack is an unopenable open fixed in place container. Understand "hole" or "maw" or "chasm" or "handhold" as giant crack. The description is "[if player_imperiled is true]You have no sense of its dimensions or depth; but you can't touch the other side and you can't see the bottom.[otherwise]The crack, rimmed by wrinkles of recently disturbed soil and dying plants, is narrow enough to jump over, just, and a dozen paces long. It seems to go down quite a ways.". The initial appearance is "A [o]crack[x] has opened up in the earth here, slicing unpleasantly through the [surface-material].". Instead of exiting when giant crack is in location: try going up. Instead of entering giant crack: say "Without the proper equipment, it would be too dangerous.". Instead of entering giant crack when player_imperiled is true: try going down. Instead of climbing giant crack when current episode is Water Works and Progue is not enclosed by location: say "You struggle to pull yourself up, but the ground is loose and each handhold gives under increased weight. You feel yourself slipping slowly backwards.". Instead of taking giant crack, try climbing giant crack.

[ Stuck in rockslide ]

The slide is set dressing. Understand "rock" or "rocks" or "rockslide" or "boulder" as slide. The printed name is "rockslide". The description is "The whole hillside slipped loose, only to tentatively, piece by piece, grab onto the slope and hold still again, no matter how precariously.". Instead of going when player_imperiled is true and slide is in location: say "You struggle to free yourself, but you are stuck tight.". Instead of taking or pushing or pulling slide: say "You shift a few stones, but the larger ones are too heavy for you to get a good grip on.". Instead of attacking slide: say "You rail at the stones trapping you, but only manage to wedge yourself in more tightly.".

[ Trapped in rising water ]

The foothold is set dressing. Understand "foot" or "hold" or "foot hold" or "obstruction" or "snare" as foothold. The description is "You can't see it beneath the surging waves; all you can feel is that it's something hard and unyielding, and your foot is definitely stuck in it.". Instead of taking or pushing or pulling the foothold: say "You take a breath and pull yourself under to tug at the snare, but the water is surging around you so savagely that you can't get a grip. You surface again, gasping, and see that the water has risen even higher.". Instead of attacking the foothold: say "You kick savagely at the obstruction, but only succeed in wedging your foot in more tightly.". Instead of vague swimming while player_imperiled is true (this is the tsunswim2 rule): say "You kick your free leg and paddle frantically with your hands, but your other foot is held tight." instead. The tsunswim2 rule is listed first in the instead rules. Instead of going down when player_imperiled is true and foothold is in location (this is the tsunswim1 rule): try taking foothold. The tsunswim1 rule is listed first in the instead rules. Instead of going when player_imperiled is true and foothold is in location (this is the tsungo1 rule): say "You kick your free leg and paddle frantically with your hands, but your other foot is held tight.". The tsungo1 rule is listed first in the instead rules. Vague swimming is fighting for life. Instead of attacking surf when foothold is visible, try attacking foothold.

Going somewhere is fighting for life. Climbing is fighting for life. Doing something to the rockslide is fighting for life. Doing something to the foothold is fighting for life. Doing something to the giant crack is fighting for life. Doing something to the quake tree root is fighting for life.

survival_count is a number that varies. survival_count is 0.

After fighting for life when Player Rescue is happening and Progue is visible: increase survival_count by 1; if Drama Manager is being debugged, say "//Drama Manager: Tsunami: **fighting for life**"; continue the action.

Every turn when Player Rescue is happening and survival_count >= 2: say "Struggling furiously, you [if foothold is visible or slide is visible]twist your foot free, scraping it badly[otherwise]grab for a desperate handhold and pull yourself to safety[end if]. Progue grabs you and hauls you forward, muttering something about heroics, and the two of you [if location is flooded]struggle towards dry land and higher ground[otherwise if elevation of location < 30 feet]struggle towards higher ground in the terror of night[otherwise]collapse in exhaustion to wait out the long night[end if]."; now player_imperiled is false.

Every turn during Player Rescue:

now water_count is water_count - 2 feet; [ once this event has been triggered we don't want the player to drown in the middle of it. ]

if the time since Player Rescue began is at least ( 2 times time factor ) minutes and Progue is not enclosed by location begin;

summon Progue to location;

now Progue is idle;

say "Progue appears and in a flash, reaches out a [o]hand[x] to you.[paragraph break]'Take it!' he shouts, glancing nervously behind him, 'hurry!'";

end if.

Instead of greeting Progue during Player Rescue: say "'No time,' he shouts, 'grab my hand!'". First Instead of attacking, pushing, hugging, or kissing Progue during Player Rescue: say "This is hardly the time for that.".

Understand "hand" as Progue when Player Rescue is happening. Instead of taking Progue when Player Rescue is happening (this is the earthquake 2 rule): now pr_coop is true; say "You grasp Progue's hand gratefully, and feel it [if slide is in location]pull you free of the rockslide[otherwise]pull you forward[end if] with surprising strength.[paragraph break]'Gotcha gotcha,' he shouts against the roar of the waves[if romance of Progue >= 4], then plants a quick, desperate kiss on your lips[end if]. 'Now let's move!'[paragraph break][tsun-outtro]." instead. The earthquake 2 rule is listed before the hug not take Progue rule in the Instead rules.

Instead of examining Progue when Player Rescue is happening, say "Soaked, scratched, with a bruise spreading across his face, Progue reaches out a firm hand towards you with a strength that defies his years."

Instead of getting bored during Player Rescue: do nothing.

To say tsun-outtro: say "Together, you struggle up towards higher ground, the water rising inexorably in the darkness below and around you with a roar like a beast the size of an island. Finally, you collapse, exhausted, and slowly wait out the long night"; now player_imperiled is false.

Player Rescue ends cooperatively when pr_coop is true. pr_coop is a truth state that varies.

When Player Rescue ends cooperatively:

Progue feels more like a father, silently;

Progue likes you more, silently.

Player Rescue ends individualisticly when player_imperiled is false and pr_coop is false.

When Player Rescue ends individualisticly:

Progue feels more like a father, silently;

Progue likes you less, silently.

Every turn when player_imperiled is true: increase peril factor by 1. peril factor is a number that varies. peril factor is 0.

Player Rescue ends sourly when peril factor is at least 5.

When Player Rescue ends sourly:

Progue feels more like a father, silently;

Progue feels more like a father, silently;

Progue likes you less, silently;

Progue likes you less, silently;

say "Suddenly, you slip and begin falling backwards, but Progue dives forward and grabs your hand fiercely. With strength you didn't know he had, he pulls you slowly out, till the two of collapse.[paragraph break][tsun-outtro].";

complete Water Works.

[from Viewpoint or Edge of Ravine, the ground gives way leaving the player dangling; from Forest or Frozen Hell or West Forest, the player steps into a hidden opened crack; from Rockslide or Volcano Slopes, the player is half-buried in rockfall; if the player is hit by the tsunami, they are pulled from their feet and bash their head and end up drifting to a spot where their foot is caught and the water is rising.]