Advertisement
Guest User

The Elderwood Episode I

a guest
Mar 9th, 2016
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function theElderwood1() {
  2.     alert("THE ELDERWOOD: EPISODE I by Kiran Evans");
  3.     var conf = confirm("Play this game?");
  4.     if (conf === false) {
  5.         return;
  6.     } else {
  7.         alert("Let's go!");
  8.     };
  9.     alert("It was a dark and stormy night, when a mouse stirred in the woods. You check your watch, it's nearly midnight... and you are lost.");
  10.     alert("You came here for a stroll, but that was at 5pm and the Sun was still up. Now everything is pitch black and the only light is coming from the Moon and stars.");
  11.     var torchSearch = confirm("Do you want to search your bag for a torch?");
  12.     if (torchSearch === true) {
  13.         alert("You search your bag and find a torch, with very low battery power.");
  14.         alert("You shine the torch ahead of you, and notice that the path forks into two.");
  15.     } else {
  16.         alert("You don't search your bag, and have to deal with the lack of natural light.");
  17.         alert("After walking a little while, you can just about make out that the path forks into two.")
  18.     };
  19.     var pathChoice = prompt("Do you want to take the left or right fork? (Type 'L' or 'R')");
  20.     if (pathChoice.toUpperCase() === 'L'){
  21.         alert("You take the left path, and continue walking.");
  22.         alert("You eventually come across a stream.");
  23.         if (torchSearch === true){
  24.             alert("You shine the torch into it and see that the stream is running very fast, and is too deep to wade through.");
  25.         } else {
  26.             alert("You cannot tell how fast or how deep it is, so you try to wade through.");
  27.             alert("Half way across, you sink into the stream which has become a river and cannot escape. You get swept under and cannot breathe.");
  28.             alert("You drowned.");
  29.             return;
  30.         };
  31.         alert("You decide to turn back and take the right path.");
  32.     } else {
  33.         alert("You take the right path, and continue walking.");
  34.     };
  35.     alert("Down the right path, you come across a small construction of sticks and twigs.");
  36.     var wigwamSearch = confirm("Do you want to look inside?");
  37.     if (wigwamSearch === true){
  38.         if (torchSearch === true){
  39.             alert("You shine your torch into it, and a small goblin-like creature lashes out at you.");
  40.             alert("Hitting it with the torch, you manage to fight it off and it hobbles back into its lair.");
  41.         } else {
  42.             alert("You poke your head inside to get a better look and can just about make out a pair of glowing red eyes right in your face.");
  43.             alert("Whatever the creature is, you can hear it breathing and it begins to shriek.");
  44.             alert("The creature screams, lashes out and attacks you. You have nothing to fight it with, so have to use your fists.");
  45.             alert("You manage to fight it off eventually, but not without some extreme injuries. You are bleeding heavily from your neck, where the creature has bitten you.");
  46.             alert("The scent of your blood attracts more of the creatures.");
  47.             var run = confirm("Do you want to run?");
  48.             if (run === true){
  49.                 alert("You get back on your feet and start running...");
  50.                 alert("...but it's not enough. The creatures outnumber you, though you can't see how many there are.");
  51.                 alert("They overpower you and devour you. You died.");
  52.                 return;
  53.             } else {
  54.                 alert("You sit back and await your approaching doom.");
  55.                 alert("The creatures surround you and tear you to pieces. You died.");
  56.                 return;
  57.             };
  58.         };
  59.     } else {
  60.         alert("You decide not to look inside the structure and continue walking.");
  61.     };
  62.     alert("Your legs begin to feel tired, so you check your watch. It is now 30 minutes into the morning. You know you must find a way out of the woods soon as you are feeling tired and hungry.");
  63.     alert("You hear rustling behind you and spin round...");
  64.     if (torchSearch === true){
  65.         alert("You point your torch at the noise and a fleck of white catches your eye in the blackness of the night.");
  66.         alert("You move your torch about and more patches of white appear until they start to form the shapes of creatures.");
  67.         alert("One of the creatures emerges from the darkness onto the path from where you just came.");
  68.         alert("It is small, not much higher than your waist, and has bright red eyes. Its skin is inexplicably pale and scarred in several places.");
  69.         alert("More creatures step out into the torchlight and slowly begin hobbling towards you.");
  70.         var runFrom = confirm("Do you want to run?");
  71.         if (runFrom === true){
  72.             alert("You turn away from them and begin to pick up your pace, going from a walk to a jog and eventually into a sprint.");
  73.             alert("Despite your incredible speed, you can hear the creatures close behind at all times.");
  74.             alert("You feel the ground under your feet change from soft soil to hard rock.");
  75.             var checkSurroundings = confirm("The creatures are still hot on your heels. Do you want to pause to check out your surroundings?");
  76.             if (checkSurroundings === true){
  77.                 alert("You slow down, shining your torch around and notice a cliff edge up ahead. You notice how you are now on top of a cliff, in an open space.");
  78.                 alert("You quickly change direction and begin running parallel to the cliff edge.");
  79.             } else {
  80.                 alert("You pick up the pace, set on the path ahead....");
  81.                 alert("...which suddenly disappears from underneath you.");
  82.                 alert("You are falling...");
  83.                 alert("...for ever...");
  84.                 alert("...until you hit the floor.");
  85.                 alert("You died.");
  86.                 return;
  87.             };
  88.         } else {
  89.             alert("You stay put, observing the creatures as they approach. Keeping the torchlight fixed on them, your hands begin to shake as you notice the closer ones gnashing their teeth.");
  90.             alert("Frozen in fear, you begin to sweat as the first creature reaches you and sniffs you.");
  91.             alert("The creature jumps onto you, knocking you to the ground and licks your face.");
  92.             alert("The others surround you and the one on top of you bites your neck.");
  93.             alert("You scream in pain as the creatures eat you alive.");
  94.             return;
  95.         };
  96.     } else {
  97.         alert("You cannot make out anything behind you, dismissing it as your imagination.");
  98.         alert("You feel the ground under your feet change from soft soil to hard rock.");
  99.         alert("You pick up the pace, set on the path ahead....");
  100.         alert("...which suddenly disappears from underneath you.");
  101.         alert("You are falling...");
  102.         alert("...for ever...");
  103.         alert("...until you hit the floor.");
  104.         alert("You died.");
  105.         return;
  106.     };
  107.     alert("The cliff eventually becomes a road and you hear the creatures behind you scream with anger as you reach a lamp post and are safely in the light.");
  108.     alert("You can see the lights of a town ahead of you, and head for them.");
  109.     alert("You check your watch. The time is now 1am. You're feeling extremely fatigued and don't know if you can make it to the next town.");
  110.     var sit = confirm("There is a bench beside the road. Do you want to sit down, and rest?");
  111.     if (sit === true){
  112.         alert("With the creatures well out of reach, you take a seat on the bench and close your eyes.");
  113.     } else {
  114.         alert("You decide to soldier on until you reach the town.");
  115.         alert("Unfortunately, you overestimated the capacity of your own stamina and collapse in the middle of the road and black out.");
  116.     };
  117.     alert("END OF EPISODE I.");
  118.     var restart = confirm("Do you want to restart?");
  119.     if (restart === true){
  120.         theElderwood1();
  121.         return;
  122.     } else {
  123.         scoreCount += 1;
  124.         score(1, 'theElderwood2');
  125.         alert("UNLOCKED! The Elderwood: Episode II");
  126.         return;
  127.     };
  128. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement