Welcome to Castle Neely. You're here because of a legend which states there is a hidden treasure within the castle, and those who find it are granted a lifetime of wealth. Will you be the lucky adventurer to finally find the hidden treasure?
What is your name?
[[Enter Name->Name]]
(set: $inv to (a:))
(set: $axe to 0)
(set: $key to 0)
(set: $rustykey to 0)
(set: $atticdoor to 0)
(set: $deadbear to 0)(set: $name to (prompt: "What is your name?", ""))
Perfect, thanks $name! Let's get started.
[[Start your adventure!->Main Room]]You are in a large room with a cathedral ceiling. The door out is to the North. There is a stairway to your West. There is a dark hallway to the South.
[[Try and leave the castle->Front Door]]
[[Explore the hallway->Hallway]]
(if: $atticdoor is 0)[[[Go up the stairway->Stairway]]]
(if: $atticdoor is 1)[[[Go up the stairway->StairwayNL]]]At the top of the stairs is a door with a rusty metal lock. You try the handle and it doesn't budge.
(if: $axe is 1)[[[Break the door with the axe->Bad Ending]]]
(if: $key is 1)[[[Use the small key->Attic]]]
[[Go back to the main room->Main Room]] The hallway is dimly lit. There are small candles along the walls. To the North is the main room. To the South is what looks like a brightly lit room.
[[Go to the main room->Main Room]]
[[Enter the room to the South->Lounge]]You walk into a cozy little lounge. To the North is the hallway. To the West is a small library. To the East is a large cabinet. There is a fireplace blasting heat to the South.
[[Go to the hallway->Hallway]]
[[Go into the library->Library]]
[[Look around the lounge->Examine Lounge]][[Examine the cabinet->Cabinet]]
(if: $axe is 0)[[[Examine the fireplace->Fireplace]]]
(if: $axe is 1)[[[Examine the fireplace->FireplaceNA]]]
[[Back to the lounge->Lounge]]You walk through the door into the library. Books line the walls on all sides. In the middle of the room is a table. On that table is a large red book with strange markings on it. The door back to the lounge is to the East.
(if: $key is 0)[[[Pick up the strange red book->Red Book]]]
(if: $key is 1)[[[Pick up the strange red book->Red BookNK]]]
[[Back to the lounge->Lounge]]As you hack away at the door, you feel it start to give and you kick it open. You take a step inside what looks to be a massive attic. In the North-West corner of the room, you see a massive creature moving incredibly quickly towards you. Without any time to react the giant creature tears you apart, roaring the entire time.
[[Continue]]You find yourself in a massive attic. In the North-West corner there is a massive sleeping bear. Unaware of your presence, it's breathing is steady as it sleeps. To the East is the doorway back out.
(set: $atticdoor to 1)
(if: $rustykey is 0)[[[Take a look around the attic->Examine Attic]]]
(if: $rustykey is 1)[[[Take a look around the attic->Examine AtticNK]]]
[[Go back to the stairway->StairwayNL]] Thanks for playing, $name! Play again if you'd like to see all endings!
[[Retry->Introduction]] You examine the cabinet. There are old pots and pans strewn about the bottom of the cabinet. There is an old coat crumpled up as well. There doesn't seem to be anything of interest here.
(if: $axe is 0)[[[Examine the fireplace->Fireplace]]]
(if: $axe is 1)[[[Examine the fireplace->FireplaceNA]]]
[[Back to the lounge->Lounge]]The fire is roaring, yet noone is there tending to it. There is a stack of wood next to the fireplace with an axe to the side.
(if: $axe is 0)[[[Take the axe->Take Axe]]]
[[Examine the cabinet->Cabinet]]
[[Back to the lounge->Lounge]]You pick up the big red book and hear a small sound as something falls. On the ground is a small silver key, about the size of the palm of your hand.
[[Pick up the key->Take Key]]
[[Back to the library->Library]] You pick up the key.
(set: $inv to $inv + (a: 'key'))
(set: $key to $key + 1)
[[Back to the library->Library]] The door is locked shut.
(if: $rustykey is 1)[[[Leave the castle->Leave]]]
(if: $key is 1)[[[Try the small key->LeaveSK]]]
[[Go back to the main room->Main Room]] (if: (passage:)'s name is "Inventory")[<!--Do nothing-->]
(else-if: (passage:)'s tags contains "donotshowinventory")[<!--Do nothing-->]
(else:)
[Check [[Inventory]].]Your inventory contains a(n) (print: $inv.join(", ")).
(link-goto: "Return", (history:)'s last) You decide some legends are just stories and it's not worth risking your life for the possibility of riches. With the rusty key in hand, you exit the castle.
[[Continue]] You take the axe.
(set: $inv to $inv + (a: 'axe'))
(set: $axe to $axe + 1)
[[Back to the lounge->Lounge]]
The fire is roaring, yet noone is there tending to it. There is a stack of wood next to the fireplace and nothing else.
[[Back to the lounge->Lounge]]You pick up the big red book. There are symbols on the pages that do not seem like any language you've seen. You close the book and put it back where you found it.
[[Back to the library->Library]] At the top of the stairs is the unlocked attic door.
(if: $deadbear is 0)[[[Walk into the attic->Attic]]]
(if: $deadbear is 1)[[[Walk into the attic->AtticDB]]]
[[Go back to the main room->Main Room]] There is a large rusty key on the West wall and the sleeping bear in the North-West corner.
[[Take the rusty key->Take Rusty Key]]
[[Approach the Bear->Bear]]
[[Go back to the attic entrance->Attic]]There is nothing besides the sleeping bear in the North-West corner.
[[Approach the bear->Bear]]
[[Go back to attic entrance->Attic]]You take the key. It looks like the key out.
(set: $inv to $inv + (a: 'rusty key'))
(set: $rustykey to $rustykey + 1)
(if: $deadbear is 0)[[[Go back to attic entrance->Attic]]]
(if: $deadbear is 1)[[[Go back to attic entrance->AtticDB]]]
As you approach the bear, still quiet and snoring, it seems to be laying on what looks to be a trapdoor.
(if: $axe is 0)[[[Attack the bear->Angry Bear]]]
(if: $axe is 1)[[[Kill the bear->Dead Bear]]]
[[Go back to attic entrance->Attic]]
With one sickening thud, you kill the bear with your axe. Moving its body away from the trapdoor, you see that the door can be opened easily.
(set: $deadbear to $deadbear + 1)
[[Approach the trapdoor->Trapdoor]]
[[Go back to the attic entrance->AtticDB]]You approach the trap door, you feel a cold draft coming from it.
(if: $rustykey is 0)[[[Open the trapdoor and climb down->Best EndingNK]]]
(if: $rustykey is 1)[[[Open the trapdoor and climb down->Best Ending]]]
[[Go back to attic entrance->AtticDB]]You look around the massive, empty attic. In the North-West corner there is the massive bear, lying dead in a pool of blood. To the East is the doorway back out.
(if: $rustykey is 0)[[[Take the rusted key on the wall->Take Rusty Key]]]
[[Approach the trapdoor->Trapdoor]]
[[Go back to the stairway->StairwayNL]] You climb down the ladder and find yourself in a brightly lit room filled with gold. With the rusty key in hand, you carry as much gold as you can, leaving the castle, intent on coming back for the rest of the gold.
[[Continue]] Before climbing down, you grab the rusty key on the wall. You climb down the ladder and find yourself in a brightly lit room filled with gold. With the rusty key in hand, you carry as much gold as you can, leaving the castle, intent on coming back for the rest of the gold.
[[Continue]] The small key from the library is way too small for the door. Maybe this key is for something else?
[[Go back to the main room->Main Room]] You attempt to kill the bear with your bare hands. The bear awakens angrily and throws you into the wall with its massive strength. Dazed against the wall, the bear lunges at you and rips you apart.
[[Continue]]
↶↷Welcome to Castle Neely. You're here because of a legend which states there is a hidden treasure within the castle, and those who find it are granted a lifetime of wealth. Will you be the lucky adventurer to finally find the hidden treasure?
What is your name?
Enter Name