[img[img/clock.png]] Time elapsed: <<playtime>>
<span class="unavailable">(Updates on passage load)</span>\
\<<if !tags().includes("hide")>>
<div class="like"><<do>>
Biena:
\<<switch $likeBiena>>
<<case 0>><span class="unavailable">You have not met her yet.</span>
<<case 1>><span class="mid">She is intrigued.</span>
<<case 2>><span class="red">She is not pleased with you.</span>
<<case 3>><span class="green">She is pleased with you.</span>
<</switch>>
\
\Kiara:
\<<switch $likeKiara>>
<<case 0>><span class="unavailable">You have not met her yet.</span>
<<case 1>><span class="mid">She is intrigued.</span>
<<case 2>><span class="red">She is not pleased with you.</span>
<<case 3>><span class="green">She is pleased with you.</span>
<</switch>>
\
\Llew:
\<<switch $likeLlew>>
<<case 0>><span class="unavailable">You have not met him yet.</span>
<<case 1>><span class="mid">He is intrigued.</span>
<<case 2>><span class="red">He is not pleased with you.</span>
<<case 3>><span class="green">He is pleased with you.</span>
<</switch>>
\
\Mark:
\<<switch $likeMark>>
<<case 0>><span class="unavailable">You have not met him yet.</span>
<<case 1>><span class="mid">He is intrigued.</span>
<<case 2>><span class="red">He is not pleased with you.</span>
<<case 3>><span class="green">He is pleased with you.</span>
<</switch>>
\
\Noelle:
\<<switch $likeNoelle>>
<<case 0>><span class="unavailable">You have not met them yet.</span>
<<case 1>><span class="mid">They are intrigued.</span>
<<case 2>><span class="red">They are not pleased with you.</span>
<<case 3>><span class="green">They are pleased with you.</span>
<</switch>>
\
\Shalina:
\<<switch $likeShalina>>
<<case 0>><span class="unavailable">You have not met her yet.</span>
<<case 1>><span class="mid">She is intrigued.</span>
<<case 2>><span class="red">She is not pleased with you.</span>
<<case 3>><span class="green">She is pleased with you.</span>
<</switch>>
\<</do>></div><</if>>\You are travelling through the <<linkappend "Dark Forest." t8n>>
Surrounding you are trees as tall as castles, the chirping of many cicadas, and a persistent cold breeze that makes you long for home. Not that you have one to return to— not anymore.
\<<cycle "$horse">>\
<<option "Applejack">>
<<option "Fluttershy">>
<<option "Pinkie Pie">>
<<option "Rainbow Dash">>
<<option "Rarity">>
<<option "Twilight Sparkle">>
<</cycle>>\
, your horse, carries a few supplies in a saddlebag. Besides them, you have nothing else but a lantern that lights the way just enough to illuminate the gravel path below.
Despite how much you wish you could turn back, there is no choice but to [[keep moving forward.|Deep Woods]]
<</linkappend>>[img[palette.png]]
ILD's Haunted Mansion<<if !tags().includes("hide")>>
<<if tags().includes("math")>>
Mark's Puzzle
<<else>> Current location: <<print passage()>>
<</if>>
<</if>><<set $inventory to["Lantern"]>>
<<set $rotten to[]>>
<<set $likeBiena to 0>>
<<set $likeKiara to 0>>
<<set $likeLlew to 0>>
<<set $likeMark to 0>>
<<set $likeNoelle to 0>>
<<set $likeShalina to 0>>
<<set $complete to false>>
<<set $completeDone to false>>
<<set $firstVisit to 0>>
<<set $horsePet to 0>>
<<set $joke to 0>>
<<set $flirt to false>>
<<set $spray to false>>follow trail
[[enter the broken window|Indoors]]<<set $firstVisit++>>
\ksmfk
<<switch random(0,2)>>
<<case 0>>
\$horse eats an apple out of Ghosty's hand.
<<case 1>>
\$horse turns to look at you intently, as if asking for pets.
<<case 2>>
\$horse gently blows air out of her nose.
<</switch>>
\
<<linkreplace "[img[img/sparkle.png]] Pet $horse" t8n>>\
<<set $horsePet++>>
\<span class="unavailable">You give $horse a good rub on her head between her ears. She nuzzles up to your hand and licks you, satisfied.</span>\
\<<if $horsePet gt 3>>
<span class="unavailable">Times $horse has been pet: $horsePet
You really like doing that, don't you?</span>
<</if>>
\<</linkreplace>>
[img[img/sparkle.png]] [[Talk to Ghosty|Talking to Ghosty]]
\<<if $complete and !$completeDone>>
<span class="unavailable">Ghosty looks like it has something to say.</span>
<</if>>
<<include [[Navigation]]>>description
matching puzzle
description
memory puzzle
Navigation
[[♡ Head back to the lobby|1F - Foyer]]description
<<include [[Navigation]]>>hello
<<if $complete>>
complete
<<elseif ($likeBiena eq 0) or ($likeKiara eq 0) or ($likeLlew eq 0) or ($likeMark eq 0) or ($likeShalina eq 0)>>
\<span class="unavailable">You haven't met all the mansion's available inhabitants yet.</span>\
<<else>>
\<span class="unavailable">You have met all the mansion's available inhabitants.</span>\
<</if>>
<<linkreplace "[img[img/chat.png]] Can I have some tips?" t8n>>
\<<include [[Ghosty's Tips]]>>\
<</linkreplace>>
<<linkreplace "[img[img/chat.png]] Tell me a joke!" t8n>>
\<<include [[Ghosty's Jokes]]>>\
<</linkreplace>>
\
\<<if $flirt>>
[[biena special|Flirting? with Ghosty]]
\<</if>>
[img[img/door.png]] [[Leave the conversation|1F - Foyer]]description
connections puzzle
Navigation
[[♡ Head back to the lobby|1F - Foyer]]description
[[Math Quiz no.1]]
\<<if $inventory.includes("Spray bottle")>>\
\<<run $inventory.pluck("Spray bottle")>>
\<<linkreplace "(Use the spray bottle)" t8n>>
\<span class="unavailable">You sprayed Mark with an unknown liquid.</span>\
"Ow, ow, ow, STOP! Okay, fine, you win."\
<<set $likeMark to 3>>
<<run $inventory.push("Mark's item")>>
<span class="red">Removed 'Spray bottle' from inventory.</span>
<span class="green">Added 'Mark's item' to inventory.</span>\
<</linkreplace>>
<</if>>
\
Navigation
[[♡ Head back to the hallway|2F - Hallway]]description
stars puzzle
Navigation
[[♡ Head back to the hallway|2F - Hallway]]description
get items from other rooms
Navigation
[[♡ Head back to the hallway|2F - Hallway]]DONE
master br mark
animal ghost
annoying ahh doesnt accept your answer if you take too long to respond
can use spray bottle to subdue
NOT
observatory llew
not a ghost, just a vampire who likes using this place and eating unsuspecting travelers
multiple choice what zodiac signs are we, surprise last question is brant
NOT
library biena
maid ghost
have to romance ghosty
give item and choose dialogue to earn points, enough points is a pass
NOT
shrine me
angel
solve dining room puzzle (put items in correct position) to reach shrine
final boss charing, evaluates performance
DONE
kitchen shalina
stressed ghost, used to be the chef here
must help her w recipe instructions
gives you a spray bottle if you have too much trouble w mark
NOT
greenhouse kiara
owner's ghost
have to find her through maze of plants first
organise plants and animals into category<<link "[img[img/bag.png]] Inventory">>
<<script>>
Dialog.setup("Inventory");
Dialog.wikiPassage("Inventory");
Dialog.open();
<</script>>
<</link>>You are currently carrying:
<<if $inventory.length is 0>>
<span class="unavailable">Nothing</span>
\<<else>>
\<span class="green"><<for _i to 0; _i lt $inventory.length; _i++>>
\+ $inventory[_i]
<</for>></span>
\<</if>>
\
<<if $rotten.length gt 0>>
\<span class="red"><<for _r to 0; _r lt $rotten.length; _r++>>
\- $rotten[_r]
<</for>></span>
\<</if>>[[Stop talking to Ghosty|1F - Foyer]]You continue guiding $horse down the trail. It's difficult not to reminisce, even if it only brings painful memories, but you try to distract yourself by thinking about what you're going to do next.
Maybe you'll stay in the town on the other side of the forest for a few days to recuperate before moving on. It wouldn't be sustainable to stay there for long— word travels fast, and there's a decent chance that someone from <<linkreplace "home" t8n>>the last village<</linkreplace>> would come to warn them about you.
<<linkappend "You, the monster they chased away with torches and silver bullets." t8n>>
You, the fool who thought you could keep your true nature hidden enough to finally belong.
[[Manor Grounds]]
<</linkappend>>A figure cloaked in white stands before you. $horse stands behind it, resting her head on what appears to be its shoulder under the white sheet.
"Sorry. Did I scare you?" It says with mirth, clearly not very sorry at all. "I'm Ghosty. 'Cause I'm a ghost. You get it?" When you don't respond after a few seconds, it clears its throat and continues as if nothing happened. "I look after this mansion and its inhabitants. You're the first person to make it here alive since ... nevermind. Could you help me out here for a bit?"
<<linkreplace "[img[img/chat.png]] Inhabitants?" t8n>>
\<span class="unavailable">[img[img/chatDone.png]] Inhabitants?</span>
As the words leave your mouth, a mournful wail is heard from somewhere in the mansion. Ghosty sighs. "That's exactly what I need help with. You see, there are other people here too. People like me and ... like you, I guess. And we've been here for a long, looong time. They've all been going a bit screwy in the head."
<<linkreplace "[img[img/chat.png]] What do you mean?" t8n>>
\<span class="unavailable">[img[img/chatDone.png]] What do you mean?</span>
You get the sense that, behind the white sheet, Ghosty's face has taken on a grim expression. "I usually do a good job placating them myself, but something's really gone wrong this time. The mansion's hungry for something, or someone. I can feel it in my core, and I think the other ghosts can too. There's a ... tension in the air that wasn't there before. It's suffocating."
Ghosty looks you up and down, then cocks its head. "Everything feels much clearer when I look at you," it muses. "Maybe you're the one the mansion's been waiting for."
<<linkreplace "[img[img/chat.png]] What can I do?" t8n>>
\<span class="unavailable">[img[img/chatDone.png]] What can I do?</span>
"Explore the place. Figure out what's ailing the residents." Ghosty shrugs. "Most of the rooms are locked, so I'm sure it won't be hard to find the six people wandering around. They can be pretty high-maintenance, so do a good job at whatever tasks they put you up to, okay? Don't worry— they're friendly for the most part. Unless you really piss them off," it adds with a wink.
"So, what do you say?"
<<linkreplace "[img[img/chat.png]] I'm not going to help." t8n>>
\<span class="unavailable">The mansion will not allow you to leave.</span>\
<</linkreplace>>
<<linkreplace "[img[img/chat.png]] Okay, I'll help out." t8n>>
\<span class="unavailable">[img[img/chatDone.png]] Okay, I'll help out.</span>
\<<run $rotten.push("Small Frog Figurine")>>
<span class="mid">!! [img[img/star.png]] !! Additional sidebar information now available</span>
Ghosty's face lights up with relief. "Great! Here's a good luck charm for you as a token of my appreciation." You feel something materialise in your hand. It's a small wooden figurine of a frog that's been painted blue. You slip it into your pocket for later use. <span class="red">[img[img/bag.png]] Added 'Small Frog Figurine' to inventory.</span>
Ghosty continues, "You can approach me in the <span class="mid">Foyer</span> at any point if you need help. By the way, you can talk to most of the residents in any order, but I recommend checking out the <span class="mid">Master Bedroom</span> on the second floor first. Oh! And don't forget:
<<type 50ms start 3s none>><span class="big">"Y^^o^^~~u~~ h^^a^^~~v~~e ^^b^^~~e~~e^^n^^ ~~w~~a^^r^^~~n~~e^^d^^! [[Mwahahaha!|1F - Foyer]]"</span><</type>>
<</linkreplace>><</linkreplace>><</linkreplace>><</linkreplace>>testing description text
<span class="unavailable">You can't click on this.</span>
(Click to cycle through different options)
The cake is <<cycle "_cake">>\
<<option "strawberry.">>
<<option "vanilla.">>
<<option "chocolate.">>
<<option "matcha.">>
<</cycle>>
"Hi," Ghosty says.
<<linkreplace "(Hello!)" t8n>>
\""
<</linkreplace>>
[[Go somewhere else|Forest]]
<<button "set biena to good favour">>
<<set $likeBiena to 3>>
<<redo>>
<</button>>
<<button "set llew to bad favour">>
<<set $likeLlew to 2>>
<<redo>>
<</button>>
<<button "set mark to mid favour">>
<<set $likeMark to 1>>
<<redo>>
<</button>>What is 50 minus 83?
[[23|Wrong Answer]]
[[-33|Math Quiz no.2]]
[[-999|Wrong Answer]]You did not find the correct answer.
[[(Try again)|Math Quiz no.1]]
[[(Exit quiz)|2F - Master Bedroom]]
\
<<if $spray>>
Psst! You see a spray bottle.
<<linkreplace "(Pick it up)" t8n>>\
<<set $spray to false>>
\<span class="unavailable">You picked up the spray bottle. </span>
<<run $inventory.push("Spray bottle")>>
\<span class="green">Added 'Spray bottle' to inventory. </span>
\Maybe you can use it on Mark?
<</linkreplace>>
<</if>>In Minecraft, how many sticks do you need to craft 20 torches?
[[3.14159 sticks|Wrong Answer]]
[[42 sticks|Wrong Answer]]
[[5 sticks|Math Quiz no.3]]\<<set _seconds to 3>>
\Timer starts now! <span id="countdown">_seconds</span>
\<<silent>>
<<repeat 1s>>
<<set _seconds to _seconds - 1>>
<<if _seconds gt 0>>
<<replace "#countdown">>_seconds<</replace>>
<<else>>
<<goto "Wrong Answer">>
<<stop>>
<</if>>
<</repeat>>
<</silent>>
If Shalina earns 7 watermelons for 63 days of work, how many apples will she earn for 18 days of work if 1 watermelon is equal to 3 apples?
[[22 apples|Wrong Answer]]
[[6 apples|Math Quiz no.4]]
[[18 watermelons|Wrong Answer]]\<<set $spray to true>>
\<<set _seconds to 3>>
\Timer starts now! <span id="countdown">_seconds</span>
\<<silent>>
<<repeat 1s>>
<<set _seconds to _seconds - 1>>
<<if _seconds gt 0>>
<<replace "#countdown">>_seconds<</replace>>
<<else>>
<<goto "Wrong Answer">>
<<stop>>
<</if>>
<</repeat>>
<</silent>>
Calculate the mass of the sun.
<<textbox "_sun" "" autofocus>>You stand in the doorway of the abandoned manor. It's cold, and dark, and dusty ... you want out of here. Immediately. Where could $horse be? Hesitantly, you <<linkappend "step into the manor, holding the lantern out in front of you." t8n>>
\<<set $inventory[0] to "Extinguished Lantern">>
The doors slam shut. Your lantern goes out. In its stead, dozens of candles around the room begin to light themselves one by one, revealing an extravagant-looking foyer. What the hell? Your heart pounds and you <<linkappend "instinctively turn to reach for the door handles when—" t8n>>
<<type 50ms none>><span class="big">[["B O O !"|Talking to ???]]</span><</type>>
<</linkappend>><</linkappend>><<switch $joke>>
<<case 0>>
<<set $joke++>>
<span class="unavailable">[img[img/chatDone.png]] Tell me a joke!</span><br><br>
"Oh? You want to hear a joke?" Ghosty asks, pleasantly surprised.<br>"How about this one: what do you call a street that ghosts haunt? A dead end! You get it?"
<<case 1>>
<<set $joke++>>
<span class="unavailable">[img[img/chatDone.png]] Tell me a joke!</span><br><br>
"Huh? You want another? Well then ... why did the vampire's mother give him medicine? Because he was having a coffin fit!" Ghosty nearly doubles over laughing at this.
<<case 2>>
<<set $joke++>>
<span class="unavailable">[img[img/chatDone.png]] Tell me a joke!</span><br><br>
Ghosty bounces on its feet excitedly. "Okay, okay, I got another one. What do you think is my favourite dessert? Whatever you were thinking— nope, it's I-Scream! Unless, of course, you were thinking that, but I wouldn't know since I didn't give you enough time to answer, and now even if it wasn't, you know the answer so then ..."<br><br>
You tune out of its rambling.
<<case 3>>
<<set $joke++>>
<span class="unavailable">[img[img/chatDone.png]] Tell me a joke!</span><br><br>
"I'll tell you a joke, but first, I need to ask you something. Have you heard about the new word I invented? I call it 'plagiarism'!" Ghosty exclaims.<br><br>
<<linkreplace "[img[img/chat.png]] Pretty fitting given how unoriginal that joke is." t8n>>
<span class="unavailable">[img[img/chatDone.png]] Pretty fitting given how unoriginal that joke is.</span><br><br>
"B-b-but I thought it added to the metatextual narrative of the ..." Ghosty sighs, then hunches over dejectedly. "Fine! You'll see, my next one will be much, much better."
<</linkreplace>>
<<case 4>>
<<set $joke++>>
<span class="unavailable">[img[img/chatDone.png]] Tell me a joke!</span><br><br>
<span class="big">bogos binted?</span><br>
<span class="large">[img[img/binted.png]]</span>
<br>
<<linkreplace "[img[img/chat.png]] Good one!" t8n>>
<<run $inventory.push("Misshapen wooden block")>>
<span class="unavailable">[img[img/chatDone.png]] Good one!</span>
<br><br>
"Thanks!" Ghosty suddenly seems a bit shy.
<br><br>
"Hey, you're pretty fond of my jokes, aren't you? Take this." It hands you a small sculpture. There are splotches of purple and green paint on it, and a strange smell emanates from the wood. <span class="green">Added 'Misshapen Wooden Block' to inventory.</span> "It's a figurine I made of you! I've been working on this since we met. I hope you appreciate it as a thank-you for helping out around the mansion!"
<br><br>
<<linkreplace "[img[img/chat.png]] Aww, thank you, Ghosty." t8n>>
<span class="unavailable">[img[img/chatDone.png]] Aww, thank you, Ghosty.</span>
<br><br>
You still can't see its face from behind the sheet, but you get the sense that Ghosty is beaming with joy.
<</linkreplace>><</linkreplace>>
<<case 5>>
<span class="unavailable">You've already heard all of Ghosty's jokes.</span>
<</switch>><<include [[Random]]>>
<<if passage() is "1F - Foyer">>
[img[img/stairs.png]] [[Climb up the stairs to the second floor|2F - Hallway]]<br>
<<if $complete>>
[img[img/door.png]] [[Go to the Dining Room|1F - Dining Room]]<br>
<<else>>
<span class="unavailable">You are not ready to enter the Dining Room yet.<br></span>
<</if>>
[img[img/door.png]] [[Go to the Kitchen|1F - Kitchen]]<br>
[img[img/door.png]] [[Go to the Greenhouse|1F - Greenhouse]]<br>
<<elseif passage() is "2F - Hallway">>
[img[img/stairs.png]] [[Climb down the stairs to the first floor|1F - Foyer]]<br>
[img[img/door.png]] [[Go to the Master Bedroom|2F - Master Bedroom]]<br>
[img[img/door.png]] [[Go to the Observatory|2F - Observatory]]<br>
[img[img/door.png]] [[Go to the Library|2F - Library]]<br>
<</if>><<switch random(0,7)>>
<<case 0>>The floorboards creak under your every step.
<<case 1>>Movement can be heard from somewhere inside the mansion.
<<case 2>>A rat brushes your foot as it passes, carrying a stolen wedge of cheese. Did it come from the <span class="mid">Kitchen?</span>
<<case 3>>A strange yet refreshing smell wafts in from the <span class="mid">Greenhouse.</span>
<<case 4>>You hear a door creak open, but it slams itself shut when you turn to look. Must be the mansion toying with you.
<<case 5>>A high-pitched giggle pierces through the air. It's coming from the <span class="mid">Library.</span>
<<case 6>>Something in the room appears to be avoiding your gaze. No matter where you turn, it stays in the corner of your eye.
<<case 7>>You sneeze. "Bless you," a voice hisses from behind.
<</switch>>
<br><br>