Section - Earthquake
Earthquake is a guaranteed instant triggered episode.
A condition for Earthquake:
if Tsunami Sequence is happening and
( the player was regionally in Dreamlands or the time of day is after 11:45 PM ) and
the player is regionally in Lacuna, rule succeeds.
A commencement rule for Earthquake:
move Progue to Ledge;
remove the rayfish from play;
remove distant-rayfish from play;
now the animus of Progue is resting;
now ambience_on is 0;
change the time of day to 11:45 PM;
say "[if the player was regionally in Dreamlands]You are rudely awakened by[otherwise]You lurch unsteadily in[end if] a sudden, horrifying upheaval. The ground is shaking all around you in the darkness; distant crashes and the groaning of rock moving on rock slice through the night. You leap to your feet, staggering";
if location is Saddle and withered vine is closed:
now withered vine is open;
say ".[paragraph break]The loose vine trembles in the earthquake and falls off the edge of the cliff, reaching nearly all the way down to the [dr]beach[x] below[if dir] and to the [west][end if]";
A finishing rule for Earthquake:
if it is after 11:59 PM, rule succeeds;
if location is North Beach or location is Saddle, rule succeeds;
if location is South Beach or former location is South Beach, rule succeeds. [If we happened to be sleeping at Fork or Big Tree, end quake before gets to Center Beach, where we trigger Tsunami.]
A completion rule for Earthquake:
say "As suddenly as it began, the quake stops, and the ground is blessedly still again. A million tiny crashes and rumbles and echoes slowly die down around you, as if the whole island sighs.";
now lava tunnel door is closed;
now bridge is lowered;
now bridge-control is unlocked.
Every turn when current episode is Earthquake: [If the player happens to be in the right spot, let him witness these events (which happen anyway at the end.)]
if lava tunnel door is open and ( location is Back Room or location is Jumble ) :
now the lava tunnel door is closed;
say "The lava tunnel [o]door[x] groans in the quake, swings freely for a moment, then slams loudly shut.";
if bridge is raised and ( location is Chasm Floor or location is Chasm Edge ) :
say "The [o]bridge[x] across the chasm creaks, and then collapses into its lowered state.";
now bridge is lowered;
now bridge-control is unlocked;
if location is Edge of Ravine, say "The water in the ravine below you sways and crashes sickeningly.".
Instead of sleeping when current episode is Earthquake, say "The quake makes that highly unlikely.". Instead of touching a windsigh tree when current episode is Earthquake, say "The quake makes that highly unlikely." First Instead of landmark-going when current episode is Earthquake: say "It's all you can do right now to put one foot in front of the other.".
Pulling or pushing the ropeway lever is operating equipment. Pushing or pulling bridge-control is operating equipment. Entering the mind chair is operating equipment. Examining an outflow tube is operating equipment. Examining a pressure gauge is operating equipment. Turning or adjusting a wheel is operating equipment.
Instead of operating equipment when episodic status of Earthquake is completed and Tsunami Sequence is happening (this is the earthquake override rule): say "The quake seems to have played havoc with the natural steam vents; no steam at all is flowing from the pipes and none of the equipment seems to be functional."
Instead of going down in Edge of Ravine when current episode is Earthquake and tidein, say "The rope ladder is swinging sickeningly back and forth, the end snapping like a whip; there's no chance of climbing down it.". Instead of going down in Edge of Ravine when current episode is Earthquake and tideout, say "The rope ladder is swinging sickeningly back and forth, the end snapping like a whip; there's no chance of climbing down it.". Instead of going down in Top of Ravine when current episode is Earthquake, say "The water is lurching crazily; you'd be smashed to pieces if you tried to dive down there now.". Instead of going down in Egg when current episode is Earthquake or current episode is Water Works: say "The ravine down is filled with oozing mud shaken loose from the rain forest by the quake; you can't get down it now.".
First Report going when current episode is Earthquake: say "Unsteadily, you stagger as best you can in that direction."; try looking instead.
Every turn when current episode is Earthquake: say "[one of]The ground[or]Everything[or]The island[in random order] [one of]rumbles and shakes[or]shudders sickeningly[or]keeps bucking and groaning[or]jerks violently[in random order] [one of]around you[or]at your feet[purely at random][if a random chance of 1 in 2 succeeds][one of], crashes above and deep, foot-rattling groans below[or] with a sound like the world ending[in random order][end if].".
Instead of sleeping when current episode is Earthquake: say "Not likely.". Check going up when location is Saddle and current episode is Earthquake: say "In this quake? Suicide." instead.
Instead of examining the surf when current episode is Earthquake: say "The waves slop sickeningly around, peaks and valleys colliding and disappearing at random.". Check examining lagoon when current episode is Earthquake: try examining surf instead.
Instead of taking shelter from when current episode is Earthquake or current episode is Water Works: say "You're not sure any place is safe right now.".
[ Lacuna-lacuna defines a number of environmental changes that take place during the Earthquake. ]