{
(set: $days to 0)
(set: $bones to 0)
(set: $prestige to 0)
(set: $garden to "lovely")
(set: $trowel to "false")
(set: $wateringcan to "false")
(set: $fertilizerbag to "false")
(set: $dailygarden to 0)
(set: $weeding to 0)
(set: $watering to 0)
(set: $fertilizing to 0)
(set: $starfruit to false)
(set: $rawMaterial to (dm: "ectoplasm", 0, "starfruit", 0, "ruby", 0, "sapphire", 0, "emerald", 0, "diamond", 0, "peridot", 0, "turquoise", 0, "platinum", 0, "garnet", 0))
(set: $finItem to (dm:))
(set: $achievement to (dm: "a1", "false", "a2", "false", "a3", "false", "a4", "false", "a5", "false", "a6", "false", "a7", "false", "a8", "false", "a9", "false", "a10", "false", "a11", "false", "a12", "false"))
(set: $quest to (dm: "q1", "false", "q2", "false", "q3", "false", "q4", "false", "q5", "false", "q6", "false", "q7", "false", "q8", "false", "q9", "false"))
(set: $C1dialogue to (a: "You sip from your imaginary tea with gusto. Ah, the fresh taste of mint.", "You turn to the stuffed cow on your left and grumble lowly.", "You yip excitedly to the stuffed alligator on your right."))
(set: $commentsC1 to (a: "I'm glad you like it, doggy,", "Mr. Cowly is sorry to hear that. Things will get better soon,", "Why yes, how exciting!"))
(set: $indexC1 to 1)
(set: $C2dialogue to (a: "You settle in while nibbling on a dog biscuit. Mmm. Beef.", "You turn to the stuffed purple rabbit on your left and eye him suspiciously.", "You look adoringly at the stuffed panda on your right."))
(set: $commentsC2 to (a: "I remembered your favorite, doggy,", "Oh, that's just Petey. He doesn't mean any harm,", "That's Benjamin. I think he's great too,"))
(set: $indexC2 to 1)
(set: $C3dialogue to (a: "You nudge all the silverware into place, now remembering properly where it goes.", "You turn to the stuffed pig on your left and lick your lips.", "You place one paw on Cecilia's small hand and flash her a wide, canine smile."))
(set: $commentsC3 to (a: "Oh, thank you, $corgiName,", "That's not real bacon, $corgiName,", "I'm glad to have you here, too, $corgiName!"))
(set: $indexC3 to 1)
(set: $friendCecilia to 0)
(set: $fbone to 0)
(set: $fetch to (a:
"Timmy flings the stick across the yard and you zoom after it like a fluffy bullet. You snag it just before it hits the ground, and promptly bring it back.",
"Like a streak of wooden lightning, the stick flies to the other side of the yard and you chase after it. You are directly under it for a few strides of your stubby legs, and you launch into the air and deftly catch it in your ferocious jaws.",
"The stick careens off a bad throw and goes sideways, and unfortunately you’re not agile enough to catch it. It clatters to the ground, and you make a one-point landing on the nosedive. Ouch! But you spring back up, not even fazed, ready for the next throw.",
"Timmy only manages a short throw this time, and you take your time bringing the stick back. You chew on the supple bark, shuddering from the pure pleasure of the gum massage. Why can’t all sticks be this good? He sure knows how to pick ‘em.",
"A wide arc sends the stick off into some bushes, and you pounce through the brambles to retrieve your trophy. After scrounging around for a bit, you find something very different from a stick - you’ve found a bone! (set: $bones to it + 1)(set: $fbone to 1)"))
(set: $dailygeo to "false")
(set: $geoquiz to (a:
"Geology is the study of solid terrestrial features on planets or natural satellites and how they change over time.",
"The three main classifications of rocks are: igneous, sedimentary, and metamorphic.",
"Luster is the measurement of light reflected from a mineral's surface.",
"Minerals are generally not grouped by color.",
"Minerals can't have a distinctive odor."))
(set: $dailyfruit to 0)
(set: $steed to 0)
(set: $dailyrace to 0)
(set: $meters to 0)
(set: $coursebonus to (dm: "agi", 0, "str", 0, "spd", 0, "end", 0))
(set: $featherobs to (a: "Left Turn", "Hedge", "Right Turn"))
(set: $bridleobs to (a: "Left Turn", "Hedge", "Right Turn", "Sharp Decline", "Cloud Wall", "Storm Pond"))
(set: $cycloneobs to (a: "Left Turn", "Hedge", "Right Turn", "Sharp Decline", "Cloud Wall", "Storm Pond", "Lightning", "Abyssal Gap", "Wind Funnel"))
(set: $steed1 to (dm: "name", "Thunderhead", "trait", "aggressively", "coat", "steel grey", "mane", "raven black", "wings", "elliptical", "body", "draft", "bonus1", "agi", "bonus2", "str"))
(set: $steed2 to (dm: "name", "Phoenix", "trait", "elegantly", "coat", "chestnut", "mane", "flaxen", "wings", "long soaring", "body", "sport", "bonus1", "end", "bonus2", "spd"))
(set: $steed3 to (dm: "name", "Tundra", "trait", "timidly", "coat", "cremello", "mane", "white", "wings", "broad soaring", "body", "sport", "bonus1", "str", "bonus2", "spd"))
(set: $steed4 to (dm: "name", "Dragonfire", "trait", "strongly", "coat", "midnight black", "mane", "dusty black", "wings", "high speed", "body", "pony", "bonus1", "spd", "bonus2", "agi"))
(set: $steed5 to (dm: "name", "Reaper", "trait", "smartly", "coat", "dapple grey", "mane", "light grey", "wings", "elliptical", "body", "pony", "bonus1", "agi", "bonus2", "agi"))
(set: $steed6 to (dm: "name", "Solarflare", "trait", "wildly", "coat", "buckskin", "mane", "black", "wings", "long soaring", "body", "pony", "bonus1", "end", "bonus2", "agi"))
(set: $stable to (a: $steed1, $steed2, $steed3, $steed4, $steed5, $steed6))
(set: $lostclouditem to "false")
(set: $story to (dm: "s1", "false", "s2", "false", "s3", "false", "s4", "false", "s5", "false", "s6", "false"))
(set: $cnpc1 to 0)
(set: $cnpc2 to 0)
(set: $cnpc3 to 0)
(set: $S1dialogue to (a: "You look around at the numerous glass cabinets full of knick-knacks.", "You peer more closely at a tattered leather-bound book propped up on a stand.", "You nibble on the lace doily adorning the small table."))
(set: $commentsS1 to (a: "Those are just things I've collected over the years,", "Those are my prized family photos in that album. I'm quite proud of it,", "Please, don't do that, dear,"))
(set: $indexS1 to 1)
(set: $S2dialogue to (a: "You push around a pile of gems on the table.", "While Sherry isn't looking, you dart your tongue deftly into an unattended glass of milk.", "You gaze over Sherry's photo at a framed photograph."))
(set: $commentsS2 to (a: "Ah yes, those are rather rare here. I have a friend who collects such things,", "It's not polite to slurp,", "Oh! That's my uncle. He was the best Pegasi racer of his time,"))
(set: $indexS2 to 1)
(set: $S3dialogue to (a: "While visiting, you waddle over to a an open trunk and peer inside.", "You listen to Sherry's stories about her family, and what it was like growing up as a pup in the Cloud Kingdom.", "You wag as soon as you see Sherry, and drop a bouquet of silver flowers at her paws."))
(set: $commentsS3 to (a: "You've caught me cleaning, $corgiName. These are old artifacts handed down through my family. A telescope. A map. And a compass that won't work,", "And that's how the crisis was solved with a generous helping of Star Fruit, $corgiName,", "Thank you very much, $corgiName. You're always welcome here."))
(set: $indexS3 to 1)
(set: $friendSherry to 0)
(set: $candle to "false")
(set: $skeletonKey to "false")
(set: $dailycrossword to "false")
(set: $dailylock to 0)
(set: $hunt to "off")
(set: $hnpc1 to 0)
(set: $hnpc2 to 0)
(set: $hnpc3 to 0)
(set: $paintingorder to (a: "rustic", "dainty", "crooked", "destroyed"))
(set: $paintingguess to (a:))
(set: $hh1 to false)(set: $hh2 to false)(set: $hh3 to false)(set: $hh4 to false)(set: $hh5 to false)(set: $hh6 to false)(set: $hh7 to false)(set: $hh8 to false)(set: $hh9 to false)(set: $hh10 to false)(set: $hh11 to false)(set: $hh12 to false)(set: $hh13 to false)(set: $hh14 to false)(set: $hh15 to false)(set: $hh16 to false)(set: $hh17 to false)(set: $hh18 to false)(set: $hh19 to false)(set: $hh20 to false)(set: $hh21 to false)(set: $hh22 to false)(set: $hh23 to false)(set: $hh24 to false)(set: $hh25 to false)(set: $hh26 to false)(set: $hh27 to false)(set: $hh28 to false)(set: $hh29 to false)(set: $hh30 to false)(set: $hh31 to false)(set: $hh32 to false)(set: $hh33 to false)(set: $hh34 to false)(set: $hh35 to false)(set: $hh36 to false)(set: $hh37 to false)(set: $hh38 to false)(set: $hh39 to false)(set: $hh40 to false)
(set: $dailymath to "false")
(set: $lostmole to "false")
(set: $mnpc1 to 0)
(set: $mnpc2 to 0)
(set: $mnpc3 to 0)
(set: $mathquiz to (a: "The slope of a vertical line is undefined.", "The product of two positive numbers is NOT positive.", "The absolute value of a real negative number is negative.", "30% of x is equal to 0.03x", "The additive inverse of -10 is 10."))
(set: $dailyhistory to "false")
(set: $historyquiz to (a: "The Magna Carta was signed in Rome.", "Marie Antoinette was married to Louis XVI.", "Sir Winston Churchill was a Labour Prime Minister.", "Joan of Arc fought at the Battle of Agincourt.", "Custer was defeated at Little Bighorn."))
(put: (prompt: "Corgi Name", "Fido") into $corgiName)
}{
[<center>
You are a Corgi in a sunny backyard.
<br>Your name is $corgiName.</center><br>
(if: $days > 0)[You have been exploring for $days day(if: $days is not 1)[s], and you have found $bones bone(if: $bones is not 1)[s].<br><br>]
(transition:"dissolve") + (transition-time: 5s)[
A beautiful garden lines the perimeter, with towering sunflowers, radiant roses, and a small maze of lilac bushes, just big enough for a Corgi to get lost! On the other side of the yard, past the oak tree, is a luxuriously tiled pool with plenty of toys and a choice of deep and shallow ends.<p>]
(transition:"dissolve") + (transition-time: 5s)[
In one corner of the yard, you see a gardening shed that no doubt holds an admirable amount of gardening tools that help keep the yard in shape. Perhaps it will hold some value for you too.<p>]
(transition:"dissolve") + (transition-time: 5s)[
If you get hungry or tired, don't forget to take a nap on the hammock on the porch, or go inside for dinner. You have all day to play though, so what will you explore first?<p>]
(if: $merch is 43)[You see a |merch>[Pomeranian] with an oddly lavender hue approaching, tugging an overflowing cart...
(click: ?merch)[(goto: "merch")]
<p>]
(transition:"dissolve") + (transition-time: 5s)[
(if: $bones > 0)[(link-goto: "Bone Shed", "Bone Shed")<br>]
(else:)[(link-goto: "Gardening Shed", "Bone Shed")<br>]
(if: (history:) contains "Timmy's Backyard")[(link-goto: "Check on Timmy", "Timmy's Backyard")<br>]
(if: (history:) contains "Elf Kingdom")[(link-goto: "Wiggle into the Oak Tree", "Elf Kingdom")<br>]
(if: (history:) contains "Garden")[(link-goto: "Garden")<br>]
(if: (history:) contains "Timmy's Backyard" and "Elf Kingdom" and "Garden")[]
(else:)[(link-goto: "Sniff some Flowers!", "Flowers")<br>]
(if: (history:) contains "Mole Kingdom")[(link-goto: "Dig into Gopher Hole", "Mole Kingdom")<br>]
(else:)[(link-goto: "Lilacs smell nice!", "Lilacs")<br>]
[[Go for a Swim!->Pool]]
]
]
}
{
The flowers smell wonderful today, and all show vivid colors, strong stems, and crisp petals. You weave your way through the sunflowers, sniffing in the rich smell of exotic, imported dirt. Leaving a trail of Corgi pawprints behind you, you start trotting towards the roses.<p>
Taking in some delicious whiffs, you see something new just beyond the trellis. You waddle over to it with your head down low. It appears to be smooth, shiny, and round shaped, but it's not like any rock you've seen.<p>
You gently step over it and carry on with your day. Your garden exploration has taken you around the yard and you start to get close to your favorite oak tree (since it's the only one in the yard). You hear a strange chittering, and you look up at a squirrel sitting on the branch, brandishing an acorn at you. The nerve!<p>
You plop down on the ground and consider your surroundings. Which should you explore?<p>
(if: (history:) contains "Timmy's Backyard")[(link-goto: "Hole in the Fence", "Timmy's Backyard")<br>]
(else:)[(link-goto: "Boop the strange rock", "Turtle")<br>]
(if: (history:) contains "Elf Kingdom")[(link-goto: "Oak Tree")<br>]
(else:)[(link-goto: "SQUIRREL!!!", "Oak Tree")<br>]
[[Garden]]<br>
[[Need a snack->Hammock]]
}{
You waddle around the lilac bushes, enjoying the cool shade and the indulgent smells. You smell something weird, though, and trot towards it. Under a few of the branches, you see a wide hole. A pointy-faced rodent peers at you before disappearing within.<p>
(if: $fertilizerbag is "false")[You also notice that an open [fertilizer bag]<bag| is propped against one of the bushes. What were your humans doing out here?(click: ?bag)[ Well, it couldn't hurt to take it with you. It does have a nice smell, after all.(set: $fertilizerbag to "true")]<p>]
(link: "Dig")[<p>(if: $digday is 0)[
You dig into the ground in between the lilac bushes. You quickly get exhausted, but you know there's something more to be discovered. You decide you should come back after you've rested and dig some more.(set: $digday to 1)](else-if: $digday is 1)[You feel good about the digging progress you've made today, but you know you still have a little way to go. You should come back after you've rested to dig some more.(set: $digday to 2)](else-if: $digday is 2)[You work tirelessly today, digging where no Corgi has ever dared to dig. The tunnel is going down into the bowels of the earth, but you're not there yet. You need to rest, but you can feel that you're on the cusp of something great.(set: $digday to 3)](else-if: $digday is 3)[You keep digging and digging, and you finally break through into a [[wondrous new world|Mole Kingdom]]...(set: $digday to 4)](else:)[(link-goto: "Mole Kingdom", "Dig to the Mole Kingdom")]]
<br>[[Looks too dangerous->Hammock]]
}{
You waddle up to the pool’s edge and look in. The sun is reflecting brilliantly off the water, which looks so inviting. There’s some pool chairs scattered around the tiled edge of the pool patio, and various [pool toys](click: ?notyet)[(set: $scuba to "true"), including some sweet scuba gear that you confiscate,] left lying around. It might be nice to soak your hot and tired paws, but there’s also more that might be discovered in this part of the yard.<p>
(if: $wateringcan is "false")[You notice a discarded plastic [watering can]<can| laying next to the pool. It might not be wise to fill it with pool water, though.(click: ?can)[ You pick it up, knowing it will come in useful later.(set: $wateringcan to "true")]]<p>
[[Go for a Swim]]<br>
[[Search Nearby]]<br>
[[Need a Nap->Hammock]]
}You boop the strange rock. To your surprise, it sprouts a head and little legs and starts wandering off through the garden, keeping close to the fence. You now realize that it's a turtle! You follow the turtle for a while, bouncing with anticipation at every, painfully slow step.
It comes to a hole in the fence that your humans must have overlooked. Making sure that the coast is clear, you peer through it. It goes right into Timmy's backyard! You rememeber Timmy, right? Sweet little boy, always ready for belly rubs and always tastes like jelly from lunch.
[[Squeeze through?->Timmy's Backyard]]
[[Too fat for that->Hammock]]The squirrel throws an acorn at you, and it hits you square on the snout! The nerve!
[[Ouch!->Hammock]](if: $scuba is "true")[Braving the darkened depths, you dive down heroically towards the deep end of the pool where no Corgi hath ever dared to go. Your stubby legs pull you closer to treasure, adventure, and glory! You see something strange, like an open drain. When you get too close, you get [[sucked into it!->Mer Kingdom]]
]
(else:)[You splash around in the shallow end for a little bit, just enough to wet your velvet ears. You look at the deep end, dark and brooding, but it’s too intimidating for a little Corgi like you today. Perhaps another day you’ll find a dose of courage.]
[[Tired from Splashing->Hammock]]In a rush of water, you find yourself in a very strange place. There appears to be an underwater castle...
[[Hurry Home->Hammock]]{
(if: (history:) contains "Cecilia's Backyard" and "Haunted House")[You feel like you're getting the hang of this area of the yard. There isn't much that you don't notice, and you know how to get to two cool spots from here.<p>
[[Cecilia's Backyard]]<br>
[[Haunted House]]
]
(else:)[
(if: (either: 0, 1) is 0)[You notice that the gate that leads to the front yard isn’t properly latched. You inspect it and find that it pushed open easily, although with a slight creak. You wiggle through it and step onto the forbidden land tentatively, almost expecting one of your humans to come along and pick you up, thus foiling your plans.<p>
No such thwarts, and you continue on to the front yard, keeping low. You see a terrifying house across the street, dark and boarded up with rotting shutters and a collapsing porch. A willow tree leaves strands of its leaves all over the incongruous building, which sharply contrasts every other pastel, dream house up and down the street. What do you do?<p>
(if: (history:) contains "Cecilia's Backyard")[]
(else:)[You feel like there might still be something this yard, if only you //searched// some more...<p>]
[[Cross the Street->Haunted House]]<br>
[[Save it for another Day->Hammock]]
]
(else:)[You notice that on this side of the yard, a piece of the perimeter fence has a loose board that’s swinging easily, with just enough space for a round potato like you to squeeze through. You know Cecilia’s backyard is on the other side, and you can smell pastries. What do you do?<p>
(if: (history:) contains "Haunted House")[]
(else:)[You feel like there might still be something this yard, if only you //searched// some more...<p>]
(link-goto: "Wiggle Wiggle!", "Cecilia's Backyard")<br>
[[The pastries don’t smell that good->Hammock]]
]
]
}{
(if: (history:) contains "Haunted House")[You watch carefully for cars, but you’re getting the hang of this. You trot across the road with your head held high, and no worries quivering your tail. You’re taking the bull by the horns today, and facing your fears. You’re eager to see what the Haunted House has in store for you today!<p>
[[Explore Haunted House|Foyer]]
]
(else:)[You watch timidly for cars going by, and although slow, you make sure that there’s no sign of a car for miles. No matter how far down the street, if it has wheels, you stay flat on the ground. When the coast has been clear for five minutes, you make a mad dash across the street, your little paws flying across the pavement! You run at breakneck Corgi speed, like only a loaf of bread like you can flop, and you don’t stop until you feel grass.<p>
Now that you're actually here, you look up at the foreboding house. Its roof is missing patches of shingles, the porch is warped, and there's an eerie feeling crawling down your spine. Do you dare go in?<p>
[[Explore Haunted House|Foyer]]
]
}
<br>[[I'm scared!->Hammock]]{(if: (history:) contains "Haunted Hunt")[You head over to Chuk and bark in greeting, and he politely bows. "Hello, Master $corgiName. What would you like to do?"
(if: $quest's q5 is "false")[
<p>Before you can do anything, Chuk perks up and smiles. "Say, you wouldn't happen to have any spare ectoplasm, would you? I need about 25 pieces to replenish our stock and keep the hunt going. It's the dry season, you know."
<p>(link: "Wag and Nod")[
"Excellent! Glad to have you on board, Master $corgiName. I look forward to your delivery."
(set: $quest's q5 to "started")
(if: $rawMaterial's ectoplasm >= 25)[
<p>(link: "Give 25 Ectoplasm")[You hand over 25 pieces of ectoplasm from your private stock for a good cause.<p>
"Thanks a ton, Master $corgiName!" Chuk smiles as he gathers up the ectoplasm. "Stop in for a good Haunted Hunt whenever you wish."
(set: $rawMaterial's ectoplasm to it - 25)
(set: $quest's q5 to "done")
<p>//Quest 'Ghostly Remains' Complete//
]]]
]
(if: $quest's q5 is "started")[
<p>Chuk looks at you expectantly. "So, do you have 25 pieces of ectoplasm yet?"
(if: $rawMaterial's ectoplasm >= 25)[
<p>(link: "Give 25 Ectoplasm")[You hand over 25 pieces of ectoplasm from your private stock for a good cause.<p>
"Thanks a ton, Master $corgiName!" Chuk smiles as he gathers up the ectoplasm. "Stop in for a good Haunted Hunt whenever you wish."
(set: $rawMaterial's ectoplasm to it - 25)
(set: $quest's q5 to "done")
<p>//Quest 'Ghostly Remains' Complete//
]]
]
(if: $hunt is "off")[<p>(set: $hhloot to 0)(link: "Start the Hunt")[(set: $hunt to "on")(set: $hhmode to "easy")(set: $hh to (random: 1, 4))<p>(text-colour: yellow)[The Hunt is on!]](if: $hunts >= 1)[<br>(link: "Start the Skilled Hunt")[(set: $hunt to "on")(set: $hhmode to "med")(set: $hh to (random: 1, 4))<p>(text-colour: yellow)[The Hunt is on!]]](if: $hunts >= 2)[<br>(link: "Start the Elite Hunt")[(set: $hunt to "on")(set: $hhmode to "hard")(set: $hh to (random: 1, 4))<p>(text-colour: yellow)[The Hunt is on!]]](if: $hunts > 10)[<br>(link: "Start the Treacherous Hunt")[(set: $hunt to "on")(set: $hhmode to "expert")(set: $hh to (random: 1, 4))<p>(text-colour: yellow)[The Hunt is on!]]]
]
(else-if: $hunt is "on")[<p>(link: "Stop the Hunt")[(set: $hunt to "off")(go-to: "HH Score")]
]]
(else:)[You waddle pleasantly over to the ghost. He has the same vague shape, bulging at the end, and tapering at the tail as Master Willie. He looks at your nametag and says, "Hello, $corgiName. Would you like to hear about the Haunted Hunt?"<p>
You sit down, your furry tail not having much distance to go, and nod enthusiastically. You're not sure what this is all about, but you've hunted plenty of things: that one tennis ball that's starting to come apart, a knotted rope that your humans insist is theirs, and the squirrel that taunts you from the oak tree - Okay, maybe that one hasn't been as successful as you'd like.<p>
"Excellent! My name is Chuk, and I'm the guide for the Haunted Hunt. When I declare that the Hunt is on, many of the objects around the house will have a chance to be hiding some ectoplasm. If you find it, you can keep it. You can end the hunt at any time by coming back to me, or it will end when you get scared too many times." Chuk finishes his instructions and looks at you with a friendly smile. "Let me know when you're ready, and we'll start immediately."<p>
(link: "Start the Hunt")[(set: $hunt to "on")(set: $hhmode to "easy")(set: $hh to (random: 1, 4))<p>(text-color: yellow)[The Hunt is on!]]]
<p>[[Foyer]]
}{
You start digging into the hole furiously! Work those short legs!<p>
(if: (history:) contains "Mole Kingdom")[You easily pop through the tunnel and trot into the cavernous, subterranean opening. The stalagtites are glowing brilliantly today, matching the multi-colored mushrooms that dot the lands. All of the moles are hard at work mining, and you decide you best stop dawdling and get to work. Those bones don’t earn themselves!<p>
(if: $quest's q7 is "started" and $lostmole is "false")[You notice a distressed [mole]<mole| sitting outside the dark tunnel|period>[.](click: ?mole)[(replace: ?period)[, and you begin to approach. You notice stained bandages around his middle and one of his legs as he's trying to drag himself towards the cave opening. When you get close enough, he hisses at you.<p>
"I don't have time for surface-dwellers right now," he says, panting. "I have to go find my daughter. She has a knack for wandering off. Usually it's not a big deal, but I was injured in a cave-in recently, and I'm not up for spelunking."<p>
You look into the darkened cave and wag meekly, wanting to help. He notices and stops, clearly out of breath.<p>
"Fine, I'll give you a chance. My name is Rahk. Please go tell my daughter that daddy is waiting. I'll rest here," he says, leaning against the cave wall. "Take my lantern. It's packed with some fuel, but you might find more flammable moss inside. It's sort of that tunnel's specialty. If you run out, you had better find your way back out quickly, or be lost forever."<p>
You heed his warning carefully as you take the lantern's handle in your petite maw, and solemnly nod.(set: $fuel to 15)<p>]]]
(else-if: $quest's q7 is "started" and $lostmole is "true")[You trot over to Rahk with a smaller-than-you bundle of fur clinging to your back. She scampers down and into her father's embrace, and you think you see the cantankerous old man tear up.<p>
"Thank you so much for finding my daughter and bringing her home," he says, clutching her for dear life. He turns to her and casts her a chiding look. "And have you learned your lesson, Pehbul?"<p>
The small mole nods, and they hug, all anger melting away. You look for just a moment more, and then you head on your way.(set: $mnpc3 to 1)<p>]
(else-if: $quest's q7 is "done")[You wave to Rahk and Pehbul, who are working hard together outside of the dark tunnel, apparently selling fuel for lanterns. As you pass by, Rahk mentions that you have a lifetime pass for fuel whenever you want to explore the dark tunnel.(set: $fuel to 15)<p>
(if: $broscene is "false")[It sounds like two moles are [fighting...]<fight|(click: ?fight)[<p>"No, we agreed on rubies!" Mite is yelling at his brother as you step up. Tite, looking livid as he holds up his sapphire, yells back.<p>
"No! You always do this! Just because you knew you had no chance of winning. Quit changing the rules in the middle of the game." Tite huffed.<p>
"I can't believe you would accuse me of that," Mite says, looking more hurt than angry now. "Let's look at the scroll of the game rules, then we'll know for sure."<p>
"Fine," Tite agreed bitterly. You watch as they pull out the scroll, unroll it, and scan it until their noses reach the bottom of the page. They both look up at each other, surprised and shocked, and then they both break out into uncontrollable laughter.<p>
"Emeralds?!"<br>
"We were supposed to be looking for emeralds?!"<p>
You wag as you watch those two brothers head off to the quarry, claws around each other's shoulders as they laugh at each other.(set: $broscene to "true")]
]]]
(else:)[You crawl timidly out of the tunnel and look at the wondrous new world you’ve discovered. You appear to be in a large cave with glowing rocks and giant mushrooms that tower over your little Corgi self. You waddle around, taking in all the sights, and a multitude of moles rush around you, pushing carts of ore.<p>
There’s a giant castle in the center of the cavern, surrounded by a moat. It's an intimidating structure, like a large sandcastle with turrets and a drawbridge.<p>
You watch the lines of moles, and you notice that most filter into a few different tunnels, but there's two big ones. One looks like it has lanterns strung throughout, but it goes on quite a ways. The other one is pitch dark.<p>
Off to the side of the cavern, you see a pit with a multitude of rocks piled in it. From the clinking sound, you think the moles are mining.<p>
Where should you explore?<p>]
[[Mole Castle]]<br>
[[Deep Tunnel]]<br>
[[Dark Tunnel]]<br>
[[Quarry]]<br>
[[Dig Home->Hammock]]
}{
You squeeze through the hole in the fence and pop out on the other side, ready for action. The first thing you see is a giant trampoline, and you know what you want to do! However...something else catches your eye.<p>
You see that Timmy is puttering around his backyard after a long, draining day at elementary school, dragging a stick aimlessly. You are exactly what this boy needs. You rush forward, ready to play, with your fluffy butt wiggling in the air with unfettered excitement. Your eyes follow the stick with cheetah-like agility, and you bound back and forth, waiting for the moment of destiny.<p>
(if: $fbone is 0)[
|fetchLink>[(link-repeat: "Play Fetch")[(if: $fbone is 1)[(show: ?nofetch)](else:)[(replace: ?fetch)[][<p>(print: (either: ...$fetch))]<fetch|]]]]
|nofetch)[<p>Playing fetch was fun, but you have other things to do. Squirrels to chase, songs to howl, and bushes to sniff.(replace: ?fetchLink)[]]
(else:)[(show: ?nofetch)]
<p>
[(link: "Trampoline Time!")[
(if: $havecoffee is 0)<br>
[You bounce on the trampoline for a while on your stubby legs. You feel taller than a giant! You feel lighter than a feather! You’re flying through the air! Except not really, but that was still fun.]
(else-if: $havecoffee is 1)[You bounce vigorously on the trampoline, keeping an eye for any pesky humans that might ruin your fun. As much as you love bouncing, you wish you had more energy. Some **fresh** coffee would definitely help.]
(else-if: $havecoffee is 2)[You bounce furiously with a vengeance, testing the springs of the trampoline to the limits of their ability. Your eyes are on the sky as the coffee gives you a vibrating energy, and you go higher and higher - higher than any Corgi has ever gone! You can see the roof of Timmy’s house! You can see the whole neighborhood! Where will it end??<p>
[[Jump to Infinity!(^^And beyond!^^)->Cloud Kingdom]] ]
<p>[[It’s probably dinnertime…->Hammock]]
]
]
<br>[[Back to Yard|main]]
}{
(if: (history:) contains "Cloud Kingdom")[You land gracefully on the dense clouds and start to wander around with a wide canine smile on your face. Your tongue lolls out happily while you explore the fluffy terrain, and you’re eager to get to having fun.<p>
(if: $quest's q1 is "done")[(link-goto: "Races", "Pegasi Races")<br>]
(if: (history:) contains "Cloud Cottage")[(link-goto: "Cloud Cottage")<br>]
(else:)[(link-goto: "Check behind the Cloud Hedges", "Cloud Cottage")<br>]
(if: (history:) contains "Cloud Town")[(link-goto: "Cloud Town")<br>]
(else:)[(link-goto: "Follow the Cloud River", "Cloud Town")<br>]
(if: (history:) contains "Cloud Orchard")[(link-goto: "Cloud Orchard")<br>]
(else:)[(link-goto: "Check out the Grove", "Cloud Orchard")<br>]
(if: (history:) contains "Cloud Mayor")[(link-goto: "Float Down", "Float Down sd")]]
(else:)[You land on a cloud, surprised to find that it’s dense enough to stand on! You test each step with one of your tiny paws, and once you’re convinced you won’t fall through, you begin trotting around and taking in the sights.<p>
You step lightly, fearing that you’ll sink through the clouds at any moment. You balance precariously on the wisps of accumulated moisture, but you’re able to walk easily. The clouds seem to stretch on forever, but walls of cloud swirl into natural obstacles that obscure your view.<p>
Trees, shrubs, rocks, and more made of cloud populate the land, but another soul has yet to be seen. There’s even a gently flowing river of stratocumulus clouds moving between the banks of the orographic clouds.<p>
(link-goto: "Check behind the Cloud Hedges", "Cloud Cottage")<br>
(link-goto: "Follow the Cloud River", "Cloud Town")<br>
(link-goto: "Check out the Grove", "Cloud Orchard")
]
}Mayor Benji explains all you'll ever need to know about Pegasi and introduces you to the racing game. You can compete for high scores and bones, but there's a daily limit based on your prestige level. Every available steed has its own attributes, and may do better with certain obstacles. Enjoy!
(display: "Race Main"){
(if: (history:) contains "Cloud Mayor")[
(if: $quest's q1 is "started")["Hello there!" Mayor Benji joyously greets you. "You have helped (put: ($cnpc1 + $cnpc2 + $cnpc3) into $cnum)(print: $cnum) out of 3 citizens.(if: $cnum is 0)["](if: $cnum is 1)[ It's a good start."](else-if: $cnum is 2)[ You're almost done!"](else-if: $cnum is 3)[ Great job! I knew you could do it. Here's a reward for you." Mayor Benji hands you some bones.
(if: $prestige > 0)[(set: $bones to it + (5*$prestige))]
(else:)[(set: $bones to it + 5)]
You now have $bones bone(if: $bones is not 1)[s]!
(set: $quest's q1 to "done")<p>
"I also award you one level of prestige upon the completion of the quest //'Lofty Mayoral Duties'//.(set: $prestige to it + 1) You now have $prestige prestige level(if: $prestige is not 1)[s]. You're more than welcome to stick around Cloud Kingdom. If you like, I have a new activity available for you. I save it for tried and true good canine citizens. Our tradition is [[Pegasi Racing|Pegasi Races]]. Feel free to give it a go!"]
<p>[[Return to Cloud Town|Cloud Town]]<br>
]
(else:)[You hang out with Mayor Benji for a bit, and he shows you beloved framed pictures of all his past Pegasi champions. All of them are exquisite equines.]
]
(else:)[You enter the office and immediately see another winged Schnauzer at a cloud desk with a soft pink hue of a sunrise. His fur is the darkest you've seen so far, but there is a small white blotch on his chest. He's peering at a clipboard with an impressive stack of papers on it, and whenever he leans on it too much, it begins to sink into his desk.<p>
"Come in, come in," he beckons to you as soon as he sees you. He pulls his clipboard back up and looks at it, scanning the pages through his silver monocle. "It appears you're early. Nevertheless, I bid you welcome to the Cloud Kingdom. I am Mayor Benji. We hope you enjoy your time with us here and everything we have to offer. If you have some spare time, I have a quest that needs to be done. If you would like to return to terra firma, we can help you gently float down whenever you wish."<p>]
(if: $quest's q1 is "false")[What will you do?<p>
[Help with the Quest]<help|
(click: ?help)[! Of course, that's what your mission in life is as a Corgi - to be as helpful as possible.<p>
"Good show," says Mayor Benji. "I would like it if you could help three of my citizens. A city is only strong when its citizens are content. Just explore Cloud Town, and I'm sure you'll find someone that needs help. Thank you again for volunteering. Come see me when you're done, or if you want to see your progress."(set: $quest's q1 to "started")<p>
[[Return to Cloud Town|Cloud Town]]<br>
]
]
[[Float Down]]
}{
(if: (history:) contains "Haunted Master")[
(if: $quest's q4 is "started")["Salutations," Master Willie stiffly greets you. "You have helped (put: ($hnpc1 + $hnpc2 + $hnpc3) into $hnum)(print: $hnum) out of 3 residents.(if: $hnum is 0)["](if: $hnum is 1)[ It's an admirable start."](else-if: $hnum is 2)[ There's only one resident remaining who needs help."](else-if: $hnum is 3)[ Splendid! I knew you had it in you, sport. Here's some recompense for you." Master Willie hands you some bones.
(if: $prestige > 0)[(set: $bones to it + (5*$prestige))]
(else:)[(set: $bones to it + 5)]
You now have $bones bone(if: $bones is not 1)[s]!
(set: $quest's q4 to "done")<p>
"I also award you one level of prestige upon the completion of the quest //'Spectral Masterly Duties'//.(set: $prestige to it + 1) You now have $prestige prestige level(if: $prestige is not 1)[s]. You're more than welcome to stick around the Haunted House. If you like, I have a new activity available for you. I save it for tried and true good canine citizens. Our tradition is [[the Haunted Hunt|Haunted Hunt]]. Feel free to give it a try."]
<p>[[Return to Foyer|Foyer]]<br>
]
(else:)[You hang out with Master Willie for a bit, but he seems preoccupied with dusty old books. He shows you a couple, citing his favorite passages, but you have a feeling he does this with whoever will listen.<p>
[[Return to Library|Library]]<br>]
]
(else:)[Upon interacting with the quill, the feathered pen shivers and drops on the desk. You back up, startled, as something translucent white coalesces into a vague shape behind the desk. You're surprised to see a face form with a sour expression. A stubby hand reaches into itself, as if searching for something. It pulls out a monocle and places it over the left eye(click: "left eye")[, as it doesn't have the other], and then squints at you through it.<p>
"So, you're the interloper that has traversed our hallowed halls. What have you come to think of our home?" the ghost asked, and you smile your goofy canine smile and wag broadly. "I'm glad to hear it. You may use my denomination, Master Willie, when addressing me. And what, pray tell, is your given name?"<p>
You proudly puff out your chest, and the dim light of the desk's lantern catches the twinkle of your nametag adorning your collar. Master Willie leans in and reads it.<p>
"Ah, $corgiName. Pleased to make your acquaintance. I know this may seem rather forward, but if you're brave enough to come this far, I hope you won't think less of me for making this request. The Haunted House doesn't seem as lively as it used to, and I fear something may be troubling my residents. Would you care to travel the house and help whoever you could find?"]
(if: $quest's q4 is "false")[What will you do?<p>
[Help with the Quest]<help|
(click: ?help)[! Of course, that's what your mission in life is as a Corgi - to be as helpful as possible.<p>
"Right then," says Master Willie. "You have my eternal thanks. I would like it if you could help three of my residents. A house is only a home when its residents are content. Just explore the house, and I'm sure you'll find someone that needs help. Thank you again for volunteering. Come see me when you're done, or if you want to see your progress."(set: $quest's q4 to "started")<p>
[[Return to Library|Library]]<br>
]
]
[[Head Home|Hammock]]
}{
(if: (history:) contains "Mole Chief")[
(if: $quest's q7 is "started")["May your claws stay sharp," Chief Durt greets you, knocking a clawed fist to his heart. "You have helped (put: ($mnpc1 + $mnpc2 + $mnpc3) into $mnum)(print: $mnum) out of 3 residents.(if: $mnum is 0)["](if: $mnum is 1)[ It's a worthy start."](else-if: $mnum is 2)[ There's only one warrior remaining who needs help."](else-if: $mnum is 3)[ Good! I knew you had it in you, pup. Here's some treasure for you." Chief Durt hands you some bones.
(if: $prestige > 0)[(set: $bones to it + (5*$prestige))]
(else:)[(set: $bones to it + 5)]
You now have $bones bone(if: $bones is not 1)[s]!
(set: $quest's q7 to "done")(set: $broscene to "false")<p>
"I also award you one level of prestige upon the completion of the quest //'Subterranean Chiefly Duties'//.(set: $prestige to it + 1) You now have $prestige prestige level(if: $prestige is not 1)[s]. You're more than welcome to stick around the Mole Kingdom. Later on, I'll let you access the moat, an important part of our defense. Thank you again for your help."]
<p>[[Leave Castle|Mole Kingdom]]<br>
]
(else:)[You see that Chief Durt is still relaxing in his throne, but he still harbors a tortured look of past battles and tough decisions. A miner's life is not an easy one, and the responsibilities are heavy.<p>
[[Moat]]<br>
[[Leave Castle|Mole Kingdom]]
]
]
(else:)[You approach the throne, and the guards stiffen at the sides of the mole seated upon it. They have spears with sharpened tips, most likely mined from this very kingdom. Modest strings of small, finely cut jewels hang from the tip on leather cords.<p>
The mole on the throne leans forward, finally interested in your presence. You can see that there's war paint brushing each cheek, and it's glowing slightly in the dim light. His guards sport a similar brand of sigil across their rodentine faces.<p>
"Why have you come before me, Chief Durt, today?" the Mole Chief asked in a booming voice. You fight the urge to cower, as your curiosity overwhelms your other senses.<p>
One of the guards leans in and whispers to the Chief, but you only overhear a few words, "prophesized one" being among them. The Chief seems to think for a moment, and then addresses you with claws clasped under his chin.<p>
"Perhaps you can help with a quest, if you think a surface-dweller like you is up for it."<p>]
(if: $quest's q7 is "false")[What will you do?<p>
[Help with the Quest]<help|
(click: ?help)[! Of course, that's what your mission in life is as a Corgi - to be as helpful as possible.<p>
"Very well," says Chief Durt. "We will see the quality of which you are made. I would like it if you could help three of my miners. A kingdom is only a fortress when its warriors are fulfilled. Just explore the kingdom, and I'm sure you'll find someone that needs help. Come see me when you're done, or if you want to see your progress."(set: $quest's q7 to "started")<p>
[[Leave Castle|Mole Kingdom]]<br>
]
]
[[Dig Home|Hammock]]
}{
You fall asleep in the hammock with a full tummy after an eventful day.
(set: $days to it + 1)
(set: $fbone to 0)
(set: $dailygeo to "false")
(set: $dailymath to "false")
(set: $dailyhistory to "false")
(set: $dailycrossword to "false")
(set: $dailygarden to 0)
(set: $dailylock to 0)
(set: $dailyfruit to 0)
(set: $golden to (random: 1, 25))
(if: ($weeding + $watering + $fertilizing) >= 10)[(set: $garden to "pretty")]
(if: ($weeding + $watering + $fertilizing) >= 25 and < 50)[(set: $garden to "beautiful")]
(if: ($weeding + $watering + $fertilizing) >= 50 and < 90)[(set: $garden to "gorgeous")]
(if: ($weeding + $watering + $fertilizing) >= 90)[(set: $garden to "exquisite")]
(if: $havecoffee is 2)[(set: $havecoffee to 1) The coffee you drank seems to have worn off, and you definitely feel mellow.<p>]
(set: $merch to (random: 1, 50))
(if: $merch is 43)[
(set: $buy1 to (either: "ectoplasm", "starfruit"))
(set: $buy2 to (either: "ruby", "sapphire", "emerald", "garnet"))
(set: $buy3 to (either: "peridot", "turquoise", "platinum", "diamond"))
]
<p>
(display: "main")
}(if: (history:) contains "Elf Kingdom")[You look around at the Elves hard at work, wondering what adventures you'll have today.]
(else:)[This is your first time inside a tree, and you find it's much bigger on the inside!]
[[Whew, what a day!->Hammock]]{
(set: $race to "Feather Cup")
(set: $meters to 0)
(set: $coursebonus to (dm: "agi", 0, "str", 0, "spd", 0, "end", 0))
(set: $counter to 30)
All of the competing Pegasi are lined up at the gate. You can feel (print: $steed's name) shivering beneath you in anticipation. His (print: $steed's coat) coat is glistening as he paws (print: $steed's trait) at the ground. He tosses his (print: $steed's mane) mane and flutters his (print: $steed's wings) wings, standing stoically with his (print: $steed's body) frame squared for the challenges ahead. Click Start when ready.<br><br>
(click: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "Race Main")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><br>
And they're off! Your Pegasus is running strong over the clouds, and you see your first obstacle in the distance.<br>
(live: 4s)[Your upcoming obstacle is a (set: $obstacle to (either: ...$featherobs))(print: $obstacle)! What will you do?
(if: $obstacle is "Left Turn")[(set: $coursebonus's agi to it + 1)]
(if: $obstacle is "Hedge")[(set: $coursebonus's str to it + 1)]
(if: $obstacle is "Right Turn")[(set: $coursebonus's agi to it + 1)]
<br><br>
|leanleft)[(if: $obstacle is "Left Turn")[(color: green)[You lean into the turn, helping your Pegasus maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Right Turn")[(color: red)[You lean the wrong way, upsetting the balance and causing your Pegasus to falter. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|smalljump)[(if: $obstacle is "Hedge")[(color: green)[You wait until just the right moment, then urge your Pegasus to jump. You gain 15 meters.(set: $meters to it + 15)]
]
(else:)[(color: red)[You urge your Pegasus to jump, and it stumbles in confusion, losing valuable time. Your Pegasus moves ahead 5 meters.(set: $meters to it + 5)]
]
]
|leanright)[(if: $obstacle is "Right Turn")[(color: green)[You lean into the turn, helping your Pegasus maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Left Turn")[(color: red)[You lean the wrong way, upsetting the balance and causing your Pegasus to falter. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
]
]
|==
(link-repeat: "Lean Left")[(show: ?leanleft)]
=|=
(link-repeat: "Small Jump")[(show: ?smalljump)]
==|
(link-repeat: "Lean Right")[(show: ?leanright)]
}{
(if: $meters > 0)[
(set: $dailyrace to it + 1)
(if: $steed's bonus1 is "agi")[(set: $scorebonus to $coursebonus's agi * 2)]
(if: $steed's bonus1 is "str")[(set: $scorebonus to $coursebonus's str * 2)]
(if: $steed's bonus1 is "spd")[(set: $scorebonus to $coursebonus's spd * 2)]
(if: $steed's bonus1 is "end")[(set: $scorebonus to $coursebonus's end * 2)]
(if: $steed's bonus2 is "agi")[(set: $scorebonus2 to $coursebonus's agi * 2)]
(if: $steed's bonus2 is "str")[(set: $scorebonus2 to $coursebonus's str * 2)]
(if: $steed's bonus2 is "spd")[(set: $scorebonus2 to $coursebonus's spd * 2)]
(if: $steed's bonus2 is "end")[(set: $scorebonus2 to $coursebonus's end * 2)]
(if: $scorebonus or $scorebonus2 > 0)[
(set: $score to ($meters * ($scorebonus + $scorebonus2)))]
(else:)[(set: $score to ($meters * 2))]
(if: $race is "Feather Cup")[
(if: $score <= 210)[Good effort. You earned 1 bone. (set: $bones to it + 1)]
(else-if: $score < 1000 and > 210)[Well done! You earned 2 bones. (set: $bones to it + 2)]
(else-if: $score < 1470 and >= 1000)[Congratulations! That's a high score! You earned 3 bones.
(set: $bones to it + 3)
(set: $feathercup to it + 1)]
(else-if: $score >= 1470)[Perfect! I've never seen any Pegasus fly better! You earned a massive 5 bones! (set: $bones to it + 5)(set: $feathercup to it + 1)]
]
(else-if: $race is "Bridle Cup")[
(if: $score <= 430)[Good effort. You earned 3 bones. (set: $bones to it + 3)]
(else-if: $score < 2000 and > 430)[Well done! You earned 4 bones. (set: $bones to it + 4)]
(else-if: $score < 2940 and >= 2000)[Congratulations! That's a high score! You earned 5 bones.
(set: $bones to it + 5)
(set: $bridlecup to it + 1)]
(else-if: $score >= 2940)[Perfect! I've never seen any Pegasus fly better! You earned a massive 10 bones! (set: $bones to it + 10)(set: $bridlecup to it + 1)]
]
(else-if: $race is "Cyclone Cup")[
(if: $score <= 5000)[Good effort. You earned 4 bones. (set: $bones to it + 4)]
(else-if: $score < 8500 and > 5000)[Well done! You earned 5 bones. (set: $bones to it + 5)]
(else-if: $score < 10000 and >= 8500)[Congratulations! That's a high score! I think you've almost reached //legendary// status. You earned 6 bones.
(set: $bones to it + 6)
(set: $cyclonecup to it + 1)]
(else-if: $score >= 10000)[Perfect! I've never seen any Pegasus fly better! //Achievement Unlocked// You earned a massive 15 bones! (set: $bones to it + 15)(set: $cyclonecup to it + 1)(set: $achievement's a5 to "true")]
]
You achieved $score points on your last race.<p>]
<center>You have $bones bones.</center><p>
Welcome to the Pegasi Races! You'll be the jockey to your very own Pegasus and compete in a race among the clouds. There are some obstacles to overcome, and the choices you make during the race determines how far you get. The races come in three cups, increasing in difficulty: Feather Cup, Bridle Cup, and Cyclone Cup. Like all jockeys, you have to start at the bottom and work your way up.<p>
[[Select your Steed|Pegasi Stables]].
(if: $steed is not 0)[
(if: $dailyrace < 3)[<p>
Which cup will you challenge?<p>
[[Feather Cup]]<br>
(if: $feathercup >= 1)[(link-goto: "Bridle Cup")<br>]
(if: $bridlecup >= 1)[(link-goto: "Cyclone Cup")]
]
(else:)[All of the Pegasi need a rest. Why don't you come back tomorrow for more racing?]
]
<br>Detailed Instructions:
(click: "Detailed Instructions:")[<p>During the race, there are various obstacles that you have to deal with in a set amount of time, which varies on the Cup. The obstacles and how best to deal with them are as follows:<p>
Left Turn --> Lean Left<br>
Hedge Jump --> Small Jump<br>
Right Turn --> Lean Right<p>
Sharp Decline --> Slow Down<br>
Cloud Wall --> Large Jump<br>
Storm Pond --> Speed Up<p>
Lightning --> Sprint Left<br>
Abyssal Gap --> Flare Wings<br>
Wind Funnel --> Sprint Right<p>
]
<br>[[Back to Town|Cloud Town]]
}Get to know the different steeds available. Each has something unique to offer. Just click on their name to choose.
{
(set: $meters to 0)
<br>
[(print: $steed1's name)]<1st|
(click: ?1st)[(set: $steed to $steed1) is now your racing steed.]
<br>
[(print: $steed2's name)]<2nd|
(click: ?2nd)[(set: $steed to $steed2) is now your racing steed.]
<br>
[(print: $steed3's name)]<3rd|
(click: ?3rd)[(set: $steed to $steed3) is now your racing steed.]
<br>
[(print: $steed4's name)]<4th|
(click: ?4th)[(set: $steed to $steed4) is now your racing steed.]
<br>
[(print: $steed5's name)]<5th|
(click: ?5th)[(set: $steed to $steed5) is now your racing steed.]
<br>
[(print: $steed6's name)]<6th|
(click: ?6th)[(set: $steed to $steed6) is now your racing steed.]
<br>
}
[[Return|Race Main]]{
(set: $race to "Bridle Cup")
(set: $meters to 0)
(set: $coursebonus to (dm: "agi", 0, "str", 0, "spd", 0, "end", 0))
(set: $counter to 60)
All of the competing Pegasi are lined up at the gate. You can feel (print: $steed's name) shivering beneath you in anticipation. His (print: $steed's coat) coat is glistening as he paws (print: $steed's trait) at the ground. He tosses his (print: $steed's mane) mane and flutters his (print: $steed's wings) wings, standing stoically with his (print: $steed's body) frame squared for the challenges ahead. Click Start when ready.<br><br>
(click: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "Race Main")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><br>
And they're off! Your Pegasus is running strong over the clouds, and you see your first obstacle in the distance.<br>
(live: 4s)[Your upcoming obstacle is a (set: $obstacle to (either: ...$bridleobs))(print: $obstacle)! What will you do?
(if: $obstacle is "Left Turn")[(set: $coursebonus's agi to it + 1)]
(if: $obstacle is "Hedge")[(set: $coursebonus's str to it + 1)]
(if: $obstacle is "Right Turn")[(set: $coursebonus's agi to it + 1)]
(if: $obstacle is "Sharp Decline")[(set: $coursebonus's spd to it + 1)]
(if: $obstacle is "Cloud Wall")[(set: $coursebonus's str to it + 1)]
(if: $obstacle is "Storm Pond")[(set: $coursebonus's spd to it + 1)]
<br><br>
|leanleft)[(if: $obstacle is "Left Turn")[(color: green)[You lean into the turn, helping your Pegasus maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Right Turn")[(color: red)[You lean the wrong way, upsetting the balance and causing your Pegasus to falter. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|smalljump)[(if: $obstacle is "Hedge")[(color: green)[You wait until just the right moment, then urge your Pegasus to jump. You gain 15 meters.(set: $meters to it + 15)]
]
(else:)[(color: red)[You urge your Pegasus to jump, and it stumbles in confusion, losing valuable time. Your Pegasus moves ahead 5 meters.(set: $meters to it + 5)]
]
]
|leanright)[(if: $obstacle is "Right Turn")[(color: green)[You lean into the turn, helping your Pegasus maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Left Turn")[(color: red)[You lean the wrong way, upsetting the balance and causing your Pegasus to falter. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|slowdown)[(if: $obstacle is "Sharp Decline")[(color: green)[You slow down just enough, helping your Pegasus maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Cloud Wall")[(color: red)[You instruct your Pegasus to slow down, and don't have enough speed to make it over the wall. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|largejump)[(if: $obstacle is "Cloud Wall")[(color: green)[You lean slightly forward as your Pegasus soars, helping it maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Sharp Decline")[(color: red)[You jump as the ground slopes sharply, upsetting the balance and causing your Pegasus to falter. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|speedup)[(if: $obstacle is "Storm Pond")[(color: green)[You speed up to dodge some lightning strikes, quickly coming out the other side of the pond. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Sharp Decline")[(color: red)[You go too quickly down the slope, causing your Pegasus to stumble badly. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
]
]
|==
(link-repeat: "Lean Left")[(show: ?leanleft)]<br><br>
(link-repeat: "Slow Down")[(show: ?slowdown)]
=|=
(link-repeat: "Small Jump")[(show: ?smalljump)]<br><br>
(link-repeat: "Large Jump")[(show: ?largejump)]
==|
(link-repeat: "Lean Right")[(show: ?leanright)]<br><br>
(link-repeat: "Speed Up")[(show: ?speedup)]
}{
(set: $race to "Cyclone Cup")
(set: $meters to 0)
(set: $coursebonus to (dm: "agi", 0, "str", 0, "spd", 0, "end", 0))
(set: $counter to 90)
All of the competing Pegasi are lined up at the gate. You can feel (print: $steed's name) shivering beneath you in anticipation. His (print: $steed's coat) coat is glistening as he paws (print: $steed's trait) at the ground. He tosses his (print: $steed's mane) mane and flutters his (print: $steed's wings) wings, standing stoically with his (print: $steed's body) frame squared for the challenges ahead. Click Start when ready.<br><br>
(click: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "Race Main")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><br>
And they're off! Your Pegasus is running strong over the clouds, and you see your first obstacle in the distance.<br>
(live: 4s)[Your upcoming obstacle is a (set: $obstacle to (either: ...$cycloneobs))(print: $obstacle)! What will you do?
(if: $obstacle is "Left Turn")[(set: $coursebonus's agi to it + 1)]
(if: $obstacle is "Hedge")[(set: $coursebonus's str to it + 1)]
(if: $obstacle is "Right Turn")[(set: $coursebonus's agi to it + 1)]
(if: $obstacle is "Sharp Decline")[(set: $coursebonus's spd to it + 1)]
(if: $obstacle is "Cloud Wall")[(set: $coursebonus's str to it + 1)]
(if: $obstacle is "Storm Pond")[(set: $coursebonus's spd to it + 1)]
(if: $obstacle is "Lightning")[(set: $coursebonus's end to it + 1)]
(if: $obstacle is "Abyssal Gap")[(set: $coursebonus's str to it + 1)]
(if: $obstacle is "Wind Funnel")[(set: $coursebonus's end to it + 1)]
<br><br>
|leanleft)[(if: $obstacle is "Left Turn")[(color: green)[You lean into the turn, helping your Pegasus maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Right Turn")[(color: red)[You lean the wrong way, upsetting the balance and causing your Pegasus to falter. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|smalljump)[(if: $obstacle is "Hedge")[(color: green)[You wait until just the right moment, then urge your Pegasus to jump. You gain 15 meters.(set: $meters to it + 15)]
]
(else:)[(color: red)[You urge your Pegasus to jump, and it stumbles in confusion, losing valuable time. Your Pegasus moves ahead 5 meters.(set: $meters to it + 5)]
]
]
|leanright)[(if: $obstacle is "Right Turn")[(color: green)[You lean into the turn, helping your Pegasus maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Left Turn")[(color: red)[You lean the wrong way, upsetting the balance and causing your Pegasus to falter. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|slowdown)[(if: $obstacle is "Sharp Decline")[(color: green)[You slow down just enough, helping your Pegasus maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Cloud Wall")[(color: red)[You instruct your Pegasus to slow down, and don't have enough speed to make it over the wall. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|largejump)[(if: $obstacle is "Cloud Wall")[(color: green)[You lean slightly foward as your Pegasus soars, helping it maintain balance. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Sharp Decline")[(color: red)[You jump as the ground slopes sharply, upsetting the balance and causing your Pegasus to falter. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|speedup)[(if: $obstacle is "Storm Pond")[(color: green)[You speed up to dodge some heavy rain, quickly coming out the other side of the pond. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Sharp Decline")[(color: red)[You go too quickly down the slope, causing your Pegasus to stumble badly. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|sprintleft)[(if: $obstacle is "Lightning")[(color: green)[You sprint to the left and dodge some lightning strikes, feeling the static. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Wind Funnel")[(color: red)[You sprint to the left, getting caught in a wind funnel. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|flarewings)[(if: $obstacle is "Abyssal Gap")[(color: green)[You launch into the air and your Pegasus flares its wings, gliding safely to the other side of the gap. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Wind Funnel")[(color: red)[Flaring your wings caused you to lose control in a wind funnel. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
|sprintright)[(if: $obstacle is "Wind Funnel")[(color: green)[You sprint to the right, closely dodging the wind funnel. You gain 15 meters.(set: $meters to it + 15)]
]
(else-if: $obstacle is "Lightning")[(color: red)[You sprint to the right, getting temporarily blinded by a nearby lightning strike. You only gain 5 meters.(set: $meters to it + 5)]
]
(else:)[(color: yellow)[You're not sure what your action just did for you, but you managed to gain some distance. Your Pegasus moves ahead 10 meters.(set: $meters to it + 10)]
]
]
]
]
|==
(link-repeat: "Lean Left")[(show: ?leanleft)]<br><br>
(link-repeat: "Slow Down")[(show: ?slowdown)]<br><br>
(link-repeat: "Sprint Left")[(show: ?sprintleft)]
=|=
(link-repeat: "Small Jump")[(show: ?smalljump)]<br><br>
(link-repeat: "Large Jump")[(show: ?largejump)]<br><br>
(link-repeat: "Flare Wings")[(show: ?flarewings)]
==|
(link-repeat: "Lean Right")[(show: ?leanright)]<br><br>
(link-repeat: "Speed Up")[(show: ?speedup)]<br><br>
(link-repeat: "Sprint Right")[(show: ?sprintright)]
}{
[(put: (prompt: "Evaluate [5 - (2 - 4(6 - 7) + 5)] + 7", "Answer") into $Q)]
(if: $Q is "1")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
(set: $mine to "upper")
(set: $miningscore to 0)
(set: $counter to 30)
Start
(click-replace: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "mining end")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><p>
(link-repeat: "Next Question")[<p>(display: (either: "Q1", "Q2", "Q3", "Q4", "Q5", "Q6", "Q7", "Q8", "Q9", "Q10", "Q11", "Q12", "Q13", "Q14", "Q15", "Q16", "Q17", "Q18", "Q19", "Q20"))]
]
}{(if: $mine is "lower")[
Kayve looks over your work. "Your score is $miningscore.(if: $miningscore < 5)["](else-if: $miningscore >= 5 and < 10)[ Not bad. You've unearthed a(set: $loot to (either: "ruby", "sapphire")) $loot."](else-if: $miningscore >= 10 and < 15)[ Admirable work. You've unearthed a(set: $loot to (either: "ruby", "sapphire", "emerald")) $loot."](else-if: $miningscore >= 15)[ Fantastic work! You've unearthed a (set: $loot to (either: "ruby", "sapphire", "emerald", "garnet")) $loot."](if: $loot is "ruby")[(set: $rawMaterial's ruby to it + 1)](else-if: $loot is "sapphire")[(set: $rawMaterial's sapphire to it + 1)](else-if: $loot is "emerald")[(set: $rawMaterial's emerald to it + 1)](else-if: $loot is "garnet")[(set: $rawMaterial's garnet to it + 1)]<p>
]
(else-if: $mine is "upper")[Kayve looks over your work. "Your score is $miningscore.(if: $miningscore < 5)["](else-if: $miningscore >= 5 and < 10)[ Not bad. You've unearthed a(set: $loot to (either: "turquoise", "peridot")) $loot."](else-if: $miningscore >= 10 and < 15)[ Admirable work. You've unearthed a(set: $loot to (either: "turquoise", "peridot", "platinum")) $loot."](else-if: $miningscore >= 15)[ Fantastic work! You've unearthed a (set: $loot to (either: "turquoise", "peridot", "platinum", "diamond")) $loot."](if: $loot is "turquoise")[(set: $rawMaterial's turquoise to it + 1)](else-if: $loot is "peridot")[(set: $rawMaterial's peridot to it + 1)](else-if: $loot is "platinum")[(set: $rawMaterial's platinum to it + 1)](else-if: $loot is "diamond")[(set: $rawMaterial's diamond to it + 1)]
]
[[Quarry]]
}{
[(put: (prompt: "Evaluate [7 - (4 - 7(4 - 2) + 6)] + 4", "Answer") into $Q)]
(if: $Q is "15")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Simplify 6(6x - (5 - 2y + 5x) + 4y)", "Answer") into $Q)]
(if: $Q is "6x + 36y - 30")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Simplify 3(4x - (4 - 2y + 6x) + 2y)", "Answer") into $Q)]
(if: $Q is "-6x + 12y - 12")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
(if: (current-date:) is "Sun Dec 03 2017")[Today is the correct day.]
(else:)[It's not the right day yet.]
<p>
(if: (current-time:) is "6:00 AM"
or "6:01 AM"
or "6:02 AM"
or "6:03 AM"
or "6:04 AM"
or "6:05 AM"
or "6:06 AM"
or "6:07 AM"
or "6:08 AM"
or "6:09 AM"
or "6:10 AM"
or "6:11 AM"
or "6:12 AM"
or "6:13 AM"
or "6:14 AM"
or "6:15 AM")[It's the right hour.]
(else:)[It's not the right hour yet.]
}{
This is a gardening shed in a corner of the yard. There’s a few tools to help keep the $garden garden in shape(if: $trowel is "false")[, including something metallic discarded against the wall...a [bent trowel]<trowel|!(click: ?trowel)[ You pick it up, knowing it will be useful later.(set: $trowel to "true")]](else:)[.]<p>
(if: $bones is 0)[This would be a nice place to store some spare bones, if you had any.]
(else-if: $bones is 1)[You’ve gotten your first bone and placed it proudly in the center of the floor. Your empire has begun.]
(else-if: $bones > 1 and < 5)[You’ve made a small pile of bones for yourself, something to tend to at night and take the edge off. Everyone starts somewhere. You have $bones bones.]
(else-if: $bones > 5 and < 20)[Your bone collection is really beginning to pile up! You have $bones bones.]
(else-if: $bones > 20 and < 50)[You’re well on your way to having a good bone stockpile. This might last through the winter. You have $bones bones.]
(else-if: $bones > 50 and < 100)[There’s not really much to worry about in the way of bones now, because your pile is starting to cover most of the floor. You hope your humans didn’t really need this shed, though, because more bones is always nice. You have $bones bones.]
(else-if: $bones > 100 and < 500)[There’s no hope for reaching any of the gardening tools now, so you hope you already had everything you’d need. This is definitely a bone storage shed now, and your pile is rising to the windows. You have $bones bones.]
(else-if: $bones > 500 and < 1000)[The shed is bulging at the hinges trying to hold your bone collection inside, and you’re wary about every single bone you add now. You fear opening the door, and only due to your Corgi resilience and swiftness have you managed so far. You have $bones bones.]
(else-if: $bones > 1000 and < 100000)[You've now amassed more than a thousand bones, and the neighbors are beginning to talk. Still, your ambition shows no end in sight, and you know you can find room for more. You have $bones bones.]
(else-if: $bones > 100000 and < 1000000)[You're positive that there's no dog on the block with the amount of bones you have. Still, why stop now? You have $bones bones.]
(else-if: $bones > 1000000)[Your stockpile of bones could span the entire neighborhood, and you have become a legend among dogs to be passed down for millenia. Every bone is starting to mean less though, and you think your bone empire has peaked. You have the confidence and pride in knowing that you'll never be usurped. You have $bones bones.]
|=
(if: (datavalues: $quest) contains "started")[<p>
####Quests Started<h4>
]
(if: $quest's q1 is "started")[<br>"Lofty Mayoral Duties" - The Mayor of Cloud Town has asked that you help three citizens.]
(if: $quest's q2 is "started")[<br>"Fruit of the Stars" - You've been asked to brave the Cloud Wildnerness for the Golden Starfruit.]
(if: $quest's q3 is "started")[<br>"Silver Lining" - You have yet to best the Geology Quiz.]
(if: $quest's q4 is "started")[<br>"Spectral Masterly Duties" - The Master of the Haunted House has asked that you help three residents.]
(if: $quest's q5 is "started")[<br>"Ghostly Remains" - You've been asked by Chuk to gather ectoplasm.]
(if: $quest's q6 is "started")[<br>"Stories from the Past" - You have yet to best the History Quiz.]
(if: $quest's q7 is "started")[<br>"Subterranean Chiefly Duties" - The Chief of the Mole Tribe has asked that you help three warriors.]
(if: $quest's q8 is "started")[<br>"Hungry, Hungrier, Hungriest Hippo" - You've been asked to gather some food that Big Bertha will finally eat.]
(if: $quest's q9 is "started")[<br>"The Mole that Could" - You have yet to best the Math Quiz.]
=|
(if: (datavalues: $quest) contains "done")[<p>
####Quests Completed<h4>
]
(if: $quest's q1 is "done")[<br>"Lofty Mayoral Duties"]
(if: $quest's q2 is "done")[<br>"Fruit of the Stars"]
(if: $quest's q3 is "done")[<br>"Silver Lining"]
(if: $quest's q4 is "done")[<br>"Spectral Masterly Duties"]
(if: $quest's q5 is "done")[<br>"Ghostly Remains"]
(if: $quest's q6 is "done")[<br>"Stories from the Past"]
(if: $quest's q7 is "done")[<br>"Subterranean Chiefly Duties"]
(if: $quest's q8 is "done")[<br>"Hungry, Hungrier, Hungriest Hippo"]
(if: $quest's q9 is "done")[<br>"The Mole that Could"]
|=|
(if: (datavalues: $achievement) contains "true")[<p>
####Achievements Unlocked<h4>
]
(if: $achievement's a1 is "true")[<br>"Green Thumb" - Raised the garden to //Exquisite// status.]
(if: $achievement's a2 is "true")[<br>"Bookworm" - Found a hidden room in the library.]
(if: $achievement's a3 is "true")[<br>"Cloud Companion" - Maxed Sherry's friendship.]
(if: $achievement's a4 is "true")[<br>"Tea Party Enthusiast" - Maxed Cecilia's friendship.]
(if: $achievement's a5 is "true")[<br>"Pegasi Jockey" - Earned a top score in Cyclone Cup.]
(if: $achievement's a6 is "true")[<br>"Wordsmith" - Completed the entire Crossword Puzzle.]
(if: $achievement's a7 is "true")[<br>"Thief-in-Training" - Completed a Lock Picking Puzzle.]
(if: $achievement's a8 is "true")[<br>"Thief Apprentice" - Completed 10 Lock Picking Puzzles.]
(if: $achievement's a9 is "true")[<br>"Thief Elite" - Completed 25 Lock Picking Puzzles.]
(if: $achievement's a10 is "true")[<br>"Lore Chaser" - Uncovered the family portrait in the attic.]
(if: $achievement's a11 is "true")[<br>"Lore Master" - Unlocked a secret using a Skeleton Key.]
(if: $achievement's a12 is "true")[<br>"Huntsmaster" - Gathered 10 Ectoplasm during the Treacherous Hunt.]
<p>[[Leave the Shed|main]]
}{
(set: $geoquiznum to 0)
(set: $geoscore to 0)
(if: (history:) contains "Cloud Cottage")[You try to knock again, but the same thing happens to the door with it disintegrating at your touch, only to reform once you are inside. Bellamina greets you warmly.<p>
"Well, hello there!" You visit with her for a while, but she gets that faroff look in her eye, and you know what she's thinking about.<p>]
(else:)[You amble behind the cloud hedges, some which are shaped into whimsical animals or objects, and you are pleasantly surprised to find a squat, cozy cottage behind it. You shimmy up to the porch and knock on the door with a swiping paw, which dispels the wisps of the cloud door, and gives you a clear view inside.<p>
A silvery-winged Schnauzer is sitting at a low table inside, poised over a book. She looks at you and waves you in.<p>
"Why, hello there! I'm Bellamina. I don't get visitors often, but you're more than welcome," she calls, and you waddle into the cottage. You gaze around at all the amenities, mostly cloud-based, and marvel at the wonderful little home. One thing that catches your attention, however, is a strange assortment of rock-shaped cloud wisps hovering over shelves and tables.<p>
"Oh, those." She waves a paw at the rocks, following your gaze. "I lived my entire life here, and I don't get to travel to the surface. I've read everything I can about this wondrous phenomena called 'rocks', though! I bet no one knows more about rocks than me. I love them, and hope to see one someday and feel it for myself. I stay up late at night, thinking about what they feel like: smooth, bumpy, slippery?" She gazes off into a daydream with a small smile on her furry lips. She turns to you as she comes out of it.<p>]
(if: $dailygeo is "false")[
["Would you like to take my Geology Quiz?"]<prompt|<p>
[Yes]<yes|<p>(click: ?yes)[[
["Then let's begin. I'll pose each question as a stated fact, and you select whether it's true or false. Your score will be given at the end, which is when five questions are answered. Questions are random and may be repeated. Good luck!"]<intro|<p>
[(set: $question to (either: ...$geoquiz))(print: $question)]<question|
]
|=
(hook: "true")[(link-repeat: "True")[(replace: ?answer)[] [(if: $question is $geoquiz's 1st)[(color: green)[Correct!](set: $geoscore to it +1)](else-if: $question is $geoquiz's 2nd)[(color: green)[Correct!](set: $geoscore to it + 1)](else-if: $question is $geoquiz's 3rd)[(color: green)[Correct!](set: $geoscore to it + 1)](else-if: $question is $geoquiz's 4th)[(color: red)[Wrong...]](else-if: $question is $geoquiz's 5th)[(color: red)[Wrong...]]]<answer|(set: $geoquiznum to it + 1)(if: $geoquiznum is 5)[(replace: ?question, ?false, ?true, ?yes, ?prompt, ?intro)[](show: ?score)](else:)[(replace: ?question)[(set: $question to (either: ...$geoquiz))(print: $question)]]]]
=|
(hook: "false")[(link-repeat: "False")[(replace: ?answer)[] [(if: $question is $geoquiz's 1st)[(color: red)[Wrong...]](else-if: $question is $geoquiz's 2nd)[(color: red)[Wrong...]](else-if: $question is $geoquiz's 3rd)[(color: red)[Wrong...]](else-if: $question is $geoquiz's 4th)[(color: green)[Correct!](set: $geoscore to it +1)](else-if: $question is $geoquiz's 5th)[(color: green)[Correct!](set: $geoscore to it +1)]]<answer|(set: $geoquiznum to it + 1)(if: $geoquiznum is 5)[(replace: ?question, ?false, ?true, ?yes, ?prompt, ?intro)[](show: ?score)](else:)[(replace: ?question)[(set: $question to (either: ...$geoquiz))(print: $question)]]]]]]
[(if: $quest's q3 is "done")[](else:)[(set: $quest's q3 to "started")]"Thanks for trying my quiz! Let's see...You had $geoscore correct answer(if: $geoscore is not 1)[s].(set: $dailygeo to "true")
(if: $geoscore < 5)[ Oh, gee. I think you can do better! Try again tomorrow, okay?"<p>]
(else:)[ You did great! Here, have some bones." (if: $prestige > 0)[(set: $bones to it + (2 * $prestige))](else:)[(set: $bones to it + 2)]You now have $bones bones.<p>(if: $quest's q3 is "started")[Since this is the first time you've completed my quiz with all correct answers, you just completed the quest //'Silver Lining'//!(set: $quest's q3 to "done")]]
](score|
|=|
(else:)[You've already taken my quiz today. Come back tomorrow to try again.]
[[Leave Cottage|Cloud Kingdom]]
}{
(if: (history:) contains "Cloud Town")[You arrive back in Cloud Town on a beautiful, fluffy day. The winged citizens are jovially flapping through the puffed streets. What will you do today?<p>
(if: $q1 is "done")[(link-goto: "Races", "Pegasi Races")<br>]
(if: $q2 is "done")[(link-goto: "Explore the Wilderness", "Cloud Wilderness")<br>]
(if: (history:) contains "Cloud Town Hall")[(link-goto: "Cloud Town Hall")<br>]
(else:)[(link-goto: "Enter the Strange Building", "Cloud Town Hall")<br>]
(link-goto: "Explore the Town", "Explore Cloud Town")<br>
[[Leave Town|Cloud Kingdom]]
]
(else:)[You arrive in a wondrous town that seems carved from the clouds themselves. The buildings are all shapes and sizes, and built from only the finest cumulonimbus fluff. Past a building that resembles an orb, you see an extravagant cloud fountain that is gently misting in the town square. As you waddle around on your little Corgi legs, you can see that the population is very interesting...<p>
You can see that they are canines like you, but of a very different variety! You recognize them by their salt and pepper wiry fur as Schnauzers, and each of them are sporting a pair of wings sprouting from their shoulders! Many of them are flapping lazily around as they go about their way. Some glance your way and wave politely.<p>
As you walk along, you see the biggest building, just beyond the fountain. It's in the shape of a prismatic triangle, and rainbows are refracting through it brilliantly. What do you do?<p>
(link-goto: "Enter the Strange Building", "Cloud Town Hall")<br>
(link-goto: "Explore the Town", "Explore Cloud Town")<br>
[[Leave Town|Cloud Kingdom]]
]
}{
(if: (history:) contains "Cloud Orchard")[
(if: $quest's q1 is "done")[
(if: $dailyfruit < 3)[
"Ahoy!" Lance flutters down from a tree branch with an armful of fruit. "Glad to see you again, $corgiName. Now that the orchard is fully open, we need some more help. Are you up for that?"<p>
You nod and wag, awaiting instructions with bright, hopeful eyes.<p>
"Now that's the enthusiasm I like to see," says Lance. "Why don't you head into the deeper part of the orchard and pick up any fruit you see? Remember, it has to fall naturally to the ground, otherwise it's not ripe."
(if: $quest's q2 is "false")[
<p>Lance takes on a |look>[far-off look] in his eye.
(click: ?look)[<p>You sit next to him and wag slowly, |tilt>[tilting] your head.]
(click: ?tilt)["Oh?" Lance looks at you with a wistful smile. "I was just remembering when I was a young pup and this orchard was full of saplings. I remember coming upon a newborn grove with the most exquisite fruit in it.<br>
There was only one, but it was a Starfruit with a golden sheen. I swear it could light up the night. I was waiting for it to drop, but I haven't seen it since. If it happened once, I think it could happen again.<br>
What I wouldn't give to see a //Golden Starfruit// again."
(set: $quest's q2 to "started")]
]
(set: $energy to (25 + ($prestige * 2)))
<p>[[Deep Orchard]]
<br>[[Cloud Kingdom]]
]
(else:)[Lance tips his straw hat as you approach and flashes you a kind smile.<p>
"You've helped with enough harvesting today. Come back tomorrow, when new fruit is ready."]
]
(else:)[You see that Lance and his coworkers are hard at work on the orchard. He tells you that they're not quite open yet, but he shares a conspiratorial wink with you.<p>
It's best to [[give them time|Cloud Kingdom]].
]
]
(else:)[You wander around the grove, and the cloud-wisp trees get bigger and denser. You soon realize you're deep in an orchard, but before you can fear yourself lost, you see a group of winged Schnauzers up ahead. One waves to you, and you bound over excitedly.<p>
"Hey, fella," he says gruffly, putting down a wooden bucket, which sinks slowly into the clouds before it stops comfortably embedded into the dense fluff. "The orchard isn't quite open yet, but I'm looking for willing workers once it is. We grow and harvest Star Fruit here, but we also source other ingredients and materials from the Cloud Wilderness beyond. I don't reckon it's safe for an unprepared pup like you, but come back later and I'll show you all the ropes.<p>
You must have surely looked disappointed, because the gruff Schnauzer placed a paw on your shoulder to console you.<p>
"Fella, there's no need to worry. My name is Lance, so come seek me out when the orchard is fully open. It won't be long until the static electricity dies down and everything will be settled."<p>
You keep in mind what Lance has told you as [[you wander back|Cloud Kingdom]].
]
}{
(if: (history:) contains "Cloud Town Hall")[You wag your tail when you see the receptionist, and she waves you into the Mayor's office.<p>
(display: "Cloud Mayor")
]
(else:)[You clamber up the fluffy cloud steps and manage to squeeze into the building just as a flying Schnauzer is leaving. You look around inside and see that the clouds have formed into furniture resembling an office. There's a long counter with a bright-eyed, light-hued Schnauzer recpetionist behind it, peering over an open tome. She nods at you.<p>
"You're early," she says, looking at you over the brim of her horn-rimmed glasses. You think you made it to heaven like your humans at home sometimes mention, but there wasn't much security at the pearly gates. However, you see a big plaque on the wall behind the counter that says "Town Hall". Her voice startles your thoughts. "The Mayor will see you now." You head in the direction she gestures, and enter a spacious [office]<office|.
(click: ?office)[<p>(goto: "Cloud Mayor")]
]
}{
You start making your way through the streets of Cloud Town, perusing the shops, holding doors for old lady Schnauzers with your stubby Corgi paws, sniffing Star Fruit, and having a great time.<p>
(if: $lostclouditem is "lost")[You see something sparkling on the sidewalk, almost obscured by the shadow of a cloud pillar. You walk closer.<p>
[Check it out?]<check|(click-replace: ?check)[(set: $lostclouditem to "found")You check the sparkling object, nudging it with your moist, leathery nose. Score! It's the silver bracelet! You nudge it onto your petite ankle and trot happily back to [[Sherry|CNPC1]].]
]
(if: $quest's q1 is "done")[Since you're here, you think it's about time you visit some old friends. Who do you want to visit?<p>
(link-goto: "Sherry", "CNPC1")<br>
(link-goto: "Maxwell", "CNPC2")<br>
(link-goto: "Penny", "CNPC3")<br>
]
(else-if: $quest's q1 is "started")[<p>Didn't the Mayor want you to help some citizens? Which one should you help?<p>
(if: $lostclouditem is "lost")[]
(else-if: $lostclouditem is "returned")[]
(else:)[There's a light-hued female who appears to be looking for something. [[Help her?|CNPC1]]<p>]
(if: $cnpc2 is 0)[There's a medium-hued male who looks bored. [[Help him?|CNPC2]]<p>]
(else:)[]
(if: $cnpc3 is 0)[There's a bronze-hued female going through a rack of clothes, looking disgusted. [[Help her?|CNPC3]]
]
(else:)[]
]
(link-goto: "Head back to the Entrance", "Cloud Town")
}{
(if: (history:) contains "CNPC1")[]
(else:)[You go up to the Schnauzer, who casts you a sweet smile. She flutters her white, fluffy wings and smoothes the feathers back into place.<p>
"Why, hello, dearie," she says. You eye her kindly and wag. "My name is Sherry. Perhaps you could help me with something. I seem to have lost my silver bracelet somewhere around Cloud Town. Could you find it for me?"<p>
What do you do?<p>
[Yes, of course!]<yes|
(click-replace: ?yes)[(set: $lostclouditem to "lost")"Ah, thank you, dearie! You'll probably find it somewhere around [[Cloud Town|Explore Cloud Town]].]
]
(else-if: $lostclouditem is "found")[(set: $lostclouditem to "returned")"Oh, thank you! There's my bracelet!" Sherry cries as you return and valiantly hold out your adorned ankle. You wag delightedly as Sherry's eyes light up when she slips her bracelet back on. "It's not much, but I want you to have it. I just keep these lying around anyways." Sherry rifles into her oversized purse and pulls out a few bones.
(if: $prestige > 0)[(set: $bones to it + (2 * $prestige))]
(else:)[(set: $bones to it + 1)]
You now have $bones bone(if: $bones is not 1)[s]!<p>(set: $cnpc1 to 1)
"Don't be a stranger," Sherry fondly waves as you waddle away to the next part of your adventure in [[Cloud Town|Explore Cloud Town]].
]
(else:)["Why, hello, dearie!" Sherry calls to you. You're filled with happiness at the cheer in her voice and the silver bracelet on her wrist.<p>
(hook: "sherry")+(link: "Talk to Sherry")[
(if: $friendSherry is 0)[
(show: ?done)
(link-repeat: "[(print: $S1dialogue's ($indexS1))]<S1dialogue|")[{
(set: $indexS1 to it + 1)
(if: $indexS1 > $S1dialogue's length)[(set: $indexS1 to 1)]
(replace: ?S1dialogue)[(print: $S1dialogue's ($indexS1))]
(replace: ?output)[(print: $commentsS1's ($indexS1))]
}]<p>"[(print: $commentsS1's ($indexS1))]<output|" says Sherry.
]
(else-if: $friendSherry is 1)[
(show: ?done)
(link-repeat: "[(print: $S2dialogue's ($indexS2))]<S2dialogue|")[{
(set: $indexS2 to it + 1)
(if: $indexS2 > $S2dialogue's length)[(set: $indexS2 to 1)]
(replace: ?S2dialogue)[(print: $S2dialogue's ($indexS2))]
(replace: ?output)[(print: $commentsS2's ($indexS2))]
}]<p>"[(print: $commentsS2's ($indexS2))]<output|" says Sherry.
]
(else-if: $friendSherry is 2)[
(show: ?done)
(link-repeat: "[(print: $S3dialogue's ($indexS3))]<S3dialogue|")[{
(set: $indexS3 to it + 1)
(if: $indexS3 > $S3dialogue's length)[(set: $indexS3 to 1)]
(replace: ?S3dialogue)[(print: $S3dialogue's ($indexS3))]
(replace: ?output)[(print: $commentsS3's ($indexS3))]
}]<p>"[(print: $commentsS3's ($indexS3))]<output|" says Sherry.
]
(else:)[You and Sherry reminisce about old family stories. There is laughter, joy, and sparkly things. What could be better?]
]
<br>|done)[(link-repeat: "Done Conversing")[(if: (confirm: "Is this the conversation you wish to have?") is true)[(go-to: "scoreSherry")]]
]
<p>After visiting for a little bit, you should be [[on your way|Explore Cloud Town]].
]
}{
(if: $cnpc2 is 0)[
You approach the medium-hued male and notice that his wings have a smattering of dark-grey speckles over its light-grey hue. The fur around his muzzle is a few shades lighter, giving him a look of dignity. He sees you approaching and waves you over.<p>
"Why, 'ello there, pup. You look new around these parts," he greets. You stare at him wide-eyed and joyful, and your tail swishes calmly. "My name is Maxwell, and perhaps you could help me out. I'm a bit bored, you see. I used to be a world traveler, but these wings aren't what they used to be. I need some new stories to talk about in the Silver Lining tavern, but I'm afraid I'm not very imaginative. Could you help me spin a new tale?"<p>
[Yes, because Corgis naturally love story-telling.]<yes|
(click-replace: ?yes)[You nod, and Maxwell claps his paws together. "Excellent! Come look at these cards." You scoot closer, and notice some cards he has laid out in front of them. They each seemed to hold a story element.<p>
"I'm having some trouble choosing and ordering these. Can you look and choose the best ones? I trust your judgement, and I'm sure I'll get a great story, no matter what." His glimmering eyes show devout trust in such a little Corgi as yourself. You can't let him down now.<p>
You lean closer to look at the [cards.]<cards|
(click: ?cards)[<p>You see a story skeleton laid out.<p>
//One [stormy]<e1| | [sunny]<e2| | [cloudy]<e3| | [windy]<e4| day, a [sailor]<e5| | [pirate]<e6| set out to sea. He came across a giant [shark]<e7| | [octopus]<e8| | [squid]<e9| | [eel]<e10| and faced it [bravely]<e11| | [fearfully]<e12|. His ship, the [Muddy Puppy]<e13| | [Drenched Feline]<e14| | [Damp Rat]<e15| | [Sodden Crow]<e16|, was tossed in the waves and nearly capsized. In the end, he [vanquished the beast]<e17| | [sunk like a rock]<e18|.//(click: "?e1")[(set: $story's s1 to "stormy")](click: "?e2")[(set: $story's s1 to "sunny")](click: "?e3")[(set: $story's s1 to "cloudy")](click: "?e4")[(set: $story's s1 to "windy")](click: "?e5")[(set: $story's s2 to "sailor")](click: "?e6")[(set: $story's s2 to "pirate")](click: "?e7")[(set: $story's s3 to "shark")](click: "?e8")[(set: $story's s3 to "octopus")](click: "?e9")[(set: $story's s3 to "squid")](click: "?e10")[(set: $story's s3 to "eel")](click: "?e11")[(set: $story's s4 to "bravely")](click: "?e12")[(set: $story's s4 to "fearfully")](click: "?e13")[(set: $story's s5 to "Muddy Puppy")](click: "?e14")[(set: $story's s5 to "Drenched Feline")](click: "?e15")[(set: $story's s5 to "Damp Rat")](click: "?e16")[(set: $story's s5 to "Sodden Crow")](click: "?e17")[(set: $story's s6 to "vanquished the beast")](click: "?e18")[(set: $story's s6 to "sunk like a rock")]
]
]
(live: 1s)[
(if: (datavalues: $story) contains "false")[]
(else:)[
"Excellent! I think that's a fabulous story. It's going to take me a little time to flesh it out, but please come back to hear what you made one day," Maxwell says, overlooking your work. "Here, you can have a couple of these." Maxwell opens his messenger bag and digs out a few bones.
(if: $prestige > 0)[(set: $bones to it + (1 * $prestige))]
(else:)[(set: $bones to it + 1)]
You now have $bones bone(if: $bones is not 1)[s]!
(set: $cnpc2 to 1)<p>
(stop:)
]
]
]
(else:)[Maxwell looks glad to see you, but he's also very busy putting together the story.<p>]
[[Return to Cloud Town|Explore Cloud Town]]
}{(if: $cnpc3 is 0)["This is just dreadful," you hear as you come closer. The youthful Schnauzer is still looking through the rack of clothes, muttering to herself. When she notices you, she barely glances your way. "Oh, hi. You can call me Penny."<p>
She doesn't seem unfriendly, exactly, just very preoccupied. She sorts through more clothes and pulls out a light orange vest with wing slots for her copper-colored wings and puts it on. She turns a bout in front of you, and eyes you expectantly.<p>
"Well, what do you think?" she asks.<p>
You look at her with sparkling eyes and [wag]<wag|.
(click: ?wag)[<p>"Yes, I think so as well. So, tell me, which item should I pair with this vest?"<br>
|==
[Beige Scarf](item1|
[Striped Scarf](item4|
[Lavender Scarf](item7|
=|=
[Red Licorice Belt](item2|
[Warm Orange Belt](item5|
[Studded Belt](item8|
==|
[Pink Hairpin](item3|
[Green Fedora](item6|
[Light Brown Beret](item9|
|==|
(set: $fashion to (random: 1,3))(if: $fashion is 1)[(show: ?item1, ?item2, ?item3)](else-if: $fashion is 2)[(show: ?item4, ?item5, ?item6)](else:)[(show: ?item7, ?item8, ?item9)]
[(live: 1s)[
(click-replace: ?item1)[(color: green)["Actually, that works! Thank you so much." You [[leave|Explore Cloud Town]] her to try on additional accessories, feeling pleased with yourself.](replace: ?item2)[](replace: ?item3)[](set: $cnpc3 to 1)]
(click-replace: ?item2)[(color: red)["No, that just won't do. Please [[try again later|Explore Cloud Town]] when I'm feeling less annoyed."](replace: ?item1)[](replace: ?item3)[]]
(click-replace: ?item3)[(color: red)["No, that just won't do. Please [[try again later|Explore Cloud Town]] when I'm feeling less annoyed."](replace: ?item1)[](replace: ?item2)[]]
(click-replace: ?item4)[(color: red)["No, that just won't do. Please [[try again later|Explore Cloud Town]] when I'm feeling less annoyed."](replace: ?item5)[](replace: ?item6)[]]
(click-replace: ?item5)[(color: green)["Actually, that works! Thank you so much." You [[leave|Explore Cloud Town]] her to try on additional accessories, feeling pleased with yourself.](replace: ?item4)[](replace: ?item6)[](set: $cnpc3 to 1)]
(click-replace: ?item6)[(color: red)["No, that just won't do. Please [[try again later|Explore Cloud Town]] when I'm feeling less annoyed."](replace: ?item4)[](replace: ?item5)[]]
(click-replace: ?item7)[(color: red)["No, that just won't do. Please [[try again later|Explore Cloud Town]] when I'm feeling less annoyed."](replace: ?item8)[](replace: ?item9)[]]
(click-replace: ?item8)[(color: red)["No, that just won't do. Please [[try again later|Explore Cloud Town]] when I'm feeling less annoyed."](replace: ?item7)[](replace: ?item9)[]]
(click-replace: ?item9)[(color: green)["Actually, that works! Thank you so much." You [[leave|Explore Cloud Town]] her to try on additional accessories, feeling pleased with yourself.](replace: ?item7)[](replace: ?item8)[](set: $cnpc3 to 1)]
(stop:)
]
]
]
]
(else:)[You see Penny walking down the street with a shopping bag full of clothes, and a small, content smile on her face.<p>
[[Head Back|Explore Cloud Town]]
]
}A bunch of winged Schnauzers surround you and spread their wings, and with a glorious dive, you all head below the clouds. You see your home rushing up to meet you, but with a powerful beating of wings, you land safely in your yard. You wave fondly to your good friends as they fly back to the Cloud Kingdom, and they wave back to you as they disappear above the clouds.
(display: "Hammock"){
You decide to relax in the $garden garden for a bit. You roll around in some dark, rich dirt while you soak up the sun's rays. Once your fur is sufficiently warmed, you roll towards the sunflowers, roses, tulips, lillies, and most importantly, daffodils.<p>
Each of them greets you like an old friend with outstretched petals, and you sniff each one lovingly, giving it the attention it deserves. You make your rounds like a stately king in a veritable //Royaume des Fleurs//.<p>
(if: $trowel is "false" and $wateringcan is "false" and $fertilizerbag is "false")[If only you had some //tools//, then you might be able to bring this garden to its full glory.]
(else:)[
(if: $dailygarden < 3)[
|==
[Dig Weeds]<trowel|
=|=
[Water Flowers]<wateringcan|
=|
[Spread Fertilizer]<fertilizer|
|==|
(if: $trowel is "true")[(click-replace: ?trowel)[You dig out the weeds as best as you can, holding the trowel awkwardly between your jaws. Oh well, it's a labor of love, right?(set: $dailygarden to it + 1)(set: $weeding to it + 1)]
]
(if: $wateringcan is "true")[(click-replace: ?wateringcan)[You sprinkle the water generously among the flowers, awkwardly dragging the watering can. Although most of the water ends up in the yard, it's the effort that counts, right?(set: $dailygarden to it + 1)(set: $watering to it + 1)]
]
(if: $fertilizerbag is "true")[(click-replace: ?fertilizer)[You spread out some fertilizer from the hefty bag you found. You don't understand why humans hate the delicious smell so much, but luckily plants seem to like it too!(set: $dailygarden to it + 1)(set: $fertilizing to it + 1)]
]
]
(else:)[You've cared for the garden enough today. Come back tomorrow to tend to it some more.
(if: $garden is "lovely")[The garden isn't quite on par with some of the more ambitious neighbors in your cul-de-sac, but you know your efforts won't be in vain if you keep at it.]
(else-if: $garden is "pretty")[The garden is seeming to perk up, a sure sign that you're on the right track!]
(else-if: $garden is "beautiful")[The garden is really coming around, and you're enjoying the new vibrant colors and strong stems that your plant children are producing. Such a proud moment.]
(else-if: $garden is "gorgeous")[Lately the garden has just bloomed into vitality, reaching for their limits with thorns outstretched. You can tell you're doing a great job, and many animals and insects are enjoying the sweet fruits of your labor, too!]
(else-if: $garden is "exquisite")[As you look around at your garden, you can tell that it couldn't be better in your dreams. You've developed a paradise in your own backyard, and sometimes you catch your humans looking proudly at it through the windows. Your garden is the talk of the street, and you feel an incredible sense of accomplishment.(set: $achievement's a1 to "true")]
]
]
<p>[[Back to the Yard|main]]
}{
You make your way into a beautiful foyer. You can now see that the house's deceptive exterior was holding a spacious environment that heralds a time long past. The [flooring]<hh1|(click: ?hh1)[(if: $hunt is "on")[(if: $hh is 1 and $hh1 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh1 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which is clear of objects,]] is teal and gold tiled, or at least it used to be before the grime and dust took over.<p>
The foyer is decorated with [antique furniture]<hh2|(click: ?hh2)[(if: $hunt is "on")[(if: $hh is 3 and $hh2 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh2 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which is infested with dust bunnies]], most of it covered with yellowed tarps. There's a few [potted plants]<hh3|(click: ?hh3)[(if: $hunt is "on")[(if: $hh is 1 and $hh3 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh3 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (do these even need water?)]], and you wonder how they survived all this time. Someone couldn't be living here, could they?<p>
The back of the foyer hosts two grand, spiraling staircases, each leading to a different wing of the upper floor.<p>
Hanging from a gigantic pillar in between the two staircases, you see a horrifically [destroyed painting]<destroyed|. It's just sad when classic art is vandalized.<p>
(click: ?destroyed)[(if: $hnpc1 is 0)[(set: $paintingguess to it + (a: "destroyed"))]You look at the Destroyed Painting. It might once have been beautiful, but now it is torn with vicious slashes, with pieces of acrylic canvas hanging from the lifeless frame. You can just barely make out that the subject had been a longhorn steer, posed in a champion's stance. Its color has been distorted with smears of red.<p>]
You can see that there's a living room through the western doorway, and a kitchen through the eastern one.<p>
(if: $quest's q4 is "done")[There's a ghost (click: "ghost")[(go-to: "Haunted Hunt")] floating around the foyer. When he spots you, he waves.]
Where do you want to go?<p>
[[Living Room]]<br>
[[Kitchen]]<br>
[[West Staircase|West Wing]]<br>
[[East Staircase|East Wing]]<br>
[[Head Home for more Adventuring!|main]]
}{
The living room is the epitome of an anachronastic nightmare. The furniture resembles those popular at the turn of the century, but a [vinyl record player]<hh4|(click: ?hh4)[(if: $hunt is "on")[(if: $hh is 1 and $hh4 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh4 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which has records stacked on the side,]] is collecting dust on a [coffee table]<hh5|(click: ?hh5)[(if: $hunt is "on")[(if: $hh is 2 and $hh5 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh5 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which is stuffed with old magazines underneath]]. More than that, there's a [TV]<hh6|(click: ?hh6)[(if: $hunt is "on")[(if: $hh is 1 and $hh6 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh6 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which flickers a bit,]] situated in one corner. The antannae are bent, and you can see that the screen is marred in a few places.<p>
The [couch]<hh7|(click: ?hh7)[(if: $hunt is "on")[(if: $hh is 3 and $hh7 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh7 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, while once a beautiful piece,]] has seen better days. Even with one of its legs broken, giving it an awkward slant, it might still be comfortable. There's only one way to [find out]<fo|.(click: ?fo)[ You bounce on it a few times, sending puffs of dust into the air. It wasn't worth it.]<p>
The sparse light filtering into the room and illuminating the swirling dust is coming from a window that peers into the scrubby front yard. The tattered [curtains]<hh8|(click: ?hh8)[(if: $hunt is "on")[(if: $hh is 1 and $hh8 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh8 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which sway like something may be behind them,]] give the room a sad disco ambiance.<p>
Moving through the room, you can see that the other room leads to a room with shelves and shelves of books.<p>
[[Library]]<br>
[[Foyer]]
}{
You wander into the kitchen, and see that despite the old-fashioned decor of the house, the kitchen actually has some [modern appliances]<hh24|(click: ?hh24)[(if: $hunt is "on")[(if: $hh is 3 and $hh24 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh24 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, except for an oddly wooden toaster]]. The [trash]<hh25|(click: ?hh25)[(if: $hunt is "on")[(if: $hh is 4 and $hh25 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh25 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which has a tantalizing smell,]] is filled with crumpled fast food wrappers, but how recent could those be?<p>
On the table, a delicious smell beckons your Corgi snout. You leap up onto a simple wooden chair and put your paws on the round, wooden table. You peer into a lukewarm cup of [coffee]<hh26|(click: ?hh26)[(if: $hunt is "on")[(if: $hh is 2 and $hh26 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh26 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which has a hint of hazelnut]]. You peer around the room. Did someone make this recently? Would they mind if you take a [sip]<sip|?(click: ?sip)[ You decide that a little sip wouldn't hurt, so your little Corgi tongue darts into the cup. You feel the caffeine coursing through your veins. If you drink enough of this, can you fly like Super Corgi??(set: $havecoffee to 2)]
<p>Not much else is here. You can see the doors to the basement, which looks awfully dark, and the downstairs bathroom. Which way should you go?<p>
[[Foyer]]<br>
[[Basement]]<br>
[[Downstairs Bathroom]]
}{
(if: $candle is "false")[You tentatively slide down the steps into the darkness, and it feels like the temperature immediately drops. Are all basements this cold? You reach the bottom of the steps and land on the cold concrete, and the light from the kitchen doesn't reach very far. You start to paw gently into the shadows, but you touch something slimey. Worse, you think it actually touched you!<p>
[[Get out of here!|Hammock]]
]
(else:)[With the candle holder in the tips of your jaw, you confidently make your way down the stairs until you feel the cold concrete. Thanks to the dim illumination, you can see the switch for the light next to the stairs. You jump at it sporadically, eventually flicking it on. The lights shudder into life, and you set the candle down, no longer needing it.<p>
Surveying the room, you can see that the basement is mostly a laundry area. Next to a pile of very dirty and ragged [clothes]<hh32|(click: ?hh32)[(if: $hunt is "on")[(if: $hh is 1 and $hh32 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh32 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, stained and moth-eaten,]] that look like they've been waiting for their turn in the wash for decades, you see a hole in the wall that turns out to be a [dumbwaiter]<hh33|(click: ?hh33)[(if: $hunt is "on")[(if: $hh is 4 and $hh33 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh33 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which you think you can fit inside]].<p>
In the small part of the basement that is carpeted, you see it must have been a children's play area. There's a miniature [couch]<hh34|(click: ?hh34)[(if: $hunt is "on")[(if: $hh is 4 and $hh34 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh34 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (which is just your size)]] and [chair]<hh35|(click: ?hh35)[(if: $hunt is "on")[(if: $hh is 2 and $hh35 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh35 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (which will be a tight squeeze)]], both dusty and sagging in the centers, and a variety of [toys]<hh36|(click: ?hh36)[(if: $hunt is "on")[(if: $hh is 1 and $hh36 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh36 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, none of which look chew-worthy,]] scattered around, including a tarnished rocking horse once made of glorious satin. There's a [small table]<hnpc2| with broken crayons and pieces of paper on it, including some puzzles for children.<p>
(click: ?hnpc2)[(if: $quest's q4 is "false")[You go over to the small table, but stop short when it begins to (text-style: "shudder")[rattle]. Perhaps you should come back later.<p>](else:)[(go-to: "HNPC2")]]
[[Back up the Stairs|Kitchen]]
]
}{
You almost regret coming into the bathroom as soon as you step paw into it. This is a case where a sharp nose is a detriment. It's clear that no one has been in here for decades.<p>
The [sink's]<hh27|(click: ?hh27)[(if: $hunt is "on")[(if: $hh is 1 and $hh27 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh27 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (if this used to be a sink)]] cracked porcelain has a strong layer of mold caked on it, and it extends up to the [shattered mirror]<hh28|(click: ?hh28)[(if: $hunt is "on")[(if: $hh is 4 and $hh28 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh28 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, (who's walking around with forty-nine years of bad luck?)]]. You take on a meerkat pose as you try to look at your dashing self, but there's no use. There's far too much spittle flecks crusted onto whatever pane of glass still rests in the frame.<p>
The next thing, which is often a treasure, certainly isn't in this house. The [toilet]<hh29|(click: ?hh29)[(if: $hunt is "on")[(if: $hh is 2 and $hh29 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh29 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which you only creep up to,]] is caked in grime, and the water inside is brown. During your career as a house pet, you've drank from some questionable toilets, but every dog has his limit. You smartly pass on this one.<p>
Just beyond that, you see that the [shower curtains]<hh30|(click: ?hh30)[(if: $hunt is "on")[(if: $hh is 2 and $hh30 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh30 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which has faded images of yellow ducks,]] are crookedly hanging in the [moldy bathtub]<hh31|(click: ?hh31)[(if: $hunt is "on")[(if: $hh is 1 and $hh31 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 4)(set: $hh31 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, (is that stench from this earth?)]], which is a shame, because it's a claw-footed bathtub just like you always fancied for yourself. However, this one just doesn't look worthy of a legendary bathtub captain, and it certainly doesn't look seaworthy. Perhaps someday.<p>
[[Back away slowly|Kitchen]]
}{
You stroll leisurely through the aisles of [books]<hh9|(click: ?hh9)[(if: $hunt is "on")[(if: $hh is 4 and $hh9 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh9 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, many of which are timeless classics]]. For a suburban house, it's quite the collection. You gaze upon the seemingly endless amounts of leather-bound books, and you are surprised to see that most of them held up pretty well. This pleases you, because even as a Corgi, you understand the importance of books(click: "importance of books")[, since nothing can quite match the taste].<p>
Tucked away at the end of one aisle, you see an intimidating statue bust(click: "bust")[ (it only has one eye?)] perched on a [pedestal]<hh10|(click: ?hh10)[(if: $hunt is "on")[(if: $hh is 3 and $hh10 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh10 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (clearly, another antique due to its intricate moldings)]]. The featured man has an austere look, and it gives you the willies. You shake it off and continue your explorations, but it hovers in the back of your mind.<p>
In the corner of the library, you see some space set aside for a small study. Most curiously, you see a [quill]<willie|(click: ?willie)[(go-to: "Haunted Master")] propped up and writing across a piece of parchment on its own...?<p>
(if: $quest's q4 is "done")[Along one aisle, you can see that one of the books is out of place on the shelf. How blasphemous! Should you [fix]<fix|(click: ?fix)[(go-to: "Misplaced Book")] it?<p>]
There's not much else to see here, so there's only one way left to go.<p>
[[Living Room]]
}{
You arrive on the landing and look around. There isn't much in the narrow hallway, but at least it's nicely carpeted. You see an [antique end table]<hnpc1| with a [crooked painting]<crooked| on the wall above it. There's a [withered plant]<hh11|(click: ?hh11)[(if: $hunt is "on")[(if: $hh is 4 and $hh11 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh11 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, for which you hum a brief dirge,]] at the end of the hallway, and you wonder if the one downstairs was plastic.<p>
(click: ?crooked)[(if: $hnpc1 is 0)[(set: $paintingguess to it + (a: "crooked"))]You look at the Crooked Painting. It looks like some frustration was taken out on it.(if: (history:) contains "Library")[ The man in the picture looks familiar.]<p>]
(click: ?hnpc1)[(if: $quest's q4 is "false")[You inspect the antique end table. The table (text-style: "shudder")[rattles], and you get the feeling that it's annoyed. You decide, smartly, to leave it alone.<p>](else:)[(goto: "HNPC1")]]
There's three rooms on this side of the upper floor. Which will you go into?<p>
[[Master Bedroom]]<br>
[[Upstairs Bathroom]]<br>
[[Guest Bedroom]]<br>
[[Foyer]]
}{
The first thing you see is a hulking [suit of armor]<soa|, standing guard to the rooms beyond. You stop in your tracks, thinking you saw it move. With bated breath, and legs coiled, you prepare to run, but it remains still. You creep past it to see the rest of the hallway.<p>
(click: ?soa)[(if: $skeletonKey is "false")[You inspect the suit of armor as you pass. You think you hear something breathing within, but that sensation only lasts a second. You're afraid to look into the visor, expecting something to be looking back at you. You tuck your tail between your legs, bow your head, and hurry past it.](else-if: $skeletonKey is "true")[You inspect the suit of armor, and notice that there's something dangling around from its wrist. That wasn't here before, was it? You rear up and clutch at a leather cord, and it easily comes away, although it clinks against the metal. You've just obtained the Skeleton Key.(set: $skeletonKey to "obtained")](else:)[You still don't quite trust this suit of armor, and you step quickly while it's in range.]<p>]
Adorning the walls in this part of the upper floor are an illustrative [coat of arms]<hh37|(click: ?hh37)[(if: $hunt is "on")[(if: $hh is 2 and $hh37 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh37 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which contains an emblem of a wild boar]], and a [dainty painting]<dainty| showing a woman with a gentle smile and a frilly, old-fashioned dress with muted colors.<p>
(click: ?dainty)[(if: $hnpc1 is 0)[(set: $paintingguess to it + (a: "dainty"))]You look at the Dainty Painting. It looks like it was well cared-for, and the woman looks happy. You bet she was loved.<p>]
There's only two doors in this hallway, and one of them is locked. The other you can nudge open to reveal another staircase, this one straight and simple. You figure it must lead to the attic, but would it be safe to go up there?<p>
[[Attic]]<br>
[[Locked Door]]<br>
[[Foyer]]
}{
You step into the master bedroom, and your paws immediately sink into the heavenly plush carpet. It's like walking on a pile of kittens it's so soft. It's clear that this was the best cared-for room in all of the house. Aside from the dust, everything is in great shape.<p>
The //pièce de résistance// is the [four-poster bed]<hh12|(click: ?hh12)[(if: $hunt is "on")[(if: $hh is 3 and $hh12 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh12 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (which looks very comfortable)]] in the center of the opposite wall. The sheer fabric canopy has a few cobwebs, but it had once been the finest material. The headboard is a work of art, carved into a beautifully-held swan's neck with all the poise and sophistication of whoever had inhabited this room. Its spread wings curled to each end of the headboard, and each feather was intricately carved with masterful detail. They don't quite reach the twin [end tables]<hh13|(click: ?hh13)[(if: $hunt is "on")[(if: $hh is 4 and $hh13 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh13 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which appear to be cherry mahogany,]] on either side of the bed, with the matching porcelain [swan lamps]<hh14|(click: ?hh14)[(if: $hunt is "on")[(if: $hh is 2 and $hh14 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh14 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which have graceful curves]].<p>
The other furnishings are simple, yet elegant. An [oak dresser]<hh15|(click: ?hh15)[(if: $hunt is "on")[(if: $hh is 3 and $hh15 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh15 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which is showing some wear and tear on the edges,]] is pressed against the wall opposite the bed, and a [pine wardrobe]<hh16|(click: ?hh16)[(if: $hunt is "on")[(if: $hh is 2 and $hh16 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh16 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (you have a sudden pinecone craving)]] is squeezed between the bed and the wall with the window. A swan [vanity table]<hh17|(click: ?hh17)[(if: $hunt is "on")[(if: $hh is 1 and $hh17 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh17 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (someone was creepily into swans, but you admit it brings the room together)]] matches the bed, with creams and lotions still open and strewn across its counter, although all of it is long dried.<p>
Not much light can get in, because the [window shutters]<hh18|(click: ?hh18)[(if: $hunt is "on")[(if: $hh is 4 and $hh18 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh18 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (they won't budge)]] are closed. You peek through as much as you can, and you think these windows peer into the backyard.<p>
The last thing you notice is a [large trunk]<hnpc3| at the foot of the bed. It was hard to see because of a [quilt]<hh19|(click: ?hh19)[(if: $hunt is "on")[(if: $hh is 2 and $hh19 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh19 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which reminds you of the quilt at home,]] folded on top. It looks securely locked.<p>
(click: ?hnpc3)[(if: $quest's q4 is "false")[You jingle the lock on the trunk, and it (text-style: "shudder")[rattles], and you scoot away in fear. You best leave it alone, for now.<p>](else:)[(go-to: "HNPC3")]
]
[[West Wing]]
}{
(if: (history:) contains "Downstairs Bathroom")[This bathroom is much more hospitable! ]Although everything is dirty from non-use, there is something that looks like it could be pleasant. The [tub]<hh20|(click: ?hh20)[(if: $hunt is "on")[(if: $hh is 3 and $hh20 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh20 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which lacks the pink rings you almost expected,]] isn't a claw foot tub like you've always wanted, but it does have all sorts of neat settings for heat and jets. You wonder if this isn't the same thing your humans always talk about as if its the epitome of the "good life".<p>
If it weren't for more pressing matters,(click: "pressing matters")[ (bones to hoard, trees to sniff, fire hydrants to victimize, you know),] you might consider giving it a go. It does look rather clean...has someone been using it??<p>
[[West Wing]]
}{
You wander into what appears to be a guest bedroom. There are [twin beds]<hh21|(click: ?hh21)[(if: $hunt is "on")[(if: $hh is 1 and $hh21 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh21 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which you make a mental note to jump on later,]] still unmade, lining one wall, and [simple furniture]<hh22|(click: ?hh22)[(if: $hunt is "on")[(if: $hh is 2 and $hh22 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh22 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, really only a small desk and chair]]. There are pieces of paper on the wall that looked like they were once [posters]<hh23|(click: ?hh23)[(if: $hunt is "on")[(if: $hh is 4 and $hh23 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh23 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which you can't identify,]] but had been hurriedly ripped off.<p>
(if: $candle is "false")[A flickering light catches your eye, and you see a lit [candle]<candle| on one of the end tables. The wax is slowly melting down towards the brass holder, but it still has a long way to go. Who lit this? It couldn't have been that long ago.<p>]
(click: ?candle)[(set: $candle to "true")You take the candle with you, knowing it might come in handy in some dark places.<p>]
Resting on the wall between the two beds is a beautifully framed [rustic painting]<rustic|. It looks like the house, but the setting is more rural.<p>
(click: ?rustic)[(if: $hnpc1 is 0)[(set: $paintingguess to it + (a: "rustic"))]You look at the Rustic Painting. Could this be from before the neighborhood existed?<p>]
[[West Wing]]
}{
The attic is organized as if it's where unsuccessful yard sales go to die. As a relatively (either: "modest", "sheltered", "worldly", "humble") Corgi, you can't rightfully name all the junk you see, but a few things stick out.<p>
There's a lot of [boxes]<hh38|(click: ?hh38)[(if: $hunt is "on")[(if: $hh is 3 and $hh38 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh38 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[, which contain many old clothes, photos, and knick-knacks,]] stacked to one side, and a full length [mirror]<hh39|(click: ?hh39)[(if: $hunt is "on")[(if: $hh is 3 and $hh39 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh39 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (with a stunning Corgi inside)]] stands perpendicular to them. On a hangar nearby, there's a yellowed, musty, [wedding dress]<hh40|(click: ?hh40)[(if: $hunt is "on")[(if: $hh is 3 and $hh40 is false)[(text-style: "fade-in-out")[ (You found ectoplasm!)(set: $hhloot to it + 1)(set: $hh40 to true)]](else:)[ (text-style: "outline")[Boo!](set: $boo to it + 1)(if: $hhmode is "easy")[(if: $boo is >= 20)[(go-to: "HH Score")]](else-if: $hhmode is "med")[(if: $boo is >= 8)[(go-to: "HH Score")]](else-if: $hhmode is "hard")[(if: $boo is >= 4)[(go-to: "HH Score")]](else:)[(if: $boo is >= 1)[(go-to: "HH Score")]]]](else:)[ (was this unpacked recently?)]] laid out.<p>
(if: $quest's q4 is "started")[
(if: $paintingguess is $paintingorder)[You notice a large painting against one wall. A yellowed tarp is obscuring it, but you can make out some sort of portrait underneath. You slowly tug it off, and you see a painting with an ethereal quality. The haunting faces of a man, a woman holding a baby, two adolescent children staring back at you. //Achievement Unlocked//(set: $achievement's a10 to "true")(set: $hnpc1 to 1)<p>]
(else:)[Nothing appears out of the ordinary, yet you don't care to linger. Maybe later you'll come back to see if anything interesting happened, but not //too// interesting!(set: $paintingguess to (a:))<p>]]
[[East Wing]]
}{
(if: $skeletonKey is "obtained")[You slowly enter and walked around the room. It is a bedroom with sparsely decorated furniture. There is a crib across from you, directly underneath the window. You tiptoe towards it, with puffs of dust sneezing from the once-plush carpet with every padded step.<p>
As you expected, the crib is long empty, with the thin blankets tucked in tightly. The blue elephant patterns have faded into dull grey with age. A forgotten teddy bear sits in the corner like a sentinel that had never been relieved from duty.<p>
The rest of the room is stocked with all the necessities for an infant, including cloth diapers, powder, toys, clothes, and a pair of knit booties hanging from their braided thread on a cabinet door. They appear tightly stitched, as if they had never been worn.<p>
There's a painting hanging on the wall, much like the family portrait. However, there's no baby in it, but the woman from the Dainty Painting looks a little older, but very happy. She even appears to have a glow.(set: $achievement's a11 to "true")]
(else:)[You jiggle the lock to no avail. By looking at it, it looks like it only takes an old-fashioned skeleton key.]
<p>[[Back|East Wing]]
}{
(set: $historyquiznum to 0)
(set: $historyscore to 0)
(if: $achievement's a2 is "false")[You've found a hidden room! //Achievement Unlocked// (set: $achievement's a2 to "true")<p>]
You stretch on your hind legs and push your leathery nose against the book, putting it securely back on the shelf. That was a close one! You hear a click, and the shelf starts to swing into the wall. A room is revealed behind it, and you quickly go in before your stubby tail is caught in the receding bookshelf.<p>
You can see that the room is a plush and comfortable study, with a warm fireplace, an armchair, a rug, and chaise next to plenty of books adorning the walls and stacked in modest piles.<p>
There's a low table near the center of the room, and you can see that a book is open on it, with the pages moving by themselves.<p>
(if: (history:) contains "Misplaced Book")["Oh, hello there!" Cela calls to you, marking her place in her book. "Back again, already? I'm glad I inspired you with a love for history."<p>]
(else:)[<p>You calmly waddle up to the book, and a translucent apparition forms in front of it. It's a small ghost with horn-rimmed glasses, and she's leaning over the pages with a concentrated look.<p>
You give a small yip to get her attention, and she jumps back, her eyes widening in fright. Her pages fall as the book threatens to close, but she catches it with an annoyed look on her face.<p>
"So, you like scaring unsuspecting ghosts, do you?" she says, eyeing you up. You flash your best Corgi grin, and her scowl melts away as she places a bookmark in her book. "Very well. It's been a while since I've seen anyone. This is best place to read in the entire mansion. My name is Cela. You wouldn't happen to be interested in history, would you?"<p>
You look at the old book and wag.<p>]
<p>
(if: $dailyhistory is "false")[
["Would you like to take my History Quiz?"]<prompt|<p>
[Yes]<yes|<p>(click: ?yes)[[
["Then let's begin. I'll pose each question as a stated fact, and you select whether it's true or false. Your score will be given at the end, which is when five questions are answered. Questions are random and may be repeated. Good luck!"]<intro|<p>
[(set: $question to (either: ...$historyquiz))(print: $question)]<question|
]
|=
(hook: "true")[(link-repeat: "True")[(replace: ?answer)[] [(if: $question is $historyquiz's 1st)[(color: red)[Wrong...]](else-if: $question is $historyquiz's 2nd)[(color: green)[Correct!](set: $historyscore to it +1)](else-if: $question is $historyquiz's 3rd)[(color: red)[Wrong...]](else-if: $question is $historyquiz's 4th)[(color: red)[Wrong...]](else-if: $question is $historyquiz's 5th)[(color: green)[Correct!](set: $historyscore to it +1)]]<answer|(set: $historyquiznum to it + 1)(if: $historyquiznum is 5)[(replace: ?question, ?false, ?true, ?yes, ?prompt, ?intro)[](show: ?score)](else:)[(replace: ?question)[(set: $question to (either: ...$historyquiz))(print: $question)]]]]
=|
(hook: "false")[(link-repeat: "False")[(replace: ?answer)[] [(if: $question is $historyquiz's 1st)[(color: green)[Correct!](set: $historyscore to it +1)](else-if: $question is $historyquiz's 2nd)[(color: red)[Wrong...]](else-if: $question is $historyquiz's 3rd)[(color: green)[Correct!](set: $historyscore to it +1)](else-if: $question is $historyquiz's 4th)[(color: green)[Correct!](set: $historyscore to it +1)](else-if: $question is $historyquiz's 5th)[(color: red)[Wrong...]]]<answer|(set: $historyquiznum to it + 1)(if: $historyquiznum is 5)[(replace: ?question, ?false, ?true, ?yes, ?prompt, ?intro)[](show: ?score)](else:)[(replace: ?question)[(set: $question to (either: ...$historyquiz))(print: $question)]]]]]]
[(if: $quest's q6 is "done")[](else:)[(set: $quest's q6 to "started")]"Thanks for trying my quiz! Let's see...You had $historyscore correct answer(if: $historyscore is not 1)[s].(set: $dailyhistory to "true")
(if: $historyscore < 5)[ Oh, gee. I think you can do better! Try again tomorrow, okay?"<p>]
(else:)[ You did great! Here, have some bones." (if: $prestige > 0)[(set: $bones to it + (2 * $prestige))](else:)[(set: $bones to it + 2)]You now have $bones bones.<p>(if: $quest's q6 is "started")["Since this is the first time you've completed my quiz, you just completed the quest //'Stories from the Past'//! Congratulations."(set: $quest's q6 to "done")]]
](score|
|=|
(else:)[You've already taken my quiz today. Come back tomorrow to try again.<p>]
<br>[[Back|Library]]
}(set: $paintingorder to (a: "rustic", "dainty", "crooked", "destroyed"))
(set: $paintingguess to (a:))
Here's a [Rustic Painting]<rustic|.
Here's a [Dainty Painting]<dainty|.
Here's a [Crooked Painting]<crooked|.
Here's a [Destroyed Painting]<destroyed|.
(click: ?rustic)[(set: $paintingguess to it + (a: "rustic"))You look at the Rustic Painting.]
(click: ?dainty)[(set: $paintingguess to it + (a: "dainty"))You look at the Dainty Painting.]
(click: ?crooked)[(set: $paintingguess to it + (a: "crooked"))You look at the Crooked Painting.]
(click: ?destroyed)[(set: $paintingguess to it + (a: "destroyed"))You look at the Destroyed Painting.]
[[Unlocked?]]{
(set: $crosswordscore to 0)
Click on the clues to submit an answer. Please submit answers in all lowercase. Some may have more than one answer, but only one is accepted. Try all acceptable answers if you feel stuck.<p>
Start
(click-replace: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "Crossword Score")]
(if: $crosswordscore is 32)[(go-to: "Crossword Score")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><p>
####Across<h4>
<br>[(link-repeat: "1 Fear of Birds")[<p>
[(put: (prompt: "Fear of Birds", "13 Letters") into $W1)]
(if: $W1 is "ornithophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W1)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W1|
<br>[(link-repeat: "4 Fear of Bicycles")[<p>
[(put: (prompt: "Fear of Bicycles", "11 Letters") into $W2)]
(if: $W2 is "cyclophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W2)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W2|
<br>[(link-repeat: "7 Fear of Children")[<p>
[(put: (prompt: "Fear of Children", "10 Letters") into $W3)]
(if: $W3 is "pedophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W3)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W3|
<br>[(link-repeat: "9 Fear of Confined Spaces")[<p>
[(put: (prompt: "Fear of Confined Spaces", "14 Letters") into $W4)]
(if: $W4 is "claustrophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W4)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W4|
<br>[(link-repeat: "11 Fear of Church")[<p>
[(put: (prompt: "Fear of Church", "14 Letters") into $W5)]
(if: $W5 is "ecclesiophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W5)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W5|
<br>[(link-repeat: "12 Fear of New Things")[<p>
[(put: (prompt: "Fear of New Things", "9 Letters") into $W6)]
(if: $W6 is "neophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W6)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W6|
<br>[(link-repeat: "14 Fear of Bald People")[<p>
[(put: (prompt: "Fear of Bald People", "12 Letters") into $W7)]
(if: $W7 is "peladophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W7)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W7|
<br>[(link-repeat: "16 Fear of Foreigners")[<p>
[(put: (prompt: "Fear of Foreigners", "10 Letters") into $W8)]
(if: $W8 is "xenophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W8)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W8|
<br>[(link-repeat: "17 Fear of Books")[<p>
[(put: (prompt: "Fear of Books", "12 Letters") into $W9)]
(if: $W9 is "bibliophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W9)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W9|
<br>[(link-repeat: "18 Fear of Darkness or Night")[<p>
[(put: (prompt: "Fear of Darkness or Night", "11 Letters") into $W10)]
(if: $W10 is "nyctophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W10)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W10|
<br>[(link-repeat: "19 Fear of Clothing")[<p>
[(put: (prompt: "Fear of Clothing", "11 Letters") into $W11)]
(if: $W11 is "vestiphobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W11)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W11|
<br>[(link-repeat: "22 Fear of Liquids or Dampness")[<p>
[(put: (prompt: "Fear of Liquids or Dampness", "11 Letters") into $W12)]
(if: $W12 is "hygrophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W12)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W12|
<br>[(link-repeat: "24 Fear of Cats")[<p>
[(put: (prompt: "Fear of Cats", "12 Letters") into $W13)]
(if: $W13 is "ailurophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W13)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W13|
<br>[(link-repeat: "25 Fear of Bums and Beggars")[<p>
[(put: (prompt: "Fear of Bums and Beggars", "10 Letters") into $W14)]
(if: $W14 is "hobophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W14)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W14|
<br>[(link-repeat: "26 Fear of Automobiles")[<p>
[(put: (prompt: "Fear of Automobiles", "11 Letters") into $W15)]
(if: $W15 is "motorphobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W15)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W15|
<br>[(link-repeat: "27 Fear of Extreme Cold")[<p>
[(put: (prompt: "Fear of Extreme Cold", "10 Letters") into $W16)]
(if: $W16 is "cryophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W16)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W16|
<br>[(link-repeat: "29 Fear of Bulls")[<p>
[(put: (prompt: "Fear of Bulls", "11 Letters") into $W17)]
(if: $W17 is "taurophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W17)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W17|
<br>[(link-repeat: "30 Fear of Dreams")[<p>
[(put: (prompt: "Fear of Dreams", "12 Letters") into $W18)]
(if: $W18 is "oneirophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W18)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W18|<p>
####Down<h4>
<br>[(link-repeat: "2 Fear of Bullets")[<p>
[(put: (prompt: "Fear of Bullets", "14 Letters") into $W19)]
(if: $W19 is "ballistophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W19)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W19|
<br>[(link-repeat: "3 Fear of Certain Fabrics")[<p>
[(put: (prompt: "Fear of Certain Fabrics", "11 Letters") into $W20)]
(if: $W20 is "textophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W20)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W20|
<br>[(link-repeat: "4 Fear of Computers")[<p>
[(put: (prompt: "Fear of Computers", "11 Letters") into $W21)]
(if: $W21 is "cyberphobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W21)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W21|
<br>[(link-repeat: "5 Fear of Clocks or Time")[<p>
[(put: (prompt: "Fear of Clocks or Time", "12 Letters") into $W22)]
(if: $W22 is "chronophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W22)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W22|
<br>[(link-repeat: "6 Fear of Blood")[<p>
[(put: (prompt: "Fear of Blood", "10 Letters") into $W23)]
(if: $W23 is "hemaphobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W23)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W23|
<br>[(link-repeat: "8 Fear of Flying")[<p>
[(put: (prompt: "Fear of Flying", "10 Letters") into $W24)]
(if: $W24 is "aviophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W24)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W24|
<br>[(link-repeat: "10 Fear of Open Spaces")[<p>
[(put: (prompt: "Fear of Open Spaces", "11 Letters") into $W25)]
(if: $W25 is "agoraphobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W25)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W25|
<br>[(link-repeat: "13 Fear of Dentists")[<p>
[(put: (prompt: "Fear of Dentists", "11 Letters") into $W26)]
(if: $W26 is "dentophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W26)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W26|
<br>[(link-repeat: "15 Fear of Bees")[<p>
[(put: (prompt: "Fear of Bees", "9 Letters") into $W27)]
(if: $W27 is "apiphobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W27)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W27|
<br>[(link-repeat: "20 Fear of Forests and Wooden Objects")[<p>
[(put: (prompt: "Fear of Forests and Wooden Objects", "10 Letters") into $W28)]
(if: $W28 is "xylophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W28)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W28|
<br>[(link-repeat: "21 Fear of Clowns")[<p>
[(put: (prompt: "Fear of Clowns", "12 Letters") into $W29)]
(if: $W29 is "coulrophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W29)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W29|
<br>[(link-repeat: "23 Fear of Fire")[<p>
[(put: (prompt: "Fear of Fire", "10 Letters") into $W30)]
(if: $W30 is "pyrophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W30)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W30|
<br>[(link-repeat: "27 Fear of Dogs or Rabies")[<p>
[(put: (prompt: "Fear of Dogs or Rabies", "10 Letters") into $W31)]
(if: $W31 is "cynophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W31)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W31|
<br>[(link-repeat: "28 Fear of Animals")[<p>
[(put: (prompt: "Fear of Animals", "9 Letters") into $W32)]
(if: $W32 is "zoophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W32)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W32|
]
}{
(set: $lockwin to 0)
(set: $1L1T to 0)
(set: $1L2T to 0)
(set: $1L3T to 0)
(set: $2L1T to 0)
(set: $2L2T to 0)
(set: $2L3T to 0)
(set: $2L4T to 0)
Move your pick across the tumblers to pick the locks. Order doesn't matter, but make sure each one latches.<p>
(set: $lockscore to 0)
(set: $counter to 30)
Start
(click-replace: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "lock lose")]
(if: $lockwin is 3)[(go-to: "lock win")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><p>
(link-repeat: "First Tumbler")[<p>(replace: ?1st)[][You wiggle your pick at the first tumbler.(set: $1L1T to it + 1)
(if: $1L1T is 1)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $1L1T is 2)[(color: red)[You hear a snap as the tumbler springs loose.](set: $1L1T to 0)(set: $lockwin to it - 1)]
]<1st|]
<p>(link-repeat: "Second Tumbler")[<p>(replace: ?2nd)[][You wiggle your pick at the second tumbler.(set: $1L2T to it + 1)
(if: $1L2T is 1)[You hear the tumbler move up, but it's not quite right.]
(else-if: $1L2T is 2)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $1L2T is 3)[(color: red)[You hear a snap as the tumbler springs loose.](set: $1L2T to 0)(set: $lockwin to it - 1)]
]<2nd|]
<p>(link-repeat: "Third Tumbler")[<p>(replace: ?3rd)[][You wiggle your pick at the third tumbler.(set: $1L3T to it + 1)
(if: $1L3T is 1)[You hear the tumbler move up, but it's not quite right.]
(else-if: $1L3T is 2)[You hear the tumbler move up some more, but it hasn't latched.]
(else-if: $1L3T is 3)[(color: green)[You hear the tumbler snap into place.](set: $lockwin to it + 1)]
(else-if: $1L3T is 4)[(color: red)[You hear a snap as the tumbler springs loose.](set: $1L3T to 0)(set: $lockwin to it - 1)]
]<3rd|]
]
}{
(if: $paintingguess is $paintingorder)[Winner!<p>]
(else:)[Nope...(set: $paintingguess to (a:))<p>]
[[Painting Puzzle]]
}{
(color: green)["Well, I'll be...You picked the lock!"] Cole says, surprised. You both lean over to look in the trunk. There's a few odds and ends in there, but nothing too cool. The important thing was the journey, right, and not the reward? Oh wait! There's a bone!(set: $bones to it + 1)(set: $hnpc3 to 1) You now have $bones bone(if: $bones is not 1)[s].
(set: $lockchievo to 1)(if: $lockchievo is 1)[<p>You've unlocked an Achievement! See it in the Bone Shed.(set: $achievement's a7 to "true")]
<p>[[Master Bedroom]]
}{
(color: red)[The lock slams shut tight. "Have to be a bit quicker!" Cole chides you.]<p>
[[Try again?|Lock Picking Puzzle]]<br>
[[Master Bedroom]]
}{
Cris looks over the puzzle and checks it against the answer key. "You solved $crosswordscore of the crossword clues.(if: $crosswordscore is 32)[ Congratulations! Have some bones."(if: $prestige > 0)[(set: $bones to it + (10 * $prestige))](else:)[(set: $bones to it + 10)] You now have $bones bones.(set: $achievement's a6 to "true")<p>](else:)[ You can do better."<p>]
[[Basement]]
}{
You have a fun time at Cecilia's tea party. She always supplies the best dog biscuits! You're seated at a frilly table with Cecilia at the head, pouring some fresh imaginary tea into a stuffed elephant's dainty tea cup.<p>
(hook: "cecilia")+(link: "Talk to Cecilia")[
(if: $friendCecilia is 0)[
(replace: ?yard)[]
(show: ?done)
(link-repeat: "[(print: $C1dialogue's ($indexC1))]<C1dialogue|")[{
(set: $indexC1 to it + 1)
(if: $indexC1 > $C1dialogue's length)[(set: $indexC1 to 1)]
(replace: ?C1dialogue)[(print: $C1dialogue's ($indexC1))]
(replace: ?output)[(print: $commentsC1's ($indexC1))]
}]<p>"[(print: $commentsC1's ($indexC1))]<output|" says Cecilia.
]
(else-if: $friendCecilia is 1)[
(replace: ?yard)[]
(show: ?done)
(link-repeat: "[(print: $C2dialogue's ($indexC2))]<C2dialogue|")[{
(set: $indexC2 to it + 1)
(if: $indexC2 > $C2dialogue's length)[(set: $indexC2 to 1)]
(replace: ?C2dialogue)[(print: $C2dialogue's ($indexC2))]
(replace: ?output)[(print: $commentsC2's ($indexC2))]
}]<p>"[(print: $commentsC2's ($indexC2))]<output|" says Cecilia.
]
(else-if: $friendCecilia is 2)[
(replace: ?yard)[]
(show: ?done)
(link-repeat: "[(print: $C3dialogue's ($indexC3))]<C3dialogue|")[{
(set: $indexC3 to it + 1)
(if: $indexC3 > $C3dialogue's length)[(set: $indexC3 to 1)]
(replace: ?C3dialogue)[(print: $C3dialogue's ($indexC3))]
(replace: ?output)[(print: $commentsC3's ($indexC3))]
}]<p>"[(print: $commentsC3's ($indexC3))]<output|" says Cecilia.
]
(else:)[You and Cecilia reminisce about tea parties past. There is laughter, joy, and dog biscuits. What could be better?]
]
<br>(hook: "yard")+(link: "Explore the Yard")[You wander around the yard. There's something magical about it, and you feel at ease.(replace: ?cecilia)[]]
<br>|done)[(link-repeat: "Done Conversing")[(if: (confirm: "Is this the conversation you wish to have?") is true)[(go-to: "scoreCecilia")]]
]
<p>[[I'm too full->Hammock]]
}{You head home for the day, not realizing you had spent so much time at Cecilia's tea party. You gaze at the beautiful sunset and reflect on your time.<p>
(if: $friendCecilia is 0)[
(if: $indexC1 is 3)[(color: green)[You feel like you had a great conversation with Cecilia. You love the excited smile on her face.(set: $friendCecilia to 1)]]
(else-if: $indexC1 is 1)[You had a pleasant chat with Cecilia, but feel it could be better.]
(else:)[(color: red)[When you're done talking with Cecilia, you feel like you hadn't brought your Corgi A-game today. Perhaps next time.]]
]
(else-if: $friendCecilia is 1)[
(if: $indexC2 is 3)[(color: green)[You feel so flattered that Cecilia remembered your favorite dog biscuit, and the taste is still on your lips.(set: $friendCecilia to 2)]]
(else-if: $indexC2 is 1)[You had a pleasant chat with Cecilia, but feel it could be better.]
(else:)[(color: red)[When you're done talking with Cecilia, you feel like you hadn't brought your Corgi A-game today. Perhaps next time.]]
]
(else-if: $friendCecilia is 2)[
(if: $indexC3 is 3)[(color: green)[The tea parites just keep getting better and better, and you are enjoying Cecilia's company far more than before. That's the feeling of friendship, isn't it?(set: $friendCecilia to 3)(set: $achievement's a4 to "true")]]
(else-if: $indexC3 is 1)[You had a pleasant chat with Cecilia, but feel it could be better.]
(else:)[(color: red)[When you're done talking with Cecilia, you feel like you hadn't brought your Corgi A-game today. Perhaps next time.]]
]
(else:)[You can't possibly be better friends with Cecilia.]
<p>[[Night Night|Hammock]]
}{
(put: (random: 1, 10) into $dte)
(if: $dte is 1)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>You jog through the tunnel, but when you hear pebbles skidding acrossing the floor, you think you might want to slow down.<p>
|=
[Jog]<c1|(click: ?c1)[<p>You keep jogging, and end up sprawling in some loose gravel, losing some fuel.(replace: ?c2)[](set: $fuel to it - 2)(show: ?cont)]
=|
[Slow Down]<c2|(click: ?c2)[<p>You ease up a bit, just in time to side step some gravel. While doing so, you notice some moss clinging to the tunnel wall.(replace: ?c1)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 2)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>You come to a crevice, and it looks like a long way down. You can try to jump, or you can crawl along the edge.<p>
|=
[Jump]<c1|(click: ?c1)[<p>You try to jump, and you manage to just grasp the ledge with your legs. You pull yourself up, but you lose some fuel from the clumsiness.(replace: ?c2)[](set: $fuel to it - 2)(show: ?cont)]
=|
[Crawl]<c2|(click: ?c2)[<p>You find a narrow ledge that leads to the other side and crawl with your fluffy tummy to the ground. While you go slowly and carefully, you come nose to nose(?) with some moss.(replace: ?c1)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 3)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>You can hear subtle squeaking above you. You are torn between wanting to look up, where you think it's coming from, or to hurry forward.<p>
|=
[Look]<c1|(click: ?c1)[<p>You bravely look up, and see a swarm of yellow eyes peering at you. You start to run, but you're too late. A horde of flapping, screeching bats chase you, and you spill some fuel trying to get away.(replace: ?c2)[](set: $fuel to it - 2)(show: ?cont)]
=|
[Hurry]<c2|(click: ?c2)[<p>You ignore the squeaking and race towards the next part of the tunnel. With your gaze focused, you spot some moss and quickly add it to your fuel.(replace: ?c1)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 4)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>You've come to a fork between two tunnels. One curls away to the left, and the other descends to the right.<p>
|=
[Left]<c1|(click: ?c1)[<p>You go down the left path, and see that you're on the right track. Along the way, you find some moss.(replace: ?c2)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]
=|
[Right]<c2|(click: ?c2)[<p>You go down the right path and find that it's a dead end. You turn around, knowing you wasted some fuel.(replace: ?c1)[](set: $fuel to it - 2)(show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 5 and $quest's q7 is "started")[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>The first thing that catches your attention is the small sound of sniffling. You peer into the darkness and notice a small mole curled up in a corner.<p>
[Check on her]<c1|(click: ?c1)[<p>You slowly walk over to her and lick away her tears. Tiny claws reach out to hug you, and the sniffling stops. Small, dark, shining eyes look up at you with confidence, and you both know that everything is going to be alright.(set: $lostmole to "true")(show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 5)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>You see a small hole in this room of the tunnel, but there's no telling what might be living in it.<p>
|=
[Inspect]<c1|(click: ?c1)[<p>You poke your leathery nose into the hole, and although you expect the worst, you find some moss!(replace: ?c2)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]
=|
[Ignore]<c2|(click: ?c2)[<p>You ignore the hole, but as you step around it, your paw slips into a rut, and you lose your balance, and some fuel.(replace: ?c1)[](set: $fuel to it - 2)(show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 6)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>There's a rumble as the ground shakes.<p>
|=
[Run]<c1|(click: ?c1)[<p>You sprint to dodge falling rocks, and manage to find some moss along the way!(replace: ?c2)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]
=|
[Cower]<c2|(click: ?c2)[<p>You hunker down as rocks fall around you. Luckily, you're not hit, but one of your paths is blocked off, and you have to go out of your way to find a new one. You waste some fuel.(replace: ?c1)[](set: $fuel to it - 2)(show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 7)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>A shadow zooms overhead.<p>
|=
[Check]<c1|(click: ?c1)[<p>Huh, guess it was nothing. Oh wait, moss!(replace: ?c2)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]
=|
[Skedaddle]<c2|(click: ?c2)[<p>You don't wait around to see what it was. Instead, you hurry to the next room, but spill some fuel in your panic.(replace: ?c1)[](set: $fuel to it - 2)(show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 8)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>You hear a roar reverberating from deep within the tunnel.<p>
|=
[Forward]<c1|(click: ?c1)[<p>You stride forward bravely, and see a small gerbil yawning in front of a cavernous tube that eroded into the wall. So, that was causing the echo! The gerbil leaves, and drops some moss it was munching on.(replace: ?c2)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]
=|
[Turn around]<c2|(click: ?c2)[<p>You backtrack to avoid that horrendous monster, not caring how much fuel you're wasting.(replace: ?c1)[](set: $fuel to it - 2)(show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 9)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>There's a pool of water in this room, leading to a bank on the other side that slopes upwards.<p>
|=
[Swim]<c1|(click: ?c1)[<p>You dash into the water, braving the icy chill. It's slippery, but you manage to get up the slope on the other side, finding some moss.(replace: ?c2)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]
=|
[Backtrack]<c2|(click: ?c2)[<p>You know you don't care to swim through cave murk, so you backtrack to find another way, wasting some fuel.(replace: ?c1)[](set: $fuel to it - 2)(show: ?cont)]](else:)[(go-to: "DT Score")]
]
(else-if: $dte is 10)[(if: $fuel > 0)[(set: $fuel to it - 3)(set: $rooms to it + 1)You have $fuel fuel.<p>You come across an abandoned mining section, with tools amidst a pile of rocks.<p>
|=
[Stop]<c1|(click: ?c1)[<p>You look through the tools, but find nothing useful. Wait, there's a bit of moss peeking out between the rocks.(replace: ?c2)[](if: $prestige > 0)[(set: $fuel to it + (1*$prestige))](else:)[(set: $fuel to it + 1)](show: ?cont)]
=|
[Walk]<c2|(click: ?c2)[<p>You keep walking, not sure you want to find out why everything was left in a hurry.(replace: ?c1)[](set: $fuel to it - 2)(show: ?cont)]](else:)[(go-to: "DT Score")]
]
[<p>(link-goto: "Scurry Forth!", "Dark Tunnel")
<br>(link-goto: "Return to Entrance", "DT Score")](cont|
}{(set: $fuel to 15)(set: $rooms to 0)
(display: "Dark Tunnel")
}{
You completed $rooms rooms, and have (if: $fuel < 0)[(set: $fuel to 0)]$fuel fuel left.<p>(if: $rooms >= 5)[Since you got so far, you managed to find a few bones.(if: $prestige > 0)[(set: $bones to it + ($prestige * $rooms))](else:)[(set: $bones to it + $rooms)] You now have $bones bones.<p>]
(set: $rooms to 0)
[[Leave Tunnel|Mole Kingdom]]
}A bunch of winged Schnauzers surround you and spread their wings, and with a glorious dive, you all head below the clouds. You see your home rushing up to meet you, but with a powerful beating of wings, you land safely in your yard. You wave fondly to your good friends as they fly back to the Cloud Kingdom, and they wave back to you as they disappear above the clouds.
(display: "main"){(set: $hunt to "off")(set: $hunts to it + 1)(set: $boo to 0)(set: $hh1 to false)(set: $hh2 to false)(set: $hh3 to false)(set: $hh4 to false)(set: $hh5 to false)(set: $hh6 to false)(set: $hh7 to false)(set: $hh8 to false)(set: $hh9 to false)(set: $hh10 to false)(set: $hh11 to false)(set: $hh12 to false)(set: $hh13 to false)(set: $hh14 to false)(set: $hh15 to false)(set: $hh16 to false)(set: $hh17 to false)(set: $hh18 to false)(set: $hh19 to false)(set: $hh20 to false)(set: $hh21 to false)(set: $hh22 to false)(set: $hh23 to false)(set: $hh24 to false)(set: $hh25 to false)(set: $hh26 to false)(set: $hh27 to false)(set: $hh28 to false)(set: $hh29 to false)(set: $hh30 to false)(set: $hh31 to false)(set: $hh32 to false)(set: $hh33 to false)(set: $hh34 to false)(set: $hh35 to false)(set: $hh36 to false)(set: $hh37 to false)(set: $hh38 to false)(set: $hh39 to false)(set: $hh40 to false)You have found $hhloot ectoplasm! (set: $rawMaterial's ectoplasm to it + $hhloot) Congrats. Now you have (print: $rawMaterial's ectoplasm) ectoplasm.(set: $bones to it + ($hhloot * $prestige)) You now have $bones bones.(if: $hhmode is "expert")[(if: $hhloot >= 10)[<p>"Oh wow," Chuk says. "I've never seen anyone do better on the Treacherous Hunt."(if: $achievement's a12 is "false")[ //Achievement Unlocked//(set: $achievement's a12 to "true")]]](set: $hhloot to 0)<p>
[[Restart?|Haunted Hunt]]
}{(if: $quest's q4 is "started")[
(if: $hnpc1 is 0)[A ghost erupts from the antique end table with an annoyed expression on its face. You cower in fear, but it immediately ignores you and looks at the painting hanging on the wall.<p>
"Why? What does it mean?" the ghost mutters. You follow its gaze to the painting, padding closer hesitantly. It finally turns to you and continues. "This house has a sordid history, and much of the despair remains. However, it is also a point of pride for the residents now, but not all of the story is clear. The secret is in these paintings, and something in the attic."<p>
You tilt your head in confusion.<p>
"If you must know, my name is Cass, or at least it has been since my spectral consciousness formed." The ghost sighed. "I think the order of the paintings matters, but that's all I can guess right now."<p>
You can feel the ghost's frustration, and you feel that he's provided all the help he can right now.
]
(else:)["So, you've figured out the secret of the paintings, have you?" Cass asks as you return. "So, there was a pattern to it. It must have to do with the story that they, and by extension this house, holds. There's clearly more that I need to understand, but this brought us a long way. Thank you."
]]
(else-if: $quest's q4 is "done")[Cass greets you with a slight bow.<p>"This house holds many secrets, and some of which we might never see confirmation. It's hard when we can only speculate, is it not?"
]
<p>[[West Wing]]
}{(if: $quest's q4 is "started")[
(if: $hnpc2 is 0)[A crayon of (either: "yellow", "red", "blue", "green", "pink", "purple", "indigo", "navy", "teal", "brown", "white", "black", "grey", "orange") hue (although it's all the same to you) lifts and begins drawing on a blank sheet of paper, and a form quickly comes into view surrounding it. A bored-looking ghost continues drawing until you make a small yip.<p>
"Oh, hello," says the ghost. "My name is Cris, and I'm just trying to pass the time. I've done all these puzzles so many times, I long for something new. I can't get any new puzzles, but it's always a fresh experience to see something through someone else's eyes, you know?" Cris looks you up and down. "So, would you like to try my favorite crossword? It's all about fears. To keep things interesting, I'll give you one minute. I've done most of the puzzle, though."<p>
(link: "Attempt the Puzzle")[(set: $counter to 60)(go-to: "Short CW")]<br>
]
(else:)["If you want to try the puzzle again, come back in a bit," Cris says. "You've inspired me to start making my own puzzles, but that will be a bit before they're ready. You can always try the full phobia puzzle in a bit, if you want though."<p>
]]
(else-if: $quest's q4 is "done")["Why, hello!" Cris greets you cheerfully. "I'm still working on new puzzles, but if you don't want to become rusty, you can try to do the full Phobia Crossword yourself. I'll even give you a minute and a half!"<p>
(link: "Attempt the Puzzle")[(set: $counter to 90)(go-to: "Crossword Puzzle")]
]
<p>[[Basement]]
}{(if: $quest's q4 is "started")[
(if: $hnpc3 is 0)[A bit of translucent ectoplasm starts leaking out of the lock, and pools at your paws. You scramble away as it takes shape into a ghost that stretches and yawns.<p>
"I wondered who was jostling my trunk," the ghost says. "Awfully clumsy. Far too clumsy to pick a lock."<p>
Your elongated spine straightens at this insult, and your ears defiantly tilt forward, rousing a deep chuckle from the ghost.<p>
"Tell you what, I'll give you a fair chance to play my game," he says. "By the way, my name is Cole. If you do a well enough job, I might give you a shot at my other locks. I have a very large and diverse collection."<p>
[[Pick the Lock|Lock Picking Puzzle]]
]
(else:)["You surprised me, which doesn't happen often," Cole admits. "Come back in a bit, and I hope to have more locks ready for your practiced paw."
]]
(else-if: $quest's q4 is "done")[You can see that Cole is hard at work over a lock, twisting the pick to and fro with a precise hand. He only looks up when he is good and ready.<p>
"So, are you ready to try again? This one is a bit different. The position of the tumblers don't matter, but the order in which you move them does. I also have a new, harder speed lock like you did before."<p>
You look over both of the locks, feeling confident.<p>
"Just so you know, you can practice up to three times on any combination of locks, but after that, I need to clean them for the next day to make sure the springs stay responsive. Are you up for this?"<p>
(if: $dailylock < 3)[
[[Accuracy Lock|AC Lock]]<br>
[[Speed Lock|SP Lock]]
](else:)["Actually, I had better clean these. You don't want them to jam and become useless. Come back tomorrow to try again," Cole says, shooing you away.]
]
<p>[[Master Bedroom]]
}{
(set: $crosswordscore to 0)
Click on the clues to submit an answer. Please submit answers in all lowercase. Some may have more than one answer, but only one is accepted. Try all acceptable answers if you feel stuck.<p>
Start
(click-replace: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "Short CW Score")]
(if: $crosswordscore is 8)[(go-to: "Short CW Score")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><p>
####Across<h4>
<br>[(link-repeat: "1 Fear of Birds")[<p>
[(put: (prompt: "Fear of Birds", "13 Letters") into $W1)]
(if: $W1 is "ornithophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W1)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W1|
<br>[(link-repeat: "4 Fear of Bicycles")[<p>
[(put: (prompt: "Fear of Bicycles", "11 Letters") into $W2)]
(if: $W2 is "cyclophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W2)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W2|
<br>[(link-repeat: "7 Fear of Children")[<p>
[(put: (prompt: "Fear of Children", "10 Letters") into $W3)]
(if: $W3 is "pedophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W3)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W3|
<br>[(link-repeat: "9 Fear of Confined Spaces")[<p>
[(put: (prompt: "Fear of Confined Spaces", "14 Letters") into $W4)]
(if: $W4 is "claustrophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W4)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W4|
<p>
####Down<h4>
<br>[(link-repeat: "2 Fear of Bullets")[<p>
[(put: (prompt: "Fear of Bullets", "14 Letters") into $W19)]
(if: $W19 is "ballistophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W19)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W19|
<br>[(link-repeat: "3 Fear of Certain Fabrics")[<p>
[(put: (prompt: "Fear of Certain Fabrics", "11 Letters") into $W20)]
(if: $W20 is "textophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W20)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W20|
<br>[(link-repeat: "4 Fear of Computers")[<p>
[(put: (prompt: "Fear of Computers", "11 Letters") into $W21)]
(if: $W21 is "cyberphobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W21)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W21|
<br>[(link-repeat: "5 Fear of Clocks or Time")[<p>
[(put: (prompt: "Fear of Clocks or Time", "12 Letters") into $W22)]
(if: $W22 is "chronophobia")[(color: green)[Correct!(set: $crosswordscore to it + 1)(replace: ?W22)[Done]<p>]]
(else:)[(color: red)[Wrong!<p>]]
]]<W22|
]
}{
Cris looks over the puzzle and checks it against the answer key. "You solved $crosswordscore of the crossword clues.(if: $crosswordscore is 8)[ Congratulations! Have some bones."(if: $prestige > 0)[(set: $bones to it + (5 * $prestige))](else:)[(set: $bones to it + 5)] You now have $bones bones.(set: $hnpc2 to 1)<p>](else:)[ You can do better."<p>]
[[Basement]]
}{
(set: $lockwin to 0)
(set: $TO to 0)
Move your pick across the tumblers to pick the locks. Order matters here, and if you get it wrong, you have to start the pattern over!<p>
(set: $lockscore to 0)
(set: $counter to 30)
Start
(click-replace: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "AC Lock Lose")]
(if: $lockwin is 5)[(go-to: "AC Lock Win")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><p>
(link-repeat: "First Tumbler")[<p>(replace: ?1st)[][You wiggle your pick at the first tumbler.(set: $TO to it + 1)
(if: $TO is 1)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $TO is 2)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 3)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 4)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 5)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<1st|]
<p>(link-repeat: "Second Tumbler")[<p>(replace: ?2nd)[][You wiggle your pick at the second tumbler.(set: $TO to it + 1)
(if: $TO is 1)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 2)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 3)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $TO is 4)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 5)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<2nd|]
<p>(link-repeat: "Third Tumbler")[<p>(replace: ?3rd)[][You wiggle your pick at the third tumbler.(set: $TO to it + 1)
(if: $TO is 1)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 2)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 3)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 4)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 5)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
]<3rd|]
<p>(link-repeat: "Fourth Tumbler")[<p>(replace: ?4th)[][You wiggle your pick at the fourth tumbler.(set: $TO to it + 1)
(if: $TO is 1)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 2)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $TO is 3)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 4)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 5)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<4th|]
<p>(link-repeat: "Fifth Tumbler")[<p>(replace: ?5th)[][You wiggle your pick at the fifth tumbler.(set: $TO to it + 1)
(if: $TO is 1)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 2)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 3)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
(else-if: $TO is 4)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $TO is 5)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<5th|]
]
}{(set: $lockwin to 0)(set: $1L1T to 0)(set: $1L2T to 0)(set: $1L3T to 0)(set: $2L1T to 0)(set: $2L2T to 0)(set: $2L3T to 0)(set: $2L4T to 0)(set: $3L1T to 0)(set: $3L2T to 0)(set: $3L3T to 0)(set: $3L4T to 0)(set: $3L5T to 0)(set: $1L1TA to (random: 1,6))(set: $1L2TA to (random: 1,6))(set: $1L3TA to (random: 1,6))(set: $2L1TA to (random: 1,6))(set: $2L2TA to (random: 1,6))(set: $2L3TA to (random: 1,6))(set: $2L4TA to (random: 1,6))(set: $3L1TA to (random: 1,6))(set: $3L2TA to (random: 1,6))(set: $3L3TA to (random: 1,6))(set: $3L4TA to (random: 1,6))(set: $3L5TA to (random: 1,6))
You see a chain of three locks, each increasing in difficulty. Move your pick across the tumblers to pick the locks. Order doesn't matter, but make sure each one latches.<p>
(set: $lockscore to 0)(set: $counter to 60)
Start
(click-replace: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "SP Lock Lose")]
(if: $lockwin is 12)[(go-to: "SP Lock Win")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><p>
####Lock 1<h4><p>
<br>
(link-repeat: "First Tumbler")[<p>(replace: ?1st)[][You wiggle your pick at the first tumbler.(set: $1L1T to it + 1)
(if: $1L1T is $1L1TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $1L1T is ($1L1TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $1L1T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<1st|]
<br>
(link-repeat: "Second Tumbler")[<p>(replace: ?2nd)[][You wiggle your pick at the second tumbler.(set: $1L2T to it + 1)
(if: $1L2T is $1L2TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $1L2T is ($1L2TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $1L2T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<2nd|]
<br>
(link-repeat: "Third Tumbler")[<p>(replace: ?3rd)[][You wiggle your pick at the third tumbler.(set: $1L3T to it + 1)
(if: $1L3T is $1L3TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $1L3T is ($1L3TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $1L3T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<3rd|]<p>
####Lock 2<h4><p>
(link-repeat: "First Tumbler")[<p>(replace: ?21)[][You wiggle your pick at the first tumbler.(set: $2L1T to it + 1)
(if: $2L1T is $2L1TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $2L1T is ($2L1TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $2L1T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<21|]
<br>
(link-repeat: "Second Tumbler")[<p>(replace: ?22)[][You wiggle your pick at the second tumbler.(set: $2L2T to it + 1)
(if: $2L2T is $2L2TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $2L2T is ($2L2TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $2L2T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<22|]
<br>
(link-repeat: "Third Tumbler")[<p>(replace: ?23)[][You wiggle your pick at the third tumbler.(set: $2L3T to it + 1)
(if: $2L3T is $2L3TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $2L3T is ($2L3TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $2L3T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<23|]
<br>
(link-repeat: "Fourth Tumbler")[<p>(replace: ?24)[][You wiggle your pick at the third tumbler.(set: $2L4T to it + 1)
(if: $2L4T is $2L4TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $2L4T is ($2L4TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $2L4T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<24|]<p>
####Lock 3<h4><p>
(link-repeat: "First Tumbler")[<p>(replace: ?31)[][You wiggle your pick at the third tumbler.(set: $3L1T to it + 1)
(if: $3L1T is $3L1TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $3L1T is ($3L1TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $3L1T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<31|]
<br>
(link-repeat: "Second Tumbler")[<p>(replace: ?32)[][You wiggle your pick at the first tumbler.(set: $3L2T to it + 1)
(if: $3L2T is $3L2TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $3L2T is ($3L2TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $3L2T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<32|]
<br>
(link-repeat: "Third Tumbler")[<p>(replace: ?33)[][You wiggle your pick at the second tumbler.(set: $3L3T to it + 1)
(if: $3L3T is $3L3TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $3L3T is ($3L3TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $3L3T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<33|]
<br>
(link-repeat: "Fourth Tumbler")[<p>(replace: ?34)[][You wiggle your pick at the third tumbler.(set: $3L4T to it + 1)
(if: $3L4T is $3L4TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $3L4T is ($3L4TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $3L4T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<34|]
<br>
(link-repeat: "Fifth Tumbler")[<p>(replace: ?35)[][You wiggle your pick at the third tumbler.(set: $3L5T to it + 1)
(if: $3L5T is $3L5TA)[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else-if: $3L5T is ($3L5TA + 1))[(color: red)[You hear a snap as the tumbler springs loose.](set: $3L5T to 0)(set: $lockwin to it - 1)]
(else:)[You hear the tumbler move up, but it's not quite right.]
]<35|]
]
}{(set: $dailylock to it + 1)
(color: green)["Well, I'll be...You picked the lock!"] Cole says, surprised. You both lean over to look in the trunk. There's a few odds and ends in there, but nothing too cool. The important thing was the journey, right, and not the reward? Oh wait! There's a bone!(if: $prestige > 0)[(set: $bones to it + (5*$prestige))](else:)[(set: $bones to it + 5)] You now have $bones bone(if: $bones is not 1)[s].<p>
(set: $lockchievo to it + 1)(if: $lockchievo is 10)[You've unlocked an Achievement! Go to the Bone Shed to see it.(set: $achievement's a8 to "true")](else-if: $lockchievo is 25)[You've unlocked an Achievement! Go to the Bone Shed to see it.(set: $achievement's a9 to "true")(set: $skeletonKey to "true")]
<p>[[Back|HNPC3]]
}{
(color: red)[The lock slams shut tight.] "Have to be a bit quicker!" Cole chides you.<p>
[[Back|HNPC3]]
}{(set: $dailylock to it + 1)
(color: green)["Well, I'll be...You picked the lock!"] Cole says, surprised. You both lean over to look in the trunk. There's a few odds and ends in there, but nothing too cool. The important thing was the journey, right, and not the reward? Oh wait! There's a bone!(if: $prestige > 0)[(set: $bones to it + (10*$prestige))](else:)[(set: $bones to it + 10)] You now have $bones bone(if: $bones is not 1)[s].<p>
(set: $lockchievo to it + 1)(if: $lockchievo is 10)[You've unlocked an Achievement! Go to the Bone Shed to see it.(set: $achievement's a8 to "true")](else-if: $lockchievo is 25)[You've unlocked an Achievement! Go to the Bone Shed to see it.(set: $achievement's a9 to "true")(set: $skeletonKey to "true")]
<p>[[Back|HNPC3]]
}{
(color: red)[The lock slams shut tight.] "Have to be a bit quicker!" Cole chides you.<p>
[[Back|HNPC3]]
}{(if: (history:) contains "Mole Castle")[Y](else:)[You walk across the drawbridge, full of trepidation. You look into the dark, murky moat as you pass overhead, and you think you see something moving through the water. As you enter the castle, y]ou see that there's a large pile of ore in the center of the room, and just beyond it on a platform is the [throne]<chief|. It's a rocky structure with jutting stalactites and broken stalagmites that form a crest along the regal chair's back, and there's a fiece-looking mole slumped in it.<p>
(click: ?chief)[(go-to: "Mole Chief")]
(if: $quest's q7 is "started")[You see a pair of moles, almost identical, working furiously on each side of the large pile of ore. They occasionally glare at each other as they move around in their frantic search. Do you approach the [left]<left| one, or the [right]<right| one?
(click: ?left)[(if: $mnpc1 is 0)[<p>You approach the mole on the left, and he immediately looks up. Dull ores fall from between his claws as he eyes you, contempt growing on his face.<p>
"If you're here to see my brother, Mite, he's over there." You look over to the other mole, still scrutinizing the ores from the pile. "We're having a contest for who can find the biggest sapphire, and I'm determined to win. Say, you look like you've gotten your paws dirty before. If you find any sapphires, bring them here. You might want to try the quarry, as I've got this pile covered."
(if: $rawMaterial's sapphire > 0 and $mnpc1 is 0)[<p>"Ah, thank you. This should be big enough!" Tite says, plucking the biggest sapphire from your grasp. "Many thanks. I can't wait to see the look on Mite's face."(set: $rawMaterial's sapphire to it - 1)(set: $mnpc1 to 1)]](else:)[<p>"Thanks again for the sapphire," Tite says. "I'm on my way to see Mite."]]
(click: ?right)[(if: $mnpc2 is 0)[<p>You approach the mole on the right, and he immediately looks up. Dull ores fall from between his claws as he eyes you, contempt growing on his face.<p>
"If you're here to see my brother, Tite, he's over there." You look over to the other mole, still scrutinizing the ores from the pile. "We're having a contest for who can find the biggest ruby, and I'm determined to win. Say, you look like you've gotten your paws dirty before. If you find any rubies, bring them here. You might want to try the quarry, as I've got this pile covered."
(if: $rawMaterial's ruby > 0 and $mnpc2 is 0)[<p>"Ah, thank you. This should be big enough!" Mite says, plucking the biggest ruby from your grasp. "Many thanks. I can't wait to see the look on Tite's face."(set: $rawMaterial's ruby to it - 1)(set: $mnpc2 to 1)]](else:)[<p>"Thanks again for the ruby," Mite says. "I'm on my way to see Tite."]]
]
<p>[[Leave the Castle|Mole Kingdom]]
}{
(set: $mathquiznum to 0)
(set: $mathscore to 0)
(if: (history:) contains "Deep Tunnel")[You traverse the length of the tunnel. (if: (history:) contains "Mole Chief")[You pay special attention to the [cave drawings]<d|, a beautiful sprawling history. (click: ?d)[Is it just your imagination, or does one of the drawings resemble you? Probably not. It's best not to be narcissitic.]]<p>
"Well, if it isn't $corgiName," says Soyle, letting her pickaxe fall after a powerful swing. "Did you know that they call me the 'Mole that Could'? When I first started mining, everyone doubted me. Until I bested them all in math, and saved a cave-in with a special formula for dynamite. That's a story for another day, though." She wipes at her brow, and you know what she's going to ask.<p>]
(else:)[You walk warily down the deep tunnel as the shadows shift against the rocky wall from the swaying lanterns strung above. Although there is no wind, there is a constant deep rumbling of life within the rock, and you can only assume it's from mining within the kingdom.<p>
The path twists and turns, and you start to feel heavily that each step forward is another inevitable step back, and you're not sure if whatever reward at the end of the tunnel is worth it.<p>
On the wall you see vague drawings, scratched into the hard-packed dirt. They span the length of the tunnel, a crudely recorded history of the kingdom.<p>
Just as you decide to head back, you hear a clinking ahead of you, and you come up on a solid end with a soft glow from a grounded lantern. There's a lone mole with light brown fur, swinging a pickaxe against a mineral vein in the wall. As you pad up to her, she turns around with a curious look on her long-snouted face.<p>
"Well, it's not every day we get a surface-dweller as a visitor," she says, letting the pickaxe rest against the wall. You wag your nubby tail and plop down, looking interested in what she's doing. "My name is Soyle, and I'm a miner for the Chief. Do you know what the key to mining is?"<p>
You look at the pickaxe pointedly, but she shakes her head.<p>
"Many people think it's all about how well you handle a pickaxe, but the real key is math. You need to know angles, percentages of breakages, just exactly how much dynamite to use, and volume with spatial reasoning. From the physical and financial side, it can get complicated. Math is essential - all kinds of it. If you like, I'll test to see if you have what it takes to be a miner."<p>
You look at the pickaxe nervously.<p>]
(if: $dailymath is "false")[
["Would you like to take my Math Quiz?"]<prompt|<p>
[Yes]<yes|<p>(click: ?yes)[[
["Then let's begin. I'll pose each question as a stated fact, and you select whether it's true or false. Your score will be given at the end, which is when five questions are answered. Questions are random and may be repeated. Good luck!"]<intro|<p>
[(set: $question to (either: ...$mathquiz))(print: $question)]<question|
]
|=
(hook: "true")[(link-repeat: "True")[(replace: ?answer)[] [(if: $question is $mathquiz's 1st)[(color: green)[Correct!](set: $mathscore to it +1)](else-if: $question is $mathquiz's 2nd)[(color: red)[Wrong...]](else-if: $question is $mathquiz's 3rd)[(color: red)[Wrong...]](else-if: $question is $mathquiz's 4th)[(color: red)[Wrong...]](else-if: $question is $mathquiz's 5th)[(color: green)[Correct!](set: $mathscore to it +1)]]<answer|(set: $mathquiznum to it + 1)(if: $mathquiznum is 5)[(replace: ?question, ?false, ?true, ?yes, ?prompt, ?intro)[](show: ?score)](else:)[(replace: ?question)[(set: $question to (either: ...$mathquiz))(print: $question)]]]]
=|
(hook: "false")[(link-repeat: "False")[(replace: ?answer)[] [(if: $question is $mathquiz's 1st)[(color: red)[Wrong...]](else-if: $question is $mathquiz's 2nd)[(color: green)[Correct!](set: $mathscore to it +1)](else-if: $question is $mathquiz's 3rd)[(color: green)[Correct!](set: $mathscore to it +1)](else-if: $question is $mathquiz's 4th)[(color: green)[Correct!](set: $mathscore to it +1)](else-if: $question is $mathquiz's 5th)[(color: red)[Wrong...]]]<answer|(set: $mathquiznum to it + 1)(if: $mathquiznum is 5)[(replace: ?question, ?false, ?true, ?yes, ?prompt, ?intro)[](show: ?score)](else:)[(replace: ?question)[(set: $question to (either: ...$mathquiz))(print: $question)]]]]]]
[(if: $quest's q9 is "done")[](else:)[(set: $quest's q9 to "started")]"Thanks for trying my quiz! Let's see...You had $mathscore correct answer(if: $mathscore is not 1)[s].(set: $dailymath to "true")
(if: $mathscore < 5)[ Oh, gee. I think you can do better! Try again tomorrow, okay?"<p>]
(else:)[ You did great! Here, have some bones." (if: $prestige > 0)[(set: $bones to it + (2 * $prestige))](else:)[(set: $bones to it + 2)]You now have $bones bones.<p>(if: $quest's q9 is "started")["Since this is the first time you've completed my quiz, you just completed the quest //'The Mole that Could'//! Congratulations."(set: $quest's q9 to "done")]]
](score|
|=|
(else:)[You've already taken my quiz today. Come back tomorrow to try again.<p>]
[[Leave Deep Tunnel|Mole Kingdom]]
}{
|intro>[You stumble into the quarry, tripping over some rocks as you head into the pit. You gather yourself, looking around warily and hoping no one saw that. Luckily, everyone is hard at work. You can see that there's two main floors to this mine, with a smattering of moles working on each. You approach a mole wearing a hard hat who looks like he knows what he's doing, and he immediately turns to look at you.<p>
"Hello. Are you a new miner? My name is Kayve, and I'm the superviser here," he says, squinting at your collar's tag. "And you are...$corgiName. Welcome aboard."<p>](if: (history:) contains "mine init")[(replace: ?intro)[]]
Kayve directs you over to an unoccupied set of rocks, but you're still not sure what to do, and he nods, sensing that.<p>
"You can work as much as you feel like, and you can keep any gems you unearth at the end. Anyone that knows anything about mining will tell you how important math is, so you'll be needing that to mine. Just answer the questions as best you can, with all involved letters as lowercase. Make sure there's no spaces at either end of your answer, and there's a single space between the numbers and operators for more complex answers, like this:<br>
1 + 1 = 2<br>
It may take a few tries to get used to it, but don't despair. We'll always be here for you to practice. Just remember, rarer jewels are found on the upper mine, but the questions are much harder. Questions are random and may be repeated."<p>
[[Lower Mine]]<br>
[[Upper Mine]]<br>
[[Leave Quarry|Mole Kingdom]]
}{
[(put: (prompt: "Solve [(x - 3) / 2] = [(x + 2) / 3]", "Answer") into $Q)]
(if: $Q is "13")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve [(x - 2) / 7] = [(x + 5) / 6]", "Answer") into $Q)]
(if: $Q is "-47")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve -35x + 7y - 63 = 0 for y.", "y =") into $Q)]
(if: $Q is "5x + 9")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve 40x - 5y - 35 = 0 for y.", "y =") into $Q)]
(if: $Q is "y = 8x - 7")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve 7[4 - (7x - 8)] + 7x = 0.", "Answer") into $Q)]
(if: $Q is "2")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve 4[3 - (3x - 5)] + 7x = 0.", "Answer") into $Q)]
(if: $Q is "32 / 5")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "The local supermarket has reduced prices by 8% on everything to thank their customers for their patronage. If a large candy bar cost $2.99 before the price reduction, how much does it cost now? (Round your answer to the nearest penny.)", "Answer") into $Q)]
(if: $Q is "$2.75")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "The local supermarket has reduced prices by 16% on everything to thank their customers for their patronage. If a small carton of ice cream cost $2.99 before the price reduction, how much does it cost now? (Round your answer to the nearest penny.)", "Answer") into $Q)]
(if: $Q is "$2.51")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve |-10x - 20| = |-6x - 60|", "Answer") into $Q)]
(if: $Q is "{ -5, 10 }")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve |-10x - 53| = |-8x - 73|", "Answer") into $Q)]
(if: $Q is "{ -7, 10 }")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve -69 < 8x + 3 < or = 27. Express your answer in interval notation.", "Answer") into $Q)]
(if: $Q is "(-9, 3]")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Solve 27 < 12x - 9 < or = 39. Express your answer in interval notation.", "Answer") into $Q)]
(if: $Q is "(3, 4]")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "One positive number is 18 times another positive number. The difference between the two numbers is 136. Find the two numbers.", "Answer") into $Q)]
(if: $Q is "8, 144")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "One positive number is 12 times another positive number. The difference between the two numbers is 77. Find the two numbers.", "Answer") into $Q)]
(if: $Q is "7, 84")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Find the distance between (5, 0) and (2, -3). Round your answer, if necessary, to 2 decimal places.", "Answer") into $Q)]
(if: $Q is "4.24")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "Find the distance between (4, 0) and (-5, 1). Round your answer, if necessary, to 2 decimal places.", "Answer") into $Q)]
(if: $Q is "9.06")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
(if: $quest's q8 is "false")[
When you get to the moat, you see a slow-moving lump in the water. Two rubbery ears twitch to and fro', and you realize there is a sizeable hippo relaxing underneath the water.<p>
One mole sits glumly at the bank, tossing different kinds of fruit in. He looks up as you approach.<p>
"Well, howdy. My name is Stohn. I'm just trying to find a food that Big Bertha will like. I fear she's getting rather bored with her usual diet. It's my job to keep her happy, but I fear I'm not doing a very good job. I think she wants something more exotic, from a far-off land."
(if: $rawMaterial's starfruit > 0)[
<p>Two large, rubbery nostrils rise out of the water and glide towards you. Fervent sniffing assures you stay firmly on the bank of the moat.<p>
"Well, whaddaya know," says Stohn. "She seems interested in some of your Starfruit."<p>
Big Bertha peeks out of the water at the mention of the fruit, and you lean forward tentatively, booping noses in greeting.<p>
"She needs quite a bit to feed her, though. I think 25 pieces should do it."
<p>(link: "Wag and Nod")[
(set: $quest's q8 to "started")
(if: $rawMaterial's starfruit >= 25)[
<p>(link: "Give 25 Starfruit")[Big Bertha surges forward, putting her webbed toes on the bank. Her wide maw opens, and you and Stohn take turns tossing in the starfruit.<p>
"I think that'll hold her over for a while," Stohn says, watching as Big Bertha happily floats in the water. "Thank you, $corgiName. Feel free to come visit sometime."<p>
(set: $rawMaterial's starfruit to it - 25)
(set: $quest's q8 to "done")
//Quest 'Hungry, Hungrier, Hungriest Hippo' Complete//
]]]
]
]
(else-if: $quest's q8 is "started")[
Stohn greets you as you approach the moat. "Did you get 25 pieces of Starfruit yet?"
(if: $rawMaterial's starfruit >= 25)[
<p>(link: "Give 25 Starfruit")[Big Bertha surges forward, putting her webbed toes on the bank. Her wide maw opens, and you and Stohn take turns tossing in the starfruit.<p>
"I think that'll hold her over for a while," Stohn says, watching as Big Bertha happily floats in the water. "Thank you, $corgiName. Feel free to come visit sometime."<p>
(set: $rawMaterial's starfruit to it - 25)
(set: $quest's q8 to "done")
//Quest 'Hungry, Hungrier, Hungriest Hippo' Complete//
]]
]
(else:)[
You see Stohn and Big Bertha playing along the bank. You watch for a while, basking in the relaxing environment.
]
<p>[[Head Back|Mole Kingdom]]
}(append: ?Sidebar)[
<!-- (link: "Donate")[(open-url: "https://www.paypal.me/LucasCWheeler")]<p> -->
(link:"Save Game")[
(if:(save-game: $corgiName))[
Game saved!
](else: )[
Sorry, I couldn't save your game.
]
]<p>(if: (saved-games:) contains $corgiName)[(link: "Load game: " + ($corgiName) of (saved-games:))[
(load-game: $corgiName)
]]<p>[[Credits]]
]
<!-- (enchant: ?Page, (text-color: black)+(background: #45e6ff)) -->{
(set: $mine to "lower")
(set: $miningscore to 0)
(set: $counter to 15)
Start
(click-replace: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "mining end")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><p>
(link-repeat: "Next Question")[<p>(display: (either: "Q21", "Q22", "Q23", "Q24", "Q25", "Q26", "Q27", "Q28", "Q29", "Q30", "Q31", "Q32", "Q33", "Q34", "Q35", "Q36", "Q37", "Q38", "Q39", "Q40"))]
]
}{
[(put: (prompt: "9 x 12", "Answer") into $Q)]
(if: $Q is "108")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "10 x 11", "Answer") into $Q)]
(if: $Q is "110")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "8 x 2", "Answer") into $Q)]
(if: $Q is "16")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "11 x 8", "Answer") into $Q)]
(if: $Q is "88")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "9 x 6", "Answer") into $Q)]
(if: $Q is "54")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "8 x 7", "Answer") into $Q)]
(if: $Q is "56")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "8 x 3", "Answer") into $Q)]
(if: $Q is "24")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "9 x 2", "Answer") into $Q)]
(if: $Q is "18")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "11 x 11", "Answer") into $Q)]
(if: $Q is "121")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "8 x 6", "Answer") into $Q)]
(if: $Q is "48")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "10 x 3", "Answer") into $Q)]
(if: $Q is "30")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "9 x 9", "Answer") into $Q)]
(if: $Q is "81")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "10 x 9", "Answer") into $Q)]
(if: $Q is "90")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "8 x 4", "Answer") into $Q)]
(if: $Q is "32")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "11 x 3", "Answer") into $Q)]
(if: $Q is "33")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "9 x 3", "Answer") into $Q)]
(if: $Q is "27")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "12 x 4", "Answer") into $Q)]
(if: $Q is "48")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "11 x 4", "Answer") into $Q)]
(if: $Q is "44")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "12 x 7", "Answer") into $Q)]
(if: $Q is "84")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
[(put: (prompt: "9 x 8", "Answer") into $Q)]
(if: $Q is "72")[(replace: "answer")[](color: green)+(hook: "answer")[Correct!(set: $miningscore to it + 1)<p>]]
(else:)[(replace: "answer")[](color: red)+(hook: "answer")[Wrong!<p>]]
}{
Writer: Lucas C. Wheeler<br>
Programmer: Lucas C. Wheeler<br>
(link: "Website")[(open-url: "https://lucascwheeler.com")]<p>
Beta Testers:<br>
StarredPegasus<br>
MetalPharaoh<p>
[[Back to Game|main]]
}{You head home for the day, not realizing you had spent so much time in the clouds with Sherry. You gaze at the beautiful sunset and reflect on your time.<p>
(if: $friendSherry is 0)[
(if: $indexS1 is 2)[(color: green)[You feel like you had a great conversation with Sherry. You love the relaxed atmosphere.(set: $friendSherry to 1)]]
(else-if: $indexS1 is 1)[You had a pleasant chat with Sherry, but feel it could be better.]
(else:)[(color: red)[When you're done talking with Sherry, you feel like you hadn't brought your Corgi A-game today. Perhaps next time.]]
]
(else-if: $friendSherry is 1)[
(if: $indexS2 is 3)[(color: green)[You really enjoy hearing about Sherry's vibrant life, even if she's slowed down in her advanced years.(set: $friendSherry to 2)]]
(else-if: $indexS2 is 1)[You had a pleasant chat with Sherry, but feel it could be better.]
(else:)[(color: red)[When you're done talking with Sherry, you feel like you hadn't brought your Corgi A-game today. Perhaps next time.]]
]
(else-if: $friendSherry is 2)[
(if: $indexS3 is 1)[(color: green)[You relax as you hear the stories contained in the memorabilia in the dusty leather trunk. The antiques rattle together as Sherry fishes out new items to tell you about. That's the sound of friendship, isn't it?(set: $friendSherry to 3)(set: $achievement's a3 to "true")]]
(else-if: $indexS3 is 2)[You had a pleasant chat with Sherry, but feel it could be better.]
(else:)[(color: red)[When you're done talking with Sherry, you feel like you hadn't brought your Corgi A-game today. Perhaps next time.]]
]
(else:)[You can't possibly be better friends with Sherry.]
<p>[[Night Night|Hammock]]
}{
(set: $lockwin to 0)
(set: $TO to 0)
(set: $a to (a: "TO1", "TO2", "TO3", "TO4", "TO5"))
(set: $ak to (shuffled: ...$a))
Move your pick across the tumblers to pick the locks. Order matters here, and if you get it wrong, you have to start the pattern over!<p>
(set: $lockscore to 0)
(set: $counter to 30)
Start
(click-replace: "Start")[
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[(go-to: "AC Lock Lose")]
(if: $lockwin is 5)[(go-to: "AC Lock Win")]
(replace: ?amount)[$counter]
]<center>You have |amount>[$counter] seconds left!</center><p>
(link-repeat: "First Tumbler")[<p>(replace: ?1st)[][You wiggle your pick at the first tumbler.(set: $TO to it + 1)
(if: $ak's $TO is "TO1")[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else:)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<1st|]
<p>(link-repeat: "Second Tumbler")[<p>(replace: ?2nd)[][You wiggle your pick at the second tumbler.(set: $TO to it + 1)
(if: $ak's $TO is "TO2")[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else:)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<2nd|]
<p>(link-repeat: "Third Tumbler")[<p>(replace: ?3rd)[][You wiggle your pick at the third tumbler.(set: $TO to it + 1)
(if: $ak's $TO is "TO3")[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else:)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<3rd|]
<p>(link-repeat: "Fourth Tumbler")[<p>(replace: ?4th)[][You wiggle your pick at the fourth tumbler.(set: $TO to it + 1)
(if: $ak's $TO is "TO4")[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else:)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<4th|]
<p>(link-repeat: "Fifth Tumbler")[<p>(replace: ?5th)[][You wiggle your pick at the fifth tumbler.(set: $TO to it + 1)
(if: $ak's $TO is "TO5")[(color: green)[You hear the tumbler latch into place.](set: $lockwin to it + 1)]
(else:)[(color: red)[You hear a snap as the tumbler springs loose.](set: $TO to 0)(set: $lockwin to it - 1)]
]<5th|]
]
}{
"Well, good morning!" The Pomeranian stops and gives you a bright canine smile. "I hope you don't mind me taking a shortcut. I have to get these back home," she gestures to the cart, "which is quite far away."<p>
You nod, understanding that she could use all the help she could get. How even is such a small dog showing such an act of strength?<p>
"Say, $corgiName," she says, peering at your tag. "Do you have anything to |yes>[trade] for bones?"
(click: ?yes)[<p>You nod and look over at her cart where the bones are peeking out.<p>
"Excellent! I'm currently trading for $buy1, $buy2, and $buy3."<p>
Trade (print: $buy1) |1>[1] |5>[5] |10>[10]<br>
Trade (print: $buy2) |2>[1] |6>[5] |11>[10]<br>
Trade (print: $buy3) |3>[1] |7>[5] |12>[10]<p>
[]<sale|
(click: ?1)[(replace: ?sale)[(if: $rawMaterial's $buy1 < 1)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 1, 5)))](else:)[(set: $loot to (random: 1, 5))]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy1 to it - 1) You now have (print: $rawMaterial's $buy1) $buy1.]]
]
(click: ?5)[(replace: ?sale)[(if: $rawMaterial's $buy1 < 5)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 1, 5) * 5))](else:)[(set: $loot to (random: 1, 5) * 5)]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy1 to it - 5) You now have (print: $rawMaterial's $buy1) $buy1.]]
]
(click: ?10)[(replace: ?sale)[(if: $rawMaterial's $buy1 < 10)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 1, 5) * 10))](else:)[(set: $loot to (random: 1, 5) * 10)]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy1 to it - 10) You now have (print: $rawMaterial's $buy1) $buy1.]]
]
(click: ?2)[(replace: ?sale)[(if: $rawMaterial's $buy2 < 1)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 3, 10)))](else:)[(set: $loot to (random: 3, 10))]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy2 to it - 1) You now have (print: $rawMaterial's $buy2) $buy2.]]
]
(click: ?6)[(replace: ?sale)[(if: $rawMaterial's $buy2 < 5)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 3, 10) * 5))](else:)[(set: $loot to (random: 3, 10) * 5)]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy2 to it - 5) You now have (print: $rawMaterial's $buy2) $buy2.]]
]
(click: ?11)[(replace: ?sale)[(if: $rawMaterial's $buy2 < 10)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 3, 10) * 10))](else:)[(set: $loot to (random: 3, 10) * 10)]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy2 to it - 10) You now have (print: $rawMaterial's $buy2) $buy2.]]
]
(click: ?3)[(replace: ?sale)[(if: $rawMaterial's $buy3 < 1)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 5, 15)))](else:)[(set: $loot to (random: 5, 15))]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy3 to it - 1) You now have (print: $rawMaterial's $buy3) $buy3.]]
]
(click: ?7)[(replace: ?sale)[(if: $rawMaterial's $buy3 < 5)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 5, 15) * 5))](else:)[(set: $loot to (random: 5, 15) * 5)]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy3 to it - 5) You now have (print: $rawMaterial's $buy3) $buy3.]]
]
(click: ?12)[(replace: ?sale)[(if: $rawMaterial's $buy3 < 10)[(color: red)[You don't have enough to trade.]](else:)[(if: $prestige > 0)[(set: $loot to ($prestige * (random: 5, 15) * 10))](else:)[(set: $loot to (random: 5, 15) * 10)]Excellent. Here's $loot bone(if: $loot > 1)[s].(set: $bones to it + $loot) You now have $bones bone(if: $bones > 1)[s].(set: $rawMaterial's $buy3 to it - 10) You now have (print: $rawMaterial's $buy3) $buy3.]]
]
]
<p>[[Wave Goodbye|main]]
}{
(if: $energy < 1)[(goto: "orchard score")]
(set: $orchard to (random: 1, 5))
Fruit: $fruit<br>
Energy: $energy
(if: $quest's q2 is "started")[
(if: $golden is 12)[
<p>You spot a golden hue off into the distance.<br>
(link: "Follow it?")[
You walk briskly, feeling like you are only getting further away. Suddenly, you find yourself right in front of the most gorgeous, scrumptious piece of fruit you've ever seen.<br>
(link: "Pick it up?")[
You pick up the Golden Starfruit!<p>
(set: $starfruit to true)]
]
]
]
<p>
(if: $orchard is 1)[
You head down a path with fluffy trees on each side, spiraling trunks of wispy clouds forming to support the glimmering fruit above you. A tunnel of wispy bushes dot one side of the path. A glimmering silver log is upturned just off the path on the left ahead of you. A pile of shimmering bronze, silver, and gold leaves rest in a pile among a bed of roots.<p>
Where should you look for fruit first?<p>
(link: "Check Bushes")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Log")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Pile of Leaves")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]
]
(else-if: $orchard is 2)[
You turn a corner into a small grove with a circle of young trees with budding fruit. You glance around the clearing, noting some undergrowth of silvery ferns. There’s a trail of bronze acorns encircling one tree, and not too far from that, you can just make out a shadow among some upturned roots.<p>
Where should you look for fruit first?<p>
(link: "Check Ferns")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Acorns")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Roots")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]
]
(else-if: $orchard is 3)[
Heading down a narrow path, you're startled by a bronze raven with bright yellow eyes fluttering away from its silver lining nest. Just ahead of that on the opposite side, there's a large, oddly-shaped rock with many perforations in it. It almost looks fluffy, like whipped yogurt. You hear some splashing, and you come to a small pond of milk sitting just off the path. You peer closely and can see strange shapes fluttering within. One brightly-colored koi comes to the surface, and you're astonished to see that it sports a pair of bovine-like horns.<p>
Where should you look for fruit first?<p>
(link: "Check Nest")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Rock")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Pond")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]
]
(else-if: $orchard is 4)[
Your path is split with the run-off of a flowing river. Instead of water, you see the slow-moving viscous, golden bronze texture of honey. A graceful, dainty fawn-like creature steps up to the stream and leans in for a few licks. It looks up at you and you see the twinkle of its deeply violet eyes that accent the lavender-silvery hues of its coat. It bounds away, kicking up clouds with its sharp hoofprints. In its retreat, a small silvery rodent darts into a hole in a nearby tree.<p>
Where should you look for fruit first?<p>
(link: "Check River")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Hoofprints")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Tree")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]
]
(else-if: $orchard is 5)[
The silvery, luminescent trees and undergrowth get thicker as you traverse the clouded landscape. You step lightly and pause when you catch some movement ahead of you. A flash of a golden pelt, and a silver-tipped, bushy tail, and you barely glimpse the fox disappearing into a den. Across from it, you can make out the buried stash of some food in a hollowed-out hole in the base of a tree. The heavenly waft brings your attention to discarded harvesting tools and baskets near the den.<p>
Where should you look for fruit first?<p>
(link: "Check Den")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Hollow")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]<br>
(link: "Check Basket")[
(set: $find to (either: 0, 1))
(if: $find is 0)[
You've found a star fruit!(set: $fruit to it + 1)
]
(else:)[Well, there's no fruit this time, and you feel a little more tired from the expended effort.(set: $energy to it - 1)]
]
]
<p>
(link-goto: "Explore", "Deep Orchard")<br>
(link-goto: "Leave", "orchard score")
}{
(if: $quest's q2 is "started")[
(if: $starfruit is true)[
"Oh, hey!" Lance immediately notices the golden sheen coming from your basket. "It's a Golden Starfruit!" Seeing his excitement, you quickly nose the golden fruit over and present it to him.<p>
You wag as he regards it, and nod as he picks it up.<p>
"Thank you so much, $corgiName. I'll never forget this."<p>
//Quest 'Fruit of the Stars' Complete!//
(set: $quest's q2 to "done")
]
]
"Let's see how many you got," Lance says, looking at the fruit of your labors. "Hmm...you managed to get $fruit fruit."<p>
He looks over his ledger, muttering some figures, occasionally looking at your hopeful jittering.<p>
(if: $prestige is 0)[
(set: $loot to (round: ($fruit * 0.05)))
(set: $rawMaterial's starfruit to it + $loot)
"Alright, I can give you 5% of the fruit you found. It's the going rate for new workers, you understand. Here's $loot star fruit, so now you have (print: $rawMaterial's starfruit) all together."
]
(else:)[
(if: $prestige is 1)[
(set: $perc to 0.1)
]
(else-if: $prestige is 2)[
(set: $perc to 0.2)
]
(else-if: $prestige is 3)[
(set: $perc to 0.3)
]
(set: $loot to (round: $fruit * $perc))
(set: $rawMaterial's starfruit to it + $loot)
"Alright, I can give you (if: $perc is 0.1)[10](else-if: $perc is 0.2)[20](else-if: $perc is 0.3)[30]% of the fruit you found. You're becoming a regular around these parts, so it's a bit higher than new workers. Here's $loot star fruit, so now you have (print: $rawMaterial's starfruit) all together."
]
(set: $fruit to 0)
(set: $dailyfruit to it + 1)
<p>[[Wave Goodbye|Cloud Kingdom]]
}