<center><h1 data-heading>Forest Clearing</h1></center>
<img src="images/forest_clearing.png" height="800" width="800"/>
The forest clearing is a serene and peaceful oasis amid the lush greenery of the woods. The ground is soft and spongy underfoot, covered in a carpet of emerald grasses and wildflowers. Sunlight filters through the dense canopy of trees, dappling the clearing with patches of warm golden light.
Around the edges of the clearing, there are clusters of tall, slender trees, their trunks reaching skyward like pillars. The leaves of the trees rustle gently in the breeze, creating a soothing, lulling sound that seems to invite rest and relaxation.
Birds and woodland creatures can often be seen darting in and out of the clearing, drawn by the abundance of food and shelter. The air is filled with the sweet scent of wildflowers and pine, mingled with the earthy aroma of damp soil.
Overall, the forest clearing is a tranquil and enchanting place, where one can find respite from the hustle and bustle of the world and connect with the natural world.
North: [[Dungeon Entrance]]
East:[[Abandoned Shack]]
South:[[Hidden Rockpool]]
West:[[Stone Altar]]
<center><h1 data-heading>Dungeon Entrance</h1></center>
<img src="images/dungeon_entrance.png" height="800" width="800"/>
As you wander through the forest clearing, you notice a narrow stone stairway leading down into the earth. The stairway is made of rough, hewn stone, and is partially obscured by thick vines and moss that have grown over the entrance.
At the bottom of the stairway, you see the entrance to a dark and foreboding dungeon. The entrance is a stone archway, its edges jagged and uneven, as if hewn by a crude and violent force. The archway is shrouded in shadow, and you can barely make out the details of the dungeon beyond.
The air around the entrance is musty and damp, and the smell of decay and decayed things hangs thick in the air. As you approach the entrance, you can hear the faint sound of dripping water echoing from within the depths of the dungeon.
(if: $doorUnlocked)[ [[Dungeon Hallway]]](else:)[ A large iron gate stands in your path]
[[Forest Clearing]]
(if: $inventory contains $brassKey)[
Use Brass Key to [[Unlock Gate]]
]<center><h1 data-heading>Hidden Rockpool</h1></center>
<img src="images/hidden_rockpool.png" height="800" width="800"/>
As you make your way through the dense forest, you come across a hidden rockpool nestled among the trees. The pool is surrounded by smooth, moss-covered rocks, and the water is a deep shade of blue-green, reflecting the dappled light filtering through the canopy above.
The rockpool is small, but deep, and the water is crystal clear, allowing you to see all the way to the bottom. You can see small schools of fish darting through the water, and the occasional flash of color from a brightly-colored rock or plant.
The air around the rockpool is cool and refreshing, and you can hear the gentle sound of water trickling over the rocks. As you approach the edge of the pool, you notice a small waterfall cascading down from a nearby cliff, adding to the tranquil atmosphere.
[[Forest Clearing]]
{
(if: $inventory does not contain $machete or $inventory does not contain $sharpMachete) [
[[Search Undergrowth]].
]
(if: $inventory contains $machete)[
Use Machete to [[Clear Undergrowth]]
]
(if: $inventory contains $sharpMachete and $inventory does not contain $brassKey )[
Use the Sharp Machete to [[Cut Undergrowth]]
]
}<center><h1 data-heading>Abandoned Shack</h1></center>
<img src="images/abandoned_shack.png" height="800" width="800"/>
As you approach the abandoned shack, you can see that it is in a state of disrepair. The wooden walls are weathered and warped, and the roof is caved in, with holes allowing sunlight and rain to penetrate inside.
The door is hanging from one hinge and appears to have been left open for some time. As you enter, the musty smell of damp wood and dust fills your nostrils. The inside is cluttered with old furniture, tattered curtains, and broken tools.
The windows are cracked, and the glass is missing from some of them. The only light that enters the shack is from the openings in the roof, casting eerie shadows on the dusty floor. Cobwebs drape from the corners of the room, and rodents scurry in the corners.
{
(if: $inventory does not contain $machete and $inventory does not contain $sharpMachete ) [
On the ground, you see a [[Machete]].
]
(if: $inventory contains $stoneBlock and $inventory contains $machete)[
Use Stone Block to [[Sharpen Machete]]
]
}
[[Forest Clearing]]
<center><h1 data-heading>Stone Altar</h1></center>
<img src="images/stone_altar.png" height="800" width="800"/>
The stone altar stands tall and imposing, its surface smooth and polished from years of use. The altar is made of a dark, rough-hewn stone that is cool to the touch, and is supported by four thick pillars, each adorned with intricate carvings of mythical creatures and symbols.
Atop the altar lies a large, flat stone slab, its edges chiseled into sharp, angular shapes. The slab is stained with what appears to be dried blood, suggesting that the altar has been used for sacrificial purposes in the past.
The area around the altar is dimly lit, with only a few flickering torches casting eerie shadows across the stones. The air is thick with the scent of burning incense, which seems to emanate from small alcoves carved into the pillars.
{
(if: $inventory does not contain $stoneBlock) [
On the ground, you see a [[Stone Block]].
]
(if: $inventory contains $stoneBlock and $inventory contains $machete)[
Use Stone Block to [[Sharpen Machete]]
]
}
[[Forest Clearing]]Illustrations
https://playgroundai.com/create
Filter: Dark Comic
Fighting Fantasy, fine detail, pen and ink, illustration
(if: $hasMachete)[You have the Machete.]
(else:)[You see a Machete lying on the ground. (link: "Pick up the Machete")[(set: $hasMachete to true) You pick up the Machete.]]
https://www.jezner.com/2022/05/14/twine-2-tutorial-linking-inventory-items/<center><h1 data-heading>Dungeon of the Underlord</h1></center>
<img src="images/dungeon_of_the_underlord.png" height="800" width="800"/>
Dungeon of the Underlord is a classic dungeon-crawling adventure gamebook where you, the player, take on the role of a brave adventurer seeking to vanquish the evil Underlord and claim his treasure hoard. Your mission will be to explore the perilous depths of the Underlord's dungeon, battling fierce monsters, evading deadly traps, and solving puzzles along the way.
As you progress through the dungeon, you will face many challenges, both physical and mental. You will need to use your wits, skills, and magic to survive, as every step could be your last. But with each challenge you overcome, you will grow stronger and more experienced, allowing you to take on even greater challenges.
The dungeon is filled with secrets and hidden treasures, and your choices and actions will determine your fate. Will you take the high road and be a noble hero, or will you succumb to greed and become a villain? The choice is yours.
Dungeon of the Underlord features richly detailed illustrations, maps, and immersive storytelling that will transport you to a world of magic and danger. Do you have what it takes to defeat the Underlord and claim his treasure? Play Dungeon of the Underlord and find out!
[[Forest Clearing]]
(set: $inventory to (a:))
(set: $doorUnlocked to false)
(set: $searchedDungeonHallway to false)
(set: $searchedStatueRoom to false)
(set: $drankGoblet to false)
(set: $chestUnlocked to false)
(set: $examinedPainting to false)
(set: $insertedEye to false)
{
(set: $machete to (dm:
"id", 1,
"name", "machete",
"description", "A blunt looking machete",
))
(set: $sharpMachete to (dm:
"id", 2,
"name", "sharp machete",
"description", "A razor sharp machete",
))
(set: $stoneBlock to (dm:
"id", 3,
"name", "stone block",
"description", "An oblong, finely abrasive stone",
))
(set: $brassKey to (dm:
"id", 4,
"name", "brass key",
"description", "A shiny brass key",
))
(set: $chestKey to (dm:
"id", 5,
"name", "chest key",
"description", "A small, dull iron key that fits a chest",
))
(set: $glassEye to (dm:
"id", 6,
"name", "glass eye",
"description", "A strange looking glass eye",
))
}(print: $machete's description)
[[Pick up->pickup]] or [[leave it->Abandoned Shack]](set: $inventory to $inventory + (a: $machete))
(go-to: "Abandoned Shack")<br>
{
(if: (passage:)'s tags contains "Inventory") [
Inventory: (for: each _item, ...$inventory) [
(print: _item's name)(if: $inventory's last is not _item)[, ]
]]
}<center><h1 data-heading>Dungeon Hallway</h1></center>
<img src="images/dungeon_hallway.png" height="800" width="800"/>
You find yourself standing at the entrance of a long, dimly lit hallway that stretches deep into the bowels of the Underlord's dungeon. The air is musty and damp, and the smell of decay lingers in the air. The walls are made of rough-hewn stone, and the floor is uneven and covered in patches of slime and mold.
As you move further down the hallway, you hear the faint sound of dripping water echoing in the distance. Your footsteps echo loudly against the stone walls, creating an eerie and ominous atmosphere. Along the way, torches flicker on the walls, casting long shadows and illuminating the occasional cobweb.
The hallway twists and turns, making it difficult to see what lies ahead. Every so often, you come across a closed door, but it's impossible to tell what's behind them. You have a feeling that danger lurks around every corner, and you steel yourself for whatever lies ahead.
[[Dungeon Entrance]]
[[Dungeon Chamber]]
(if:not $searchedDungeonHallway)[ [[Search Dungeon Hallway]]]
<center><h1 data-heading>Dungeon Chamber</h1></center>
<img src="images/dungeon_chamber.png" height="800" width="800"/>
You push open the heavy oak door and step into a small, dimly lit chamber. The air is thick with the smell of damp earth and mildew, and the room is almost completely dark except for a few flickering torches on the walls.
As your eyes adjust to the dim light, you can see that the room is cluttered with various objects: rusty swords and shields, torn banners, and piles of debris. In the center of the room, there's a large stone pedestal with a tarnished silver goblet resting on top of it.
(if: not $drankGoblet)[
As you approach the pedestal, you notice that there's an inscription etched into the stone. It reads, <b>"Drink from the goblet and receive the gift of strength, but beware the consequences."</b>
You're not sure what to make of the inscription, but something about the goblet calls to you. You feel a strange urge to drink from it, but at the same time, a sense of foreboding grips your heart.
You're faced with a decision. Do you [[drink from the goblet->Drink From Goblet]] and risk whatever consequences may come, or do you [[leave it be->Dungeon Chamber]] and continue on your journey through the dungeon?
]
[[Dungeon Hallway]]
[[Statue Room]]
<center><h1 data-heading>Secret Passage</h1></center>
<img src="images/secret_passage.png" height="800" width="800"/>
As you search the room, you notice a small crack in the wall that seems out of place. Upon closer inspection, you realize that it's actually a hidden doorway, cleverly concealed to blend in with the surrounding stone.
You push aside the loose stones and step through the opening, and find yourself in a narrow, winding passageway. The walls are rough and uneven, and the air is stale and musty. There's a faint glow coming from the end of the passage, beckoning you forward.
As you make your way through the twisting corridor, you come across several pitfalls and traps. Loose stones litter the ground, and the walls seem to shift and change as you walk past them, threatening to collapse at any moment. You're forced to move cautiously, testing each step before placing your weight on it.
Finally, after what seems like an eternity, you emerge from the secret passage and find yourself in a small chamber. The room is filled with treasure and artifacts of all kinds - glittering jewels, ancient artifacts, and piles of gold and silver coins. You realize that you've stumbled upon the Underlord's hidden vault, and a thrill of excitement runs through you as you begin to loot the treasure hoard. However, you can't help but feel a nagging sense of unease, as if the Underlord is watching you from somewhere in the shadows.
(set: $isCursed to (either: true, false, false, false, false))
(if: $isCursed and $drankGoblet)[
(print: "<p>As you venture deeper into the dungeon, you feel the curse growing stronger, its tendrils creeping into every crevice of your being. Will you be able to resist its pull, or will you succumb to the darkness within? The fate of the dungeon and its denizens hangs in the balance, and only you can decide its ultimate outcome.</p>")
]
[[Unremarkable Room]]
(print: $stoneBlock's description)
[[Pick up->pickup stone block]] or [[leave it->Stone Altar]](set: $inventory to $inventory + (a: $stoneBlock))
(go-to: "Stone Altar")(set: $inventory to $inventory + (a: $sharpMachete))
(set: $inventory to $inventory - (a: $machete))
(go-to: "Stone Altar")(print: $sharpMachete's description)
[[Pick up->pickup sharp machete]] or [[leave it->Stone Altar]]The Machete is far too blunt to have any impact, you found nothing.
[[Hidden Rockpool]]Dispite your efforts to seach the undergrowth, nothing was found as it's far too dense
[[Hidden Rockpool]]
You have discovered (print: $brassKey's description)
[[Pick up->pickup brass key]] or [[leave it->Abandoned Shack]](set: $inventory to $inventory + (a: $brassKey))
(go-to: "Hidden Rockpool")(set: $inventory to $inventory - (a: $brassKey))
(set: $doorUnlocked to true)
(go-to: "Dungeon Hallway")<center><h1 data-heading>Statue Room</h1></center>
<img src="images/statue_room.png" height="800" width="800"/>
As you enter the room, you notice that the walls are covered in slimy green moss. The air is thick with a musty, damp scent. There are several stone pillars that support the ceiling, casting shadows across the room. You hear the sound of dripping water coming from somewhere deeper within the dungeon.
In the center of the room, you see a large stone statue of an ancient warrior, holding a sword and shield. The statue appears to be ancient, and there are signs of wear and tear, as if it has been in this room for many years. There is a faint, eerie glow coming from the eyes of the statue.
(if: not $chestUnlocked)[
To the left of the statue, you see a small alcove with a chest. The chest appears to be locked and made of sturdy oak.] To the right of the statue, you see a set of stone stairs leading downwards, deeper into the dungeon.
(set: $isCursed to (either: true, false, false, false, false))
(if: $isCursed and $drankGoblet)[
(print: "<p>As you continue your journey into the dungeon, you sense the curse growing more powerful with each step. Its influence seeps into every corner of your being. Will you have the strength to resist its grasp, or will you give in to the darkness that threatens to consume you? The fate of the dungeon and its inhabitants rests in your hands, and only you can determine their ultimate fate.</p>")]
[[Dungeon Chamber]]
[[Mysterious Painting]]
(if: not $searchedStatueRoom)[
[[Search Statue Room]]
]
(if: $inventory contains $chestKey)[
Use Chest Key to [[Unlock Chest]]
]
<center><h1 data-heading>Mysterious Painting</h1></center>
<img src="images/mysterious_painting.png" height="800" width="800"/>
As you enter the room, you notice that the walls are made of rough-hewn stone, with cracks and crevices that seem to lead into darkness. The room is dimly lit by torches on the walls, casting flickering shadows that dance around the space.
You see a large painting hanging on the wall. The painting depicts a sinister creature with many eyes and tentacles, resembling a beholder. The eyes seem to follow you as you move around the room, giving you an uneasy feeling.
Beneath the painting, you notice a wooden chest. It appears to be old and worn, with a large padlock holding it shut. The chest is covered in dust, as if it has been here for some time.
As you approach the painting and examine it more closely, you notice that it seems to be more than just paint on canvas. It appears to have been magically imbued, as if it is a window into another world. You can almost hear the creature in the painting breathing, its many eyes gleaming in the torchlight.
You feel a sense of unease and curiosity as you contemplate the painting and the chest beneath it. What secrets might be hidden within? What dangers might await you if you attempt to open the chest or interact with the painting?
As you ponder your next move, you hear a faint whispering coming from the shadows, as if something or someone is watching you.
[[Statue Room]]
[[Unremarkable Room]]
(if: not $examinedPainting)[
[[Examine Painting]]
]
(if: $examinedPainting and not $insertedEye and $inventory contains $glassEye)[
[[Insert Glass Eye]]
]
(either:
"Not much to be found in the Hallway except the occasional scurry of tiny feet, probably Rats",
"All you find is centuries of dust and cobwebs, nothing of any use",
"As you fumble around in search of clues, you feel a sharp nip at the tip of one of your fingers as you notice a black hairy looking spider scurry off"
)
(set: $searchedDungeonHallway to true)
[[Dungeon Hallway]]<center><h1 data-heading>Cursed Goblet</h1></center>
<img src="images/cursed_goblet.png" height="800" width="800"/>
(set: $drankGoblet to true)
You approach the pedestal with caution, eyeing the goblet with suspicion. As you read the inscription etched into the stone, a cold shiver runs down your spine. Something about the warning feels ominous, like a dark omen you can't ignore.
Despite your misgivings, you can't resist the temptation of the gift of strength. You reach for the goblet and drink deeply, feeling a surge of power coursing through your veins. Your muscles bulge with newfound strength, and you feel like you could take on the world.
But as the glow fades and the rush subsides, you notice a lingering sensation, like a prickling at the back of your mind. You dismiss it at first, thinking it's just your imagination, but the feeling persists.
Over time, the prickling turns into a nagging voice, whispering dark thoughts and planting doubts in your mind. You see shadows lurking in every corner, hear whispers that no one else can hear. You try to ignore it, but the voice grows louder and more insistent, until you can't deny its presence any longer.
Eventually, you realize the truth: the inscription wasn't a gift, but a warning. You've unleashed a powerful demon or curse, and it's taken hold of your mind and soul. The only way to break free is to find the source of the magic and destroy it, but the journey will be perilous and fraught with danger.
[[Dungeon Chamber]](set: $foundChestKey to (either: true, false, false, false, false))
(if: $foundChestKey)[
(set: $searchedStatueRoom to true)
(go-to: "Chest Key")
] (else:) [
(either:
"You didnt find anything this time",
"You searched in vein",
"Nothing found, however don't give up"
)
]
[[Statue Room]]<center><h1 data-heading>Chest Key</h1></center>
<img src="images/chest_key.png" height="800" width="800"/>
(print: $chestKey's description)
[[Pick up->pickup chest key]] or [[leave it->Statue Room]](set: $inventory to $inventory + (a: $chestKey))
(go-to: "Statue Room")<center><h1 data-heading>Unremarkable Room</h1></center>
<img src="images/unremarkable_room.png" height="800" width="800"/>
You enter a plain, unremarkable chamber with bare stone walls and a dirt floor. There are no obvious exits or landmarks to indicate where you are in the dungeon. The only thing of note is a single torch on the wall, casting a dim flickering light that barely illuminates the room. You get the sense that this room serves no real purpose, and wonder why it was even built in the first place.
(set: $isCursed to (either: true, false, false, false, false))
(if: $isCursed and $drankGoblet)[
(print: "<p>As you continue your journey into the dungeon, you sense the curse growing more powerful with each step. Its influence seeps into every corner of your being. Will you have the strength to resist its grasp, or will you give in to the darkness that threatens to consume you? The fate of the dungeon and its inhabitants rests in your hands, and only you can determine their ultimate fate.</p>")]
[[Mysterious Painting]]
[[Secret Passage]]<center><h1 data-heading>Locked Chest</h1></center>
<img src="images/locked_chest.png" height="800" width="800"/>
As you approach the chest, you notice that it's made of thick, sturdy wood and is bound with iron bands. You take out the key you found earlier and insert it into the lock. With a satisfying click, the lock mechanism turns and the chest springs open.
As the lid creaks open, you see the following item inside:
(print: $glassEye's description)
(set: $chestUnlocked to true)
[[Pick up->pickup glass eye]] or [[leave it->Statue Room]]
(set: $inventory to $inventory + (a: $glassEye))
(set: $inventory to $inventory - (a: $chestKey))
(go-to: "Statue Room")
<img src="images/beholder_painting.png" height="800" width="800"/>
As you continue to examine the painting, you notice that one of the creature's smaller eyes is missing. Looking more closely, you see that there is a small indentation in the painting where the eye should be. The missing eye seems to have been carefully removed, leaving behind a small gap in the painting.
You wonder what could have happened to the eye. Perhaps it was removed by someone who wanted to keep it for themselves, or maybe it was taken as part of some sort of ritual. Regardless of the reason, it's clear that the missing eye is a vital piece of the puzzle.
(set: $examinedPainting to true)
[[Mysterious Painting]]
As soon as you insert the missing glass eye into the indentation on the painting, you hear a soft click coming from the direction of the wooden chest beneath it. The sound of the lock disengaging echoes through the room.
Curious, you move towards the chest and examine it more closely. You see that the padlock has indeed opened, as if by magic. You gingerly lift the lid of the chest, revealing a small compartment inside.
Inside the compartment, you see a collection of small objects, including a rolled-up scroll, a pouch of coins, and a small, intricately carved figurine. As you pick up the objects and examine them, you realize that they must be of great value.
But as you reach into the chest to take them, you suddenly feel a strange force pushing against you. The objects in the chest seem to be resisting your attempts to take them, almost as if they are alive.
You quickly realize that the chest must be protected by some sort of magical ward or trap, and that you will need to find a way to bypass it if you want to claim the treasure within. What other objects in the room might hold the key to unlocking the chest's defenses?
(set: $insertedEye to true)
(set: $inventory to $inventory - (a: $glassEye))
[[Mysterious Painting]]