{ (set: $visited to (a:))(set: $ivisited to (a:)) (set: $inv to (a: ))(set: $day to 0) (set: $visited2 to (a:))(set: $ivisited2 to (a:)) (set: $itrips to 0) (set: $boxhint to 0) <script> setBg("title", 1000); fadeOut("music", 1000); </script> <img id="name" src="assets/name.png" style="align: center;">} Release v1.0.1 By <a href="https://hurricanerockstudios.wordpress.com/" target="_blank">Hurricane Rock Studios</a> [[Start -> START]](set: $visited to (a:))(set: $ivisited to (a:))(set: $day to 1) You sit on the docks, watching the sun sink lower in the sky over a calm sea, waiting. Today's the day you might finally get a chance to explore the seas. You heard from someone that the famed Captain Silver will be in port today, and looking for a shiphand no less. As you walk up the docks to where they're supposed to be, you find a large crowd already there, and take up a spot near the back. Captain Silver stands on a large crate, scanning the boasting crowd, before suddenly pointing straight at you. "You... ...you seem like the kind of person I want on my ship" "What do you say?"{ (if: $itrips <= 2)[ <script> setBg("ship1", 1000); </script> ] (else-if: $itrips <= 4)[ <script> setBg("ship2", 1000); </script> ] (else-if: $itrips <= 6)[ <script> setBg("ship3", 1000); </script> ] (else:)[ <script> setBg("ship4", 1000); </script> ] <script> fadeTo("ocean", 3000, 0.25); fadeOut("cave", 3000); fadeOut("caveDrip", 3000); fadeOut("caveWeird", 3000); fadeOut("forest", 3000); fadeOut("jungle", 3000); fadeOut("fire", 3000); fadeOut("crowd", 3000); fadeOut("beach", 3000); </script> (set: $day to 1) (if: $itrips is 0)[ You board Captain Silver's ship and before long, you're out on open waters, land shrinking behind.<br> The two of you converse for a while, and eventually arrive at an archipelago consisting of 5 islands.<br> Captain Silver looks expectantly at you.<br> "We only have enough daylight for (print: (7 - $itrips)) trips, so where do you want to go?"<br> ] (else:)[ You return to Captain Silver's ship.<br> (if: (7 - $itrips) > 1)[ "We only have enough daylight for (print: (7 - $itrips)) more trips, so where do you want to go?"<br> ] (else:)[ "We only have enough daylight for one more trip, so where do you want to go?"<br> ] ] } [Island with a Weird-Looking Rock]<i1| (click: ?i1)[{ (set: $itrips to $itrips + 1) (goto: "Island with a Weird-Looking Rock") }] [Island with a Wispy Smoke Trail]<i2| (click: ?i2)[{ (set: $itrips to $itrips + 1) (goto: "Island with a Smoke Trail") }] [Island with a Shadowy Cave]<i3| (click: ?i3)[{ (set: $itrips to $itrips + 1) (goto: "Island with a Dark Cave") }] [Island with a Lush Jungle]<i4| (click: ?i4)[{ (set: $itrips to $itrips + 1) (goto: "Island with a Dense Jungle") }] [Island with a Ship Graveyard]<i5| (click: ?i5)[{ (set: $itrips to $itrips + 1) (goto: "Island with a Ship Graveyard") }] (if: $itrips is 7)[{ (goto: "Leave Islands") }]{ <script> setBg("rockIsland", 1000); </script> <script> fadeOut("ocean", 3000); fadeTo("forest", 3000, 0.5); </script> (if: not ($visited contains 1))[ (set: $visited to $visited+(a: 1)) You land on an island which is dominated by a large and strange looking rock.<br> You: What a strange formation to occur naturally.<br> Silver: You're right. Something is definetely weird about this island. Let's look around for a bit.<br> You make your way to the strange outcropping.<br> (if: not ($inv contains "Rusty Key"))[ (set: $inv to $inv + (a: "Rusty Key")) At its base, there's a rusty key on the ground. You pick it up.<br> ] ] (else:)[ You're on an island which is dominated by a large and strange looking rock.<br> ] (if: not ($ivisited contains 1.1))[ A crack in the rock seems to reveal a valuable mineral inside.<br> You think you could probably break it open with the right tool.<br><br> (click: ?i_pickaxe)[ (goto: "i1pickaxe") ] ] (if: not ($ivisited contains 1.2))[ You think you can see something on top of the rock, but you have no way of getting up to it.<br><br> (click: ?i_parrot)[ (goto: "i1parrot") ] ] } [[Head back to the ship->Join them for an adventure]]{ <script> setBg("smokeIsland", 1000); </script> <script> fadeOut("ocean", 3000); fadeTo("forest", 3000, 0.5); fadeOut("crowd", 2000); fadeOut("fire", 2000); </script> (if: not ($visited contains 2))[ (set: $visited to $visited+(a: 2)) You pull ashore on the island which has a sizeable pillar of smoke trailing into the sky.<br> There seems to be a small village established on one side of the island, and the smoke is coming from a cluster of trees on the other.<br> Silver: What do you think we should do?<br> ] (else:)[ You're on the island with a smoke trail and small village.<br> Silver: What do you think we should do?<br> ] (if: not ($ivisited contains 2.111))[[["Investigate the smoke"<br>->i2trade]]] (if: not ($ivisited contains 2.21))[[["Go to the village"->i2totem]]] } [[Head back to the ship->Join them for an adventure]]{ <script> setBg("caveIsland", 1000); </script> <script> fadeOut("ocean", 3000); fadeTo("forest", 3000, 0.5); fadeOut("cave", 3000); fadeOut("caveDrip", 3000); fadeOut("caveWeird", 3000); </script> (if: not ($visited contains 3))[ (set: $visited to $visited+(a: 3)) You land on the island which has a dark cave on it.<br> ] (else:)[ You're on the island with a dark cave on it.<br> There doesn't seem to be anything else of interest.<br> ] <br> (if: not ($inv contains "Foodstuffs"))[ (set: $inv to $inv + (a: "Foodstuffs")) Poking around the entrance, there are some crates that have some well preserved food supplies you think are worth taking.<br> ] <br> (if: not ($ivisited contains 3.1))[ As you peer into the cave mouth it looks far too dark to wander into safely.<br> Silver: This cave seems like it could contain something useful or a rare treasure. We probably shouldn't head in there without a light source, though.<br> (if: ($inv contains "Lantern"))[ Luckily, the lantern the trader gave you will probably do the job.<br> (click: ?i_lantern)[ (goto: "i3enter") ] ] ] } [[Head back to the ship->Join them for an adventure]]{ <script> setBg("jungleIsland", 1000); </script> <script> fadeOut("ocean", 3000); fadeTo("jungle", 3000, 0.5); </script> (if: not ($visited contains 4))[ (set: $visited to $visited+(a: 4)) You land on an island covered in a thick jungle, the sounds of birds eminating from within.<br> (if: not ($inv contains "Shovel"))[ (set: $inv to $inv + (a: "Shovel")) As you begin to explore, heading into the jungle, you nearly trip over a root. Catching yourself, you realize it's not a root, but rather a shovel someone abandoned here.<br><br> Silver: Well what do you know, a shovel. A shovel is always useful to an adventurer since you never know when you'll have to dig something up.<br> You pick it up before moving on.<br> ] ] (else:)[ You're on the island covered in a thick jungle. The sound of birds eminates from within.<br> ] <br> (if: not ($ivisited contains 4.1))[ Watching parrots flying around overhead, you wonder if you might be able to get one to follow you if you had food to give it. (click: ?i_foodstuffs)[ (goto: "i4parrot") ] ] (else:)[ There doesn't seem to be anything else of interest.<br> ] } [[Head back to the ship->Join them for an adventure]]{ <script> setBg("wreckIsland", 1000); </script> <script> fadeOut("ocean", 3000); fadeTo("beach", 3000, 0.2); </script> (if: not ($visited contains 5))[ (set: $visited to $visited+(a: 5)) You land on an island which is surrounded by wrecked and submerged ships, the beach covered in splintered boards and fragmented hulls.<br><br> Silver: This must have been h-- I mean this seems like a ghost town. Sad to see so many ships destroyed by the seas.<br> (if: not ($inv contains "Rope"))[ (set: $inv to $inv + (a: "Rope")) Looking through the exposed wreckage, its easy enough to pick out a decent length of undamaged rope.<br> You tie the rope to your pack before moving on.<br> ] ] (else:)[ You're on the island surrounded by wrecked and submerged ships.<br> ] <br> (if: not ($ivisited contains 5.1))[ Looking over some ships which are more intact, you find a room which hasn't been opened. A tool might be able to get it open.<br> (click: ?i_shovel)[ (goto: "i5loot") ] (click: ?i_pickaxe)[ (goto: "i5loot") ] ] (else:)[ There doesn't seem to be anything else of interest.<br> ] } [[Head back to the ship->Join them for an adventure]]{ <script> fadeTo("ocean", 3000, 0.1); fadeTo("crickets", 3000, 0.5); setTimeout(() => { fadeOut("crickets", 3000); fadeTo("birds", 4000, 0.25); fadeTo("ocean", 4000, 0.1); setBg("ship1", 4000); }, 8000); </script> (set: $day to 2) } As night begins to set, you both return to the ship, sharing some brief words before retiring to bed. The next day, you wake to find the ship already on its way to the next destination. [[Continue]]{ <script> fadeOut("birds", 8000); </script> } After a short time, a single large island comes into view. Pulling up, you unboard the ship, bringing your collection of items with you in case you need them. Silver: Something important came up, and I need to return to port. I trust you will be able to handle yourself on this island until I get back. You set out to explore the island, searching out its hidden secrets and beauty. [[Explore the island->Explore the island2]]From where you are, there are a few paths you can take. You can (if: "shore" is in $visited2)[Shore (Visited)](else:)[[Walk down the shore]] (if: "forest" is in $visited2)[Forest (Visited)](else:)[[Venture into the forest]] (if: "mountain" is in $visited2)[Mountain (Visited)](else:)[[Climb the nearby mountain]] (if: length of $visited2 is 3)[{ (goto: "End day 2") }](set: $visited2 to $visited2+(a: "shore"))you went on the shore. there is sand. and water. [[Very cool->Explore the island]](set: $visited2 to $visited2+(a: "forest"))you went in the forest. there are trees. and grass. [[Very cool->Explore the island]](set: $visited2 to $visited2+(a: "mountain"))you went up the mountain. there are rocks. and a nice view. [[Very cool->Explore the island]]{ <script> setBg("mainNight", 4000); </script> (set: $day to 3) <script> fadeTo("beach", 3000, 0.1); fadeTo("forest", 3000, 0.2); fadeTo("crickets", 3000, 0.5); </script> } After a long day of exploring, you return to the beach to see if Captain Silver has returned, but there is no sign of them. You: Captain Silver's been gone for a long time now. I hope they're safe and will be able to return soon. It's no use just standing here, I should set up for the night. [[Sleep]]{ <script> setTimeout(() => { oneOff(assets + "earthquake.wav", 0.5); }, 500); </script> } ... ... ... You are woken up to a loud sound. [[Look Around]]{ (set: $day to 3) <script> fadeOut("beach", 3000); fadeTo("forest", 3000, 0.4); fadeTo("mountain", 3000, 0.4); fadeTo("crickets", 3000, 0.5); </script> } As you climb the slope of the hill, you come to a clearing on top. You can see almost the whole island from up here, and the stars seem brighter than down on the beach. [[Relax]]You take a minute to relax and take in the peaceful scenery. { <script> setTimeout(() => { setBg("boar", 1000); setTimeout(() => { oneOff(assets + "boar.wav", 0.5); }, 500); }, 2000); </script> } However, before you can relax, a boar comes out of nowhere and starts charging at you! [[Run]]As you look at the ground to see what you're standing in, you realize—you're standing in quicksand! You try to escape, as the charging boar gets closer and closer. [[Struggle]][[Struggle->Struggle2]][[Struggle->Struggle3]]It's no use... [[Try to think of something else]]{ <script> setTimeout(() => { oneOff(assets + "gunshot.wav", 0.5); }, 1000); </script> } You begin to panic, but before you can think, you hear a shot ring out... ... the shot of a familiar flintlock pistol... [[It could only be...->It could only be]]<script> setBg("silverBoar", 1000); </script> Captain Silver! They came back after all! Silver: Looks like we found your limits! Captain Silver notices your confusion. Silver: This was all just a test to see how you could handle being a sea adventurer. I appreciate your passion for exploring, so I'm making you an official member of my team! [[Accept]] {<script> setBg("title", 1000); fadeTo("music", 5000, 0.3); </script> <center style="width:100%; margin:0;"> <img id="name" src="http://www.dmahany.me/imgd/foolstreasure/assets/name.png" style="align: center;"> <br> By <a href="https://hurricanerockstudios.wordpress.com/" target="_blank">Hurricane Rock Studios</a> <ul style="list-style: none; padding-left: 0;"> <li>David Mahany</li> <li>Griffin Atchue</li> <li>Quinn Sakala</li> <li>Yash Patel</li> </ul> <br> <u>Thank you to our testers:</u><br> <ul style="list-style: none; padding-left: 0;"> <li>Issac Petruzziello</li> <li>Jake Matthews</li> <li>Garret</li> <li>Nisha Goel</li> <li>Neeraj Dodda</li> <li>Ruchita Choksey</li> <li>Professor deWinter</li> <li>Kate Olguin</li> </ul> <br> Music by Chulainn </center> } [[Back to Start->Entry]]{(set: $visited to (a:))(set: $ivisited to (a:)) (set: $inv to (a: ))(set: $day to 0) (set: $visited2 to (a:))(set: $ivisited2 to (a:)) (set: $itrips to 0) (set: $boxhint to 0) <script> var assets = "assets/"; registerSound("crowd", assets + "crowd.wav", true); registerSound("ocean", assets + "waves.wav", true); registerSound("crickets", assets + "crickets.wav", true); registerSound("birds", assets + "forestbirds.wav", true); registerSound("cave", assets + "cave.wav", true); registerSound("caveDrip", assets + "cavedrip.wav", true); registerSound("caveWeird", assets + "caveweird.wav", true); registerSound("forest", assets + "windyforest.wav", true); registerSound("fire", assets + "campfire.wav", true); registerSound("jungle", assets + "jungle.wav", true); registerSound("beach", assets + "beach.wav", true); registerSound("mountain", assets + "mountain.wav", true); registerSound("music", assets + "Chulainn - Treasure Hunt.mp3"); registerBg("title", assets + "Ship 2.png"); registerBg("rockIsland", assets + "Island with Weird Rock.png"); registerBg("smokeIsland", assets + "Island with Smoke.png"); registerBg("caveIsland", assets + "Cave Island.png"); registerBg("jungleIsland", assets + "Island with Jungle v2.png"); registerBg("wreckIsland", assets + "Island with Ship-wreck.png"); registerBg("ship1", assets + "Noon Ship.png"); registerBg("ship2", assets + "Ship 2.png"); registerBg("ship3", assets + "Dusk Ship.png"); registerBg("ship4", assets + "Night Ship 2.png"); registerBg("book", assets + "book.jpg"); registerBg("inside", assets + "Inside Ship.png"); registerBg("silver", assets + "Captain Silver colored.jpg"); registerBg("silverBoat", assets + "Captain Silver colored(ship).jpg"); registerBg("mainDay", assets + "Main Island Paths.png"); registerBg("mainNight", assets + "Main Island Paths Night.png"); registerBg("lake", assets + "Lake.jpg"); registerBg("forest", assets + "Forest with Tablet.png"); registerBg("pedestal", assets + "Mountain(pesestal).jpg"); registerBg("boar", assets + "Boar.jpg"); registerBg("ruins", assets + "ruin.jpg"); registerBg("docks", assets + "docks.jpg"); registerBg("silverBoar", assets + "silver and boar.jpg"); </script>}<hr style="margin-top: 50px;"><div style="display: block;">(if: (not ((passage:)'s name is in (a: "Start","Entry","END"))))[(if: $inv's length > 0)[<u>Inventory</u> <br>(for: each _item, ...$inv) [(print: "[" + _item + "]<i_" + _item.replaceAll(" ", "_") + "|<br>")]](else:)[Your inventory is empty.]]</div>(if: (not ((passage:)'s name is in (a: "Entry"))))[<!--Day (print: $day)--> <hr style="margin-bottom: 20px">]As Captain pulls you out of the quicksand, you glance over to the now dead boar. Silver: Looks like it's time for a good meal and some rest. [[END]]{<script> setTimeout(() => { oneOff(assets + "breakstone.wav", 0.5); },200); </script> (set: $ivisited to $ivisited+(a: 1.1))(set: $inv to $inv + (a: "Gems"))} You heft your pickaxe and swing it hard at the crack, breaking apart the stone piece by piece. It took some time, but you hold a small cluster of gems you carefully pried from the rock. [[Continue exploring->Island with a Weird-Looking Rock]]{ <script> oneOff(assets + "flap.wav", 1.0); </script> (set: $ivisited to $ivisited+(a: 1.2))(set: $inv to $inv + (a: "Stone Key"))} You send out your parrot and watch as it flies up to the top of the rock. You shade your eyes looking up at the peak, and after a moment it flies back, dropping an odd stone key in your hand. [[Continue exploring->Island with a Weird-Looking Rock]]{ <script> fadeTo("forest", 3000, 0.3); fadeTo("fire", 2000, 0.5); </script> (if: not ($ivisited contains 2.1))[ (set: $ivisited to $ivisited+(a: 2.1)) You head over to the cluster of trees, finding a trader resting in a small camp. They smile warmly, gesturing for you to join them.<br><br> Trader: Been a while since I've seen a new face. You should take this, the glass is cracked so I haven't been able to sell it but it should work a while longer.<br> (set: $inv to $inv + (a: "Lantern"))He hands you a lantern.<br> ] (else:)[ You're at the trader's camp. The trader smiles warmly.<br> ] <br> (if: ($inv's length > 0) and not ($ivisited contains 2.111))[[["Do you have other things to sell?"->i2trade2]]] } [[Back->Island with a Smoke Trail]]{ <script> fadeTo("forest", 3000, 0.3); fadeTo("crowd", 3000, 0.4); </script> (set: $ivisited to $ivisited+(a: 2.2))} You follow a well trodden path to the island's small village. (if: not ($ivisited contains 2.21))[ As you walk through the village, you walk past a frustrated villager pacing outside a shack with a large lock on its doors. Villager: Can you help? I've locked myself out and can't seem to find the key.]{ (if: not ($ivisited contains 2.21))[ (click: ?i_rusty_key)[ (goto: "i2totem2") ] ]} <br> [[Continue exploring->Island with a Smoke Trail]]{ (if: not ($ivisited contains 2.11))[ (set: $ivisited to $ivisited+(a: 2.11)) ] He motions to a pickaxe leaning against his seat.<br><br> Trader: I have this if you've got something to offer.<br> <br> (Choose an item in your inventory if you want to trade)<br> (click: ?i_shovel)[ (set: $inv to $inv - (a: "Shovel")) (goto: "i2trade3") ] (click: ?i_box_of_coins)[ (set: $inv to $inv - (a: "Box of Coins")) (goto: "i2trade3") ] (click: ?i_gems)[ (set: $inv to $inv - (a: "Gems")) (goto: "i2trade3") ] (click: ?i_fishing_pole)[ (set: $inv to $inv - (a: "Fishing Pole")) (goto: "i2trade3") ] (click: ?i_foodstuffs)[ (set: $inv to $inv - (a: "Foodstuffs")) (goto: "i2trade3") ] } [[Continue exploring->i2trade]]{ (set: $inv to $inv - (a: "Rusty Key")) <script> fadeOut("crowd", 1000); </script> (set: $ivisited to $ivisited+(a: 2.21)) (set: $inv to $inv + (a: "Fishing Pole"))} Villager: Oh thank you so much! Feel free to take something for letting me back in. Looking around the shack it's mostly full of fishing supplies, however you do find an old fishing pole resting on the wall still in good shape. [[Continue exploring->Island with a Smoke Trail]]<script> fadeOut("forest", 2000); oneOff(assets + "matchlight.wav", 0.5); setTimeout(() => { oneOff(assets + "stonesteps.wav", 0.6); }, 1000); fadeTo("cave", 2000, 0.4); fadeTo("caveWeird", 2000, 0.25); </script> (set: $ivisited to $ivisited+(a: 3.1))(set: $inv to $inv + (a: "Paper with Code")) You hold up your lantern as you walk into the cave. It goes on for a while, getting darker, cooler, and damper, but your lantern provides enough light to see by. After a few minutes of walking, you find a broken table, a paper with some strange markings sitting atop it. Not seeing anything else, you take the paper and trek back to the entrance. [[Continue exploring->Island with a Dark Cave]](set: $ivisited to $ivisited+(a: 4.1))(set: $inv to $inv + (a: "Parrot")) You put some of the food you gathered earlier into your hands, holding them up towards the parrots above. It takes a moment, but one lands on your hands, and begins eating from your palms. It looks up at you before moving over to your shoulder. [[Continue exploring->Island with a Dense Jungle]]{<script> setTimeout(() => { oneOff(assets + "woodbreak.wav", 0.7); },200); </script> (set: $ivisited to $ivisited+(a: 5.1))(set: $inv to $inv + (a: "Box of Coins"))} Raising it high over your head, you slam it into the door repeatedly until it finally opens. Wiping sweat from your brow, you enter a room housing a small box of gold coins. Picking it up off the floor, you make your way out of the wreck. [[Continue exploring->Island with a Ship Graveyard]]<div style="display: none; height: 0px;"> (set: $inv to $inv + (a: "test item")) (set: $inv to $inv + (a: "test2")) (set: $inv to $inv + (a: "test3"))</div> (click: ?i_test_item)[Use test item] (click: ?i_test2)[Use test item 2] (click: ?i_test3)[{ (goto: "ItemTest2") }] [[ItemTest2]]p2 <div style="display: none; height: 0px;"></div> (click: ?i_test_item)[Use test item on page 2] (click: ?i_test2)[Use test item 2 on page 2] (click: ?i_test3)[Use test item 3 on page 2] [[ItemTest2]]{ <script> setBg("book", 1000); </script> <script> fadeIn("crowd", 3000); </script> <script> $("tw-story")[0].style.backgroundImage = ""; </script> } You're walking back to the orphanage after a boring day of doing jobs. On the way back you're reading your favorite book about the famous adventurer Captain Silver for the hundredth time. As you walk, you hear a commotion behind you. You turn and see a horde of people heading towards the port. [[Hear what the commotion is about -> Commotion]]You overhear that a large ship has landed at the dock. Curious, you follow them to see what the commotion is about. As you walk towards the port, you see a recognizable ship. You: Hang on, I recognize that boat. It's just like the one in this book! That's CAPTAIN SILVER'S boat! You rush ahead of the crowd to the port for a chance to meet Captain Silver. [[Head to the port->Port]]<script> fadeOut("crowd", 3000); </script> You decide to head home. Why would the great Captain Silver ever meet you let alone talk to you. As you get home, you head to your room. There are drawings of maps and hand-crafted wooden ships you made as a kid, and your precious gold coin your dad gave you is displayed on a shelf. Seeing all these things rekindles your dream of adventuing, getting some treasure, and leaving your boring life behind. "You know what, I'm going to the port and meet Captain Silver. This is my best chance of leaving this place." { <script> setBg("docks", 1000); </script> <script> fadeTo("ocean", 3000, 0.20); </script> } You frantically weave through the crowd and finally see the Captain. You stand open jawed at your idol. Never in your dreams did you imagine you'd see your hero this close to home. As you start to move closer you suddenly stop as the captain starts to address the crowd. [[Listen to Silver->Listen to Silver]] Silver: You are quite young to be wanting to be an adventurer. You: It's been my dream to follow you ever since I got this book. Silver: Oh ho! Well then good luck to you! You glance at the box of what seems to be made out of wood with metal pieces around it. You're puzzled at where to start, but you are determined to solve it. [[Look at the box->Box]]Silver: I'm not quite sure how I got so famous, I simply wanted to be an adventurer. I've been on so many adventures in my lifetime that I've lost count. [["You've always been my idol"->Idol]] [["Do you think I could ever be like you?"->Adventurer]]Silver: We will be heading to an archipelago that I've had my eyes on. We will be the first to go look for treasure there. [["Wow! That's Amazing!" ->Amazed]] [["Is it dangerous on the islands?" ->Doubtful]]Silver: I'm pleased that you think so! This adventure will probably test your mind as well as your body so you have to be careful. I'll make sure you don't get into anything too dangerous. I'll tell you some of my tales to make sure you're prepared for what may happen. [[Listen to Silver`'`s stories->Converse]]Silver: Not overly dangerous, no. However we don't know what will happen so we must be careful as we journey through the archipelago. Silver: This reminds me of when I started out. Would you like to hear a tale? [[Listen to Silver`'`s stories->Converse]]<script> fadeTo("ocean", 3000, 0.1); fadeTo("crickets", 5000, 0.5); </script> You start to listen to the captain's stories. Each one becomes more and more interesting, intense, and full of adventure and excitement- what you have been looking for your whole life. The day soon turns to night. Silver: My my, it became dark quickly. And it doesn't seem like your interest has dwindled. You better go and prepare for tomorrow morning. [["I'll see you tomorrow!"->Head Home]]Silver: "You think I'm that special? If you want to know the truth, I'm not. I'm just a person who loves adventuring. The world is huge, you never know what you'll find." [["You seem to have a lot of experience"->Experience]]Silver: Of course! As long you work hard you'll be a full fledged adventurer in no time! You should hear the tale of when I first started out! It'll calm your nerves. [["Of course!"->Converse]] Silver: "I do. And all of it came from my passion for treasure hunting. Let me tell you about some of my many adventures." [[Listen to Silver`'`s stories->Converse]] Silver: "Hmm? Unsure about being an adventurer? You seem to have the looks and spirit of one. You at least came here to see me. Let's see if I can convince you." [[Listen to Silver`'`s stories->Converse]] <script> fadeTo("ocean", 3000, 0); fadeOut("crickets", 5000, 0); setTimeout(() => { fadeTo("birds", 4000, 0.25); }, 8000); setBg("docks"); </script> Once you return, you excitedly tell everyone what has happened and they are all very happy for you. You spend your last day there packing and saying goodbye to everyone as you excitedly await tomorrow. [[Head to the port->Port2]]Silver: "It's always your choice. You could stay in this old town and live the same life you always have. I'll still be leaving tomorrow. The trip will be full of islands and secret treasure. This is a once in a life time opportunity." You hear these words thinking that maybe it'll be better than watching the same sunset over and over again. [["I'll join you on your adventure" ->Head Home]] <script> fadeTo("ocean", 5000, 0.25); fadeOut("birds", 5000); setBg("silver"); </script> You walk towards the ship with enthusiasm. You find Captain Silver in front of the ship waiting for you. [["Good morning Captain Silver!"->Greeting]] [["I'm ready to go!"->Excited]]Silver: "Morning to you too! Glad to see you up and excited this early. Well it's time to head off. Never too early for an adventure." [[Set off for an adventure->Join them for an adventure]] Silver: "Eager now aren't we? Well I just loaded our last supplies onto the ship. Let's not waste another minute of daylight here." [[Set off for an adventure->Join them for an adventure]] (set: $ivisited to $ivisited+(a: 2.111))(set: $inv to $inv + (a: "Pickaxe")) You make the exchange, taking your new pickaxe. Trader: Pleasure doing business! [[Continue exploring->i2trade]] [Get Items]<i| (click: ?i)[ { (set: $inv to $inv + (a: "Lantern")) (set: $inv to $inv + (a: "Rusty Key")) (set: $inv to $inv + (a: "Parrot")) (set: $inv to $inv + (a: "Pickaxe")) (set: $inv to $inv + (a: "Foodstuffs")) (set: $inv to $inv + (a: "Paper with Code")) (goto: "Epic Debug Start") } ] [Skip to last trip]<t| (click: ?t)[{ (set: $itrips to 6) }] [[Join them for an adventure]] [Get Items]<i| (click: ?i)[ { (set: $inv to $inv + (a: "Stone Key")) (set: $inv to $inv + (a: "Fishing Pole")) (set: $inv to $inv + (a: "Rope")) (set: $inv to $inv + (a: "Paper with Code")) (goto: "Epic Debug Start 2") } ] [[Continue->Explore the island2]]{ <script> setBg("mainDay", 1000); </script> <script> fadeTo("beach", 3000, 0.1); fadeTo("forest", 3000, 0.2); fadeOut("ocean", 3000); fadeOut("cave", 3000); fadeOut("caveDrip", 3000); fadeOut("caveWeird", 3000); fadeOut("jungle", 3000); fadeOut("fire", 3000); fadeOut("crowd", 3000); fadeOut("birds", 3000); fadeOut("crickets", 3000); </script> } You're on the large island. From where you are, there are a few paths you can take. Where will you go? [[Lake]] [[Forest]] [[Mountain]] (if: length of $visited2 is 3)[{ (goto: "End day 2") }]{ <script> setBg("pedestal", 1000); </script> <script> fadeOut("beach", 3000); fadeTo("mountain", 3000, 0.25); </script> (if: not ($visited2 contains "mountain"))[{ (set: $visited2 to $visited2+(a: "mountain")) }] } You climb the slope leading up the mountain. As you climb, you reach a flat area of ground, on which there is some sort of pedestal. To the side, there's a nearly vertical cliff leading down onto another rock formation. (if: not ($ivisited2 contains 3.11))[[Take a closer look at the pedestal]] (if: not ($ivisited2 contains 3.21))[[Approach the cliff->Approach the cliff face]] [[Back->Explore the island2]]{ (if: not ($ivisited2 contains 3.1))[ (set: $ivisited2 to $ivisited2+(a: 3.1)) You approach the pedestal and take a closer look to see what its purpose might be.<br> The main feature of the pedestal is a slot on top, almost like a keyhole.<br> ] (else:)[ You approach the pedestal with the keyhole. ] <br> (if: not ($ivisited2 contains 3.11))[ (click: ?i_stone_key)[ (goto: "b3key") ] ] } [[Back->Mountain]]{ <script> fadeTo("mountain", 3000, 0.5); </script> (if: not ($ivisited2 contains 3.2))[ (set: $ivisited2 to $ivisited2+(a: 3.2)) ] <br> (if: not ($ivisited2 contains 3.21))[ (click: ?i_rope)[ (goto: "riddleenter") ] You walk up to the edge of cliff, wondering if there could be anything down there.<br> You don't see any other way you could get down without something to climb with. ] (else:)[ You walk up to the edge of cliff with the ruins at the bottom.<br> There doesn't seem to be anything else to do here. ] } [[Back->Mountain]]{(set: $ivisited2 to $ivisited2+(a: 3.11)) (set: $inv to $inv + (a: "Ruby")) <script> oneOff(assets + "unlock.wav", 0.5); setTimeout(() => { oneOff(assets + "smallStoneScrape.wav", 0.5); }, 1000); </script> } You place the stone key into the keyhole on the pedestal. As soon as it's entered all the way in, the top of the pedestal opens up, revealing a huge ruby. You take it. [[Back->Mountain]]{ (if: not ($ivisited2 contains 3.211))[ (set: $ivisited2 to $ivisited2+(a: 3.211)) ] } The writing on the wall reads: I look flat, but I am deep. Hidden realms I shelter. Lives I take, but food I offer. At times I am beautiful. I can be calm, angry and turbulent. I have no heart, but offer pleasure as well as death. What am I? The tiles on the floor each have a possible answer. [The Sky]<r1| (click: ?r1)[{(goto: "riddleincorrect")}] [The Ocean]<r2| (click: ?r2)[{(goto: "riddlecorrect")}] [The Wind]<r3| (click: ?r3)[{(goto: "riddleincorrect")}] [The Earth]<r4| (click: ?r4)[{(goto: "riddleincorrect")}]{ <script> oneOff(assets + "smallStoneScrape.wav", 0.5); setTimeout(() => { oneOff(assets + "stonescrape.wav", 0.5); }, 1000); </script> } As you step onto the tile, it shifts downwards flush with the floor. The other tiles shortly do the same. Once all of the tiles finish moving, a hidden door in the stone wall opens up, revealing a secret room. [[Enter->b2secret]]{ <script> setBg("forest", 1000); </script> <script> fadeOut("beach", 3000); fadeTo("forest", 3000, 0.5); </script> (set: $code to (a:)) (if: not ($ivisited2 contains 2.1))[ (if: not ($visited2 contains "forest"))[ (set: $visited2 to $visited2+(a: "forest")) As you walk through the forest, you come across a tablet fixed to a tree.<br> ] (else:)[ You're in the forest with the tablet. ] Attached to the tablet is a gold chalice, but you cannot separate them because of a loop and chain locking the chalice to the tablet.<br> On the front of the tablet are four arrows, one for each direction, which stick out like buttons.<br> Above the buttons, there is an engraving of the number "4".<br> [[Click Buttons]] (click: ?i_paperwithcode)[ (goto: "codepaper") ] ] (else:)[ You're in the forest with the tablet you got the gold chalice from.<br> There doesn't seem to be anything else to do here.<br> ] } [[Back->Explore the island2]]As you step onto the tile, it shifts downwards flush with the floor. The other tiles shortly do the same. You wait for something to happen, but nothing does. You assume you picked the wrong answer. { <script> oneOff(assets + "smallStoneScrape.wav", 0.5); </script> } [[Back->Approach the cliff face]](set: $inv to $inv + (a: "Treasure Chest")) As you peer into the dusty and dirty room, you are amazed to see a chest just sitting on the ground. You open it up to find that it's full of gold pieces, jewelry, and other valuables. You quickly close it and check that this isn't some sort of trap, but you can't find any evidence of it being one. The chest must have been some long lost adventurer's treasure, and they sealed it behind the riddle for safekeeping. You decide to bring the chest back to the beach so you don't have to carry it around. [[Back->Approach the cliff face]]{ <script> setBg("lake", 1000); </script> <script> fadeTo("beach", 3000, 0.1); fadeTo("forest", 3000, 0.4); </script> } { (if: not ($visited2 contains "lake"))[{ (set: $visited2 to $visited2+(a: "lake")) }] (if: not ($ivisited2 contains 1.1))[ As you walk around the island, you find that its interior houses a small lake.<br> The lake is almost crystal clear, and you can see several fish in it.<br> ] (else: )[ You are at the lake. You watch the fish in the lake swimming around.<br> ] (if: not ($ivisited2 contains 1.1))[ You wonder if you could catch something if you had a rod.<br> (click: ?i_fishingpole)[ (goto: "fishing") ] ] } [[Back->Explore the island2]]{ (if: not ($ivisited2 contains 1.1))[ (set: $ivisited2 to $ivisited2+(a: 1.1)) (set: $inv to $inv + (a: "Diamond Necklace")) ] } You start trying to fish, and after a while you feel a tug. However, as you reel in the line, you don't see a fish on the hook, but a necklace. As you pull the necklace out, you see it has a large gem on it, which you suspect could be a diamond. [[Back->Lake]]It seems there was a landslide on the side of a large hill in the distance. You think that you could probably climb up there to get a good view of the rest of the island. [[Climb]]{ <script> setBg("ruins"); fadeTo("mountain", 3000, 0.2); </script> (set: $ivisited2 to $ivisited2+(a: 3.21)) You attach the rope firmly at the top of the cliff and toss the rest off the edge, giving you a way down to the isolated area. As you climb down onto the rock formation, you find some ruins hidden from plain view.<br> On one of the walls, there seems to be some writing.<br> There are four tiles sticking up slightly from the ground, and you assume they are pressure pads of some sort.<br> Each tile has a different word written on it.<br> <br> [[Read the writing->riddle]]<br> } [[Back->Approach the cliff face]]{ <script> oneOff(assets + "paper.wav", 0.5); </script> } The paper you got from the cave has symbols on it somewhat resembling arrows. The paper reads: ← ↓ → ↓ [[Back->Forest]]{ <style> tw-enchantment { padding-left: 10px; padding-right: 10px; margin-right: 14px; } </style> } You can click any of the four buttons on the stone tablet: (if: not (length of $code is 0))[{ <script> oneOff(assets + "click.wav", 0.5); </script> }] (if: length of $code is 4)[{ (goto: "coderesult") }] { [ ↑ ]<u| (click: ?u)[{ (set: $code to $code + (a: "u")) (goto: "Click Buttons") }] &nbsp; [ ↓ ]<d| (click: ?d)[{ (set: $code to $code + (a: "d")) (goto: "Click Buttons") }] &nbsp; [ ← ]<l| (click: ?l)[{ (set: $code to $code + (a: "l")) (goto: "Click Buttons") }] &nbsp; [ → ]<r| (click: ?r)[{ (set: $code to $code + (a: "r")) (goto: "Click Buttons") }] }(print: $code.join(", ")) (if: $code is (a: "l", "d", "r", "d"))[{ (goto: "codegood") }] (else:)[{ (goto: "codebad") }]{<script> setTimeout(() => { oneOff(assets + "click2.wav", 0.5); setTimeout(() => { oneOff(assets + "unlock.wav", 0.7); },500); },500); </script> }{(set: $ivisited2 to $ivisited2+(a: 2.1)) (set: $inv to $inv + (a: "Chalice"))} After you press the fourth button, you hear a click and the loop that restrained the chalice detaches, allowing you to take it. [[Back->Forest]]{<script> setTimeout(() => { oneOff(assets + "click2.wav", 0.5); },500); </script> } After you press the fourth button, you hear a click, but nothing happens. You assume you entered the wrong code. [[Back->Forest]]You decide to run—you're not an experienced fighter or hunter! Even if you were, it's so dark you probably couldn't do much anyway. As you're running, you feel your feet beginning to get heavier, almost like you're walking in mud... [[Look down->Quicksand!]]You try to use your items to help you get out, but it's no use... [[Panic!->shot]] [Get Items]<i| (click: ?i)[ { (set: $inv to $inv + (a: "Key")) (set: $inv to $inv + (a: "Fishing Pole")) (set: $inv to $inv + (a: "Rope")) (set: $inv to $inv + (a: "Paper with Code")) (set: $inv to $inv + (a: "Chalice")) (set: $inv to $inv + (a: "Diamond Necklace")) (goto: "Epic Debug Start 3") } ] [[Continue->END]][[ Approach Captain Silver]]{ <script> fadeOut("crowd", 2000); </script> <script> setBg("inside", 1000); </script>} As you both walk into the captains room you gawk at all the treasure and artifacts decorating the room. Your recognize some of them from your book as well. Silver: Well, as my new apprentice you should be able to trust your captain, so until we depart tomorrow you can ask me anything about my adventures. [["How did you become so famous?"->Proud Captain]] [["Where are we going tomorrow?"->Adventure Path]]{<script> setBg("silver", 1000); </script>} Captain Silver: Ahoy Lads and Lassies! I would introduce myself but it already appears you all know who I am! I have been up and down the coast these past few months looking for an apprentice and I've come across this small town! The crowd starts to murmur as the captain continues. You wonder to yourself: A chance to be the captain's apprentice? Captain Silver: In my hand, I have a box. The only requirement to be my apprentice is to open it. This ain't no ordinary box, this box has been with me since my early days. So if you manage to open this box, you would be worthy. You quickly run into line trying to get as close to the front as possible. Once it's your turn, you are given the box. [[Talk to Captain Silver -> Approach Captain Silver]]{ <script> setBg("docks", 1000); </script>} You stand, trying to figure out the puzzle. Silver stands there with their hands on their hips. Silver is smiling at you as if they want you to solve the box. { (if: $boxhint is 1 and (not ($inv contains "Pendant")))[ You notice the pendant Captain Silver is wearing that is in the shape of a teardrop.<br> ] } [[Examine the box->ExamineBox]] { (if: $boxhint is 1 and (not ($inv contains "Pendant")))[[Ask for the pendant]] } { (click: ?i_pendant)[ (goto: "Use Pendant") ] } {(set: $boxhint to 1)} The box seems to be in quite beaten shape with locks and key holes all around it. There seems to be a large cavity in the shape of a teardrop. [[Back->Box]]Silver: Oh this? Sure you can have a look at it. { <script> setBg("silver", 1000); </script> (if: not ($inv contains "Pendant"))[{ (set: $inv to $inv + (a: "Pendant")) }] } [[Back->Box]]{ (set: $inv to $inv - (a: "Pendant")) } You place the pendant in the cavity. A clicking sound occurs and the box opens. In it a glistening pendant shines in the same shape as the pendant the captain was wearing. Silver: Shiver me Timbers! You've actually solved it! And at a young age as well. Silver: Well lads and lassies, this here prodigy will be my new apprentice. Silver: You have the honor of wearing your prize. Would you like to come in so we can chat? [[Nod with excitement->The Ship]]