<img src="https://cdn.pixabay.com/photo/2013/07/12/18/39/grandfather-153658_1280.png" alt="Clip art image of an old man" style="width:400px;height:500px;"> You can see a strange old man. "You there! I have a grand quest for you, if you choose to accept it," he says "Find the (text-style:"bold")[Legendary Crystal] and bring it to the top of (text-style:"bold")[Mount Gigantus]." [[Wake up! Adventure AWAITS!!!->Awoken]] (if:$hurry is true)["Come on, quit wasting time and get to it already!"] (set: $trimmed to false)<img src="https://s0.geograph.org.uk/geophotos/06/05/54/6055491_97f1044e.jpg" alt="photograph of a dungeon cell"> <span class="credit">image: https://s0.geograph.org.uk/geophotos/06/05/54/6055491_97f1044e.jpg</span> You wake up on the cold floor of a dark dungeon cell. [[Formulate your escape plan->The guard]] [[Be patient... wait and observe->Wait]]<img src="https://cdn.pixabay.com/photo/2012/04/11/16/43/yeoman-of-the-guard-28846__340.png" alt="illustration of a royal guard with a spear"> Just as you begin too look around for something that you could use to pick the lock, a guard opens your cell door. "Alright then, I think you've learned your-! ... Uh... You drop somethin? What'cha you looking for there? [["n.. nothing..."->Nothing]] (link-reveal: "\"my uh...\"")[ [["favorite nosehair trimmers"->Trimmers]] [["lucky... spoon"->Spoon]] [["lockpick"->Lockpick]] ]"Oh, well you should have said so! Here, you can borrow mine. In fact, go ahead and keep em." You get handed a small pair of trimmers. (display: "Free Message") [[Venture out into the world->Start]] (set: $hasTrimmers to true)<img src="https://cdn.pixabay.com/photo/2017/01/22/18/03/spoon-2000396_1280.jpg" alt="photo of a rusty spoon" style="width:200px;height:300px;"> "Oh, you mean this one? I found it in the empty cell over there. Not sure how it got there, since you haven't left this cell since you arrived... Oh well, here you go." You got an old, rusty spoon. (display: "Free Message") [[Venture out into the world->Start]] (set: $hasSpoon to true)"Hahaha, that's a good one! It's especially funny since the doors in this dungeon can't be unlocked from the inside. You've got quite the sense of humor" (print: $freeMessage) [[Venture out into the world->Start]]"Are... are you sure?.. 'Cause it looked to me like you were looking around for something." An akward silence follows... "Well, If you say so," the guard chuckles. (display: "Free Message") [[Venture out into the world->Start]]You sit in your cell and (link-reveal: "wait...")[ and (link-reveal: "wait......")[ and (link-reveal: "wait.........")[ Your stomach is growling. [[Let's get started on that escape plan->The guard]] [[No! Good things come to those who wait.->Sleep]] ]]](set: $hurry to true) You spend the rest of the day twiddling your thumbs. Nothing of note happens, and you go to sleep feeling not tired at all [[...->The dream]]<a title="David Revoy / Blender Foundation, CC BY 3.0 &lt;https://creativecommons.org/licenses/by/3.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Bridge-medieval-fantasy-city.png"><img width="512" alt="Bridge-medieval-fantasy-city" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/Bridge-medieval-fantasy-city.png/512px-Bridge-medieval-fantasy-city.png"></a> <span class="credit"><a href="https://commons.wikimedia.org/wiki/File:Bridge-medieval-fantasy-city.png">David Revoy / Blender Foundation</a>, <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>, via Wikimedia Commons</span> You find yourself in the city of ''Riverwell'', capital of the ''Great'' [[''King''->Castle]]''dom''. There are a number of shops in town, including a [[general store]] and a [[potion seller]]. To the South is the gate which leads out of the city and into the [[wilderness]]. (set: $isFugitive to false)<a title="Spike, CC BY-SA 4.0 &lt;https://creativecommons.org/licenses/by-sa/4.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Glamis_Castle_01.jpg"><img width="512" alt="Glamis Castle 01" src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/01/Glamis_Castle_01.jpg/512px-Glamis_Castle_01.jpg"></a> <span class="credit"><a href="https://commons.wikimedia.org/wiki/File:Glamis_Castle_01.jpg">Spike</a>, <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0</a>, via Wikimedia Commons</span> The King of the ''Great Kingdom'' resides in the castle at the center of town. The King welcomes citizens to make requests on Tuesdays and Thursdays. Just your luck, it happens to be Tuesday! Maybe the King knows something about this legendary crystal! [[Request and audience with the king->King]] [[Nevermind->Start]]<img src="https://cdn.pixabay.com/photo/2014/04/02/10/42/king-304290__340.png" alt="clip art of a king"> "Hello I am the ''king''" [["What do you know about the Legendary Crystal?"->crystal get]] [["Nvm goodbye"->Start]] You enter the general store and find a jovial shopkeeper. "Weapons? Armor? Beauty products? They're yours my friend, as long as you have enough coins." [[Ask about the crystal]] [["What do you have for sale?"->Buy]] [["Anything you'd be willing to take of my hands?"->Sell]] [["Goodbye"->Start]]Inside the store, you see a man with a a broad smirk on his wide face. "Hello traveler," he says in a devilish voice. [[Give me your strongest potions, potion seller!->Buy Potion]] [[Goodbye->Start]]"Sorry, but I've never heard of such a thing." [["That's alright, I'll look somewhere else"->general store]](if: $hasSpoon is true)[<img src="https://cdn.pixabay.com/photo/2017/01/22/18/03/spoon-2000396_1280.jpg" alt="photo of a rusty spoon" style="width:200px;height:300px;">](else: )["Sorry, but you don't have anything i'm interested in. Come back when you have some exciting loot."] (if: $hasSpoon is true)["What's this? This appears to be an antique. A piece of fine silverware from the Second Age! I'll give you a million coins for it!] (if: $hasSpoon is true)[[[Deal->Deal]] ](else: )[[[Ok then...->general store]]] (if: $hasSpoon is true)[[[No Deal->general store]]](set: $hasSpoon to false) (set: $coinTotal to $coinTotal + 1000000) What a steal! You [[walk out->Start]] of the store with an entire cart filled with coins.<a title="Andreas Kind jxndreas, CC0, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Setting_sun_behind_the_mountain_(Unsplash).jpg"><img width="1024" alt="Setting sun behind the mountain (Unsplash)" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Setting_sun_behind_the_mountain_%28Unsplash%29.jpg/1024px-Setting_sun_behind_the_mountain_%28Unsplash%29.jpg"></a> <span class="credit"><a href="https://commons.wikimedia.org/wiki/File:Setting_sun_behind_the_mountain_(Unsplash).jpg">Andreas Kind jxndreas</a>, CC0, via Wikimedia Commons</span> You are at the foot of ''Mount Gigantus'', the tallest mountain in the ''Great Kingdom''. [[climb->Mountain]] [[go back->wilderness]] <a title="Roland Unger, CC BY-SA 3.0 &lt;https://creativecommons.org/licenses/by-sa/3.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:DeirAbuMinaEntranceCrypt.jpg"><img width="512" alt="DeirAbuMinaEntranceCrypt" src="https://upload.wikimedia.org/wikipedia/commons/6/6e/DeirAbuMinaEntranceCrypt.jpg"></a> <span class="credit"><a href="https://commons.wikimedia.org/wiki/File:DeirAbuMinaEntranceCrypt.jpg">Roland Unger</a>, <a href="https://creativecommons.org/licenses/by-sa/3.0">CC BY-SA 3.0</a>, via Wikimedia Commons</span> You find yourself at the entrance to an underground crypt. [[Enter->Dragon]] [[Go back->wilderness]] (if: $hasCrystal is true)["What do you mean! you just bought it from me!](else: )[<img src="https://i.imgur.com/f6Smc1M.jpeg" alt="a small, typical rock held by two fingers" style="width:600px;height:800px"> <span class="credit">image: me :)</span> The king takes out a dull brown rock "It is the absolute worst piece in my collection. I'm looking for someone to buy it because it is just so useless. I'm willing to part with it for exactly one million coins" [[Any lower?]] (if:$coinTotal >= 1000000)[[[I'll take it!->buy crystal]]] [[I think i'll just //take// it->steal crystal]]] [[Nevermind->King]]"Just because I hate the thing doesn't mean I'd just give it away. I don't do deals with //peasants//." [[Ok...->crystal get]]You snatch the crystal out of the King's hand and start running. "Guards! Quickly!" (if: $hasSpeed is true)[You dash away at a speed you didn't think was even possible. Must be that potion you took! You easily escape the castle, but fearing you may now have a bounty on your head, you flee to the [[wilderness]] outside of the city, where the law won't find you.(set: $hasCrystal to true)(set: $isFugitive to true)](else: )[You huff and puff as you make your escape, but you don't even make it to the exit before you are tackled by a guard.(if: $hasSword is true)[ You try to defend yourself with your sword, but it shatters as soon as it comes into contact with the guard's armor.] "Off to the (link: "dungeon")[(restart: )] with you!" is the last thing you hear before being knocked out.(if: $hasHelmet is true)[ Your helmet didn't seem to protect much after all.]]You roll in your cart of coins and purchase the boring-looking "crystal". Now bring it to the mountaintop! [[Let's go!->Start]] (set: $hasCrystal to true) (set: $coinTotal to $coinTotal - 1000000)(if: $coinTotal >= 100)[ [[Health Potion: 100 coins->Health]] [[Speed Potion: 100 coins->Speed]] [[Nah->potion seller]] ](else: )[["My potions are too expensive for you, traveller. You can't afford my strongest potions."->potion seller]]<img src="https://cdn.pixabay.com/photo/2014/12/21/23/38/potion-575711_1280.png" alt="clip art of a bottle filled with a red substance" style="width:200px;height:400px;"> You recieve a very large bottle filled with a viscous, red liquid. (display: "Potion Text") You aren't sure if you really needed this, but regardless you feel healthier than you ever have been. [[ok->potion seller]] (set: $coinTotal to $coinTotal - 100)<img src="https://cdn.pixabay.com/photo/2016/04/01/11/33/chemistry-1300413__340.png" alt="clipart of a glass bottle with green liquid in it"> You recieve a very large bottle filled with a viscous, green liquid. (display: "Potion Text") As you drink the potion, you feel a surge of energy flow through your body. [[ok->potion seller]] (set: $coinTotal to $coinTotal - 100) (set: $hasSpeed to true)<a title="Denis Zastanceanu, CC BY-SA 4.0 &lt;https://creativecommons.org/licenses/by-sa/4.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Forest_path_and_trees.jpg"><img width="1024" alt="Forest path and trees" src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Forest_path_and_trees.jpg/1024px-Forest_path_and_trees.jpg"></a> <span class="credit"><a href="https://commons.wikimedia.org/wiki/File:Forest_path_and_trees.jpg">Denis Zastanceanu</a>, <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0</a>, via Wikimedia Commons</span> You are in the vast, open lands of the Great Kingdom. To the North, a sign beside the road reads [["Mount Gigantus"->foot of mountain]] Eastwards, a battered old path leads [[far into the distance->crypt entrance]] South of your location is the [[Bog of Secrets]]. There's no telling what could be there! (if: $isFugitive)[The city of ''Riverwell'' lies to the West, but if you went there, you'd surely be caught!](else: )[To the West, the walls surrounding [[Riverwell->Start]] can be seen)]<img src="https://cdn.pixabay.com/photo/2016/04/01/10/30/armour-1299911_1280.png" alt="an illustration of a curious ogre" style="width:600px;height:667px;"> You enter the bog to find an ogre sitting under a tree "You there!" they shout. "Answer my riddles three and you will recieve a fine reward." [["Alright. I accept your challenge."->survey]] [["Not interested, bye"->wilderness]]"Excellent!" the ogre says as they put on a pair of glasses and take out a clipboard. "Your first riddle is thus: What time do you typically wake up each morning?" [[Before 6:00->question 2]] [[Between 6:00 and 7:00->question 2]] [[Between 7:00 and 8:00->question 2]] [[After 8:00->question 2]] (link: "Is this a trick question?")["No, no. Please just answer honestly," says the ogre in a neutral voice]The ogre asks another strangely un-riddle-like question "How well do you believe The King is running The Grand Kingdom?" [[Very well->question 3]] [[Well enough->question 3]] [[Not very well at all, in fact->question 3]] (link: "\"Is this just a survey?\"")["No, of course not. These are riddles!" the ogre protests. "But please answer honestly and freely."]Finally the ogre asks the final ~~question~~riddle "Would you purchase a three-in-one spoon/trimmer/lockpick combo tool if it were available? [["Absolutely!"->end of survey]] [["Absolutely... NOT!"->end of survey]]"Great. Very good. Yes," the ogre utters as they scribble on the clipboard. "Here is your reward for completing the surv- I mean solving my riddles three." The ogre hands you a decent pouch of coins, likely around one hundred. [["Well... thank you and farewell->wilderness]] (set: $coinTotal to $coinTotal + 100)<img src="https://pixy.org/download/894973/" alt="art of a huge red dragon"> <span class="credit">image: <a href="https://pixy.org/894973/">pixy.org</a></span> Deep in the crypt is a giant dragon lying atop a hoard of gold. (if: $trimmed is true)["Greetings," says the dragon. You are welcome in my home at any time"](else: )[The dragon is very angry, and he sounds like his nose is stuffed."Get out!" he shouts, "Or I will burn you to a crisp!"] (if: $trimmed is true)[[[Leave at a normal pace->crypt entrance]]](else: )[[[Leave as fast as you can->crypt entrance]]] (if: $trimmed is false)[(if: $hasTrimmers is true)[[[Offer to help out->help dragon]]] (if: $hasSword is true)[[[Raise your sword and slay the beast!->Burnt]]] ]<a title="Davidbena, CC BY-SA 4.0 &lt;https://creativecommons.org/licenses/by-sa/4.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Heavy_stone_door_at_necropolis_in_Beit_Shearim.jpg"><img width="512" alt="Heavy stone door at necropolis in Beit Shearim" src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Heavy_stone_door_at_necropolis_in_Beit_Shearim.jpg/512px-Heavy_stone_door_at_necropolis_in_Beit_Shearim.jpg"></a> <span class="credit"><a href="https://commons.wikimedia.org/wiki/File:Heavy_stone_door_at_necropolis_in_Beit_Shearim.jpg">Davidbena</a>, <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0</a>, via Wikimedia Commons</span> The old man who was in your dream is there. He is standing next to a great door of stone carved into the mountain. In the door, there is an indentation in the shape of a (link-rerun: "crystal")[(rerun: ?placeCrystal)(show: ?placeCrystal)], and another in the shape of a (link-rerun: "spoon")[(rerun: ?placeSpoon)(show: ?placeSpoon)]. |placeCrystal)[(if: $hasCrystal is true)[(set: $hasCrystal to false)(set: $door1 to true)(rerun: ?openDoor) You place the crystal into the slot](else-if: $door1 is true)[There is a crystal in the slot](else: )[The first slot is empty, and you don't have anything to put in it]] |placeSpoon)[(if: $hasSpoon is true)[(set: $hasSpoon to false)(set: $door2 to true)(rerun: ?openDoor) You place your spoon in the slot](else-if: $door2 is true)[There is a rusty old spoon in the slot](else: )["Did you for get the spoon? You, know, your lucky spoon? It is needed to open the door! How could you forget! [[um...->fail]]]] |openDoor>[(if: $door1 is true and $door2 is true)[The [[door]] rumbles open]]Congratulations! You have sucessfully failed your quest. (link: "try again")[(restart: )]"By the way, it only works if you drink it all at once" Considering the fact that you don't have a good way to carry the bottle, you go ahead and drink the potion right away. It tastes awful.You offer to groom the dragon's nostrils. When you are finished, the dragon can breathe more easily, and becomes visibly more relaxed. "Thank you, kind traveler." The dragon's nostrils flare with flames. "Here, take this as a reward." The dragon takes a massive handful of coins from his hoard and puts it in a cart. [[Thank you and farewell->crypt entrance]] (set: $trimmed to true) (set: $coinTotal to $coinTotal + 1000000)<img src="https://i0.hippopx.com/photos/223/639/589/fireplace-fire-burn-warm-preview.jpg" alt="photo of a fire in a rustic fireplace"> "Thanks a bunch for taking the trouble to do this," says the old man as the door opens. "I gotta stop locking myself out like this." "Wanna come inside for tea or something?" On the inside is a cozy home complete with a fireplace. You have a nice time chatting withthe old man over tea. He enjoys gardening, knitting, and skiing on occasion. What a wonderful day to make a friend. (link: "THE END")[<img src="https://cdn.pixabay.com/photo/2016/09/06/13/39/sun-1649135_1280.png" alt="an intricate metal scepter" style="width:443px;height:500px;"> The man is also a wizard. He gives you an incredibly powerful super magic wand as your reward. `~~QUEST COMPLETE~~` (link: "play again?")[(restart: )]]"Anyways, you've been on great behavior lately, and I think you've served your time, so I'm gonna let you go today. Just remember, no more rock pilfering, ok?"|NoFunds)["Sorry friend, I can't give credit. Come back when you're a little, mmmmmmm... [[RICHER!->general store]]"]|StoreBuy)["Take a look" [[Longsword: 100 coins->Longsword]] [[Helmet: 100 coins->Helmet]] [[Nosehair Trimmers: 100 coins->Buy Trimmers]] [[No thanks->general store]]] (if: $coinTotal >= 100)[(show:?StoreBuy)](else: )[(show:?NoFunds)]<img src="https://upload.wikimedia.org/wikipedia/commons/1/19/Sword_01.svg" alt="clip art of a short sword"> "Excellent choice! Use it wisely now!" You recieve a sword that, now that you are seeing it up close, is much shorter than it initially appeared. [[A sword is a sword, I guess->general store]] (set: $hasSword to true)<img src="https://pixy.org/src/34/342033.png" alt="a knight-style helmet" style="width:450px;height:600px;"> "Perfect for keeping that cranium well-protected!" You recieve a heavy headpiece, which you equip immediately [["Anything else?"->general store]] (set: $hasHelmet to true)"Perfect for grooming those hard-to-reach places!" You recieve a shiny new pair of nosehair trimmers [[Just what i needed!->general store]] (set: $hasTrimmers to true)"I shall defeat you!" you proclaim valiantly. You lift your blade and swing it toward the dragon. It bounces harmlessly off his hard scales. "Hehehe... My turn..." the dragon giggles. You are engulfed in an exhale of fire and burnt to a crisp.(if: $hasHelmet is true)[ Although your helmet did protect your head from the flames, the rest of you was quickly turned to dust.] (link: "... another go?")[(restart: )]