(set: $matches to(datamap: "name", "matches", "amount", 5, "description", "Matches might come in handy", "pickupText", "You pick up the matches, and sticks them in your pocket. By the sound of it, there is still a few mathces left", "isCarried", false,))
(set: $knife to(datamap: "name", "knife", "description", "A knife might come in handy", "pickupText", "You pick up the knife, clean it of on your pants og puts it in your back pocket", "isCarried", false,))
(set: $selectedItem to "")
(set: $hoursAsleep to 8)Deep in your sleep you can feel your body aching. You are hot, but cold. Bathing in sweat, but frozen to the core. You feel a need to wake up, but your eyes feel so heavy.
[[Sleep]]
[[Wake up]]
(print: $selectedItem's pickupText)
(if: $selectedItem's name is "matches")[[[Done ->Feel around the room]]]
(if: $selectedItem's name is "knife")[[[Done -> Knife]] ](print: $selectedItem's description)
(if: $selectedItem's name is "matches")[[[Done ->Feel around the room]]]
(if: $selectedItem's name is "knife")[[[Done -> Knife]] ](if: $hoursAsleep is < 12)[You have slept $hoursAsleep hours. You still feel tired, but the need to wake up is getting more and more present.]
(if: $hoursAsleep is 12)[You can't sleep anymore. The feeling of having to wake up is overwhelming.]
(set: $hoursAsleep to $hoursAsleep +1)
(if: $hoursAsleep is <13)[[[Sleep]]]
[[Wake up]]You open your eyes wide open. The ground is hard and cold, and the smell of dirt and stone is filling the room. It's complete darkness.
"Where am I?" you ask yourself.
[[Feel around the room]](if: $displayIntrotext is 0) [You are on your knees, and starts fumbling around the room. Feeling the ground with your hands. (set: $displayIntrotext to 1)]
The ground is rough and cold. Your body hurts and you can't see.
(if: $matches's isCarried is false)[You find a small, square box, (link: "matches") [ (set: $selectedItem to $matches)(goto:"Item Description")]?]
(if: $matches's isCarried is false)[(link: "Take matches")[(set: $selectedItem to $matches)(Set: $matches's isCarried to true)(goto:"Item Acquired")]]
[[Continue searching ->cave]]
It feels like you are in a cave. There are walls surrounding you, and the only sound you hear is water dripping in the distant. You get the courage to get up on your feet. It takes a couple of seconds before your feet will support you. You start walking around with your hands in front of you.
(if: $matches's isCarried is true)[Maybe you should light a match?
[[Light match]]]
(if: $matches's isCarried is false)[There would be nice with some light. Maybe you missed something earlier?
[[Go back ->Feel around the room]]
]
(if: $matches's amount is < 1)[You are out of matches]
(if: $rightWay is 0)[(if: $matches's amount is > 0)[The fire of the match lights up the room, its's a cave alright. But there is nothing here. You keep looking around and find what seems to be tunnels. One small one to the right, and a bigger one straight ahead.(set: $matches's amount to $matches's amount -1)]]
(if: $rightWay is 1)[There is only one option now. Straight it is.]
[[Go straight -> Straight]]
(if: $rightWay is 0)[[[Go to the right -> Right]]]The big tunnel seemed like the best choice, it is tall enough to stand up straight. You are walking forward. Your match burns out and everything is pitch black again.
[[Light another match]]
[[Keep walking in the dark]]You can barely fit. This is not working. Maybe you should turn around.
(set: $rightWay to 1)
[[Turn around ->Light match]](if: $matches's amount is < 1)[You are out of matches]
(if: $matches's amount is > 0)[The tunnel is again filled will light, but there is nothing to see besides stone. At least the light from the match enables you to walk a little bit faster.
In the distance you can see the outline of something lying on the ground. You rush towards it, but in the eager your match dies and it is all pitch black again. (set: $matches's amount to $matches's amount -1)]
(if: $matches's amount is > 0)[[[Light another match ->Light another match3]]]
[[Continue in the dark]]
Feeling the walls with your hands you keep moving forward. The darkness is overwhelming. You get more and more aware of the pain you feel in your body. Will you ever get out of here? How did you get here in the first place?
[[Continue in the dark]]
[[Light another match]](if: $matches's amount is < 1)[You are out of matches. [[Continue in the dark]]]
(if: $matches's amount is > 0)[You fire up yet another match, there are not so many left. Now that you can see again, you kneel down to the unidentified object. It is hard to see, but it seems to be shining and reflecting the light from your match.
[[Inspect object -> Knife]](set: $matches's amount to $matches's amount -1)]
You decide to carry on in to the dark, to save matches in case you need them more later. Walking slowly.
"Oh shit" you stepped on something. You reach down, touching the ground trying to find what you stepped on.
[[Inspect object -> Knife]]
(if: $GoBackForKnife is 0)[(if: $knife's isCarried is false)[By further inspections, you see that it is a (link: "knife") [ (set: $selectedItem to $knife)(goto:"Item Description")]. It's dirty and seems a bit dull. But who knows what can be hiding in these caves. You wipe it of on your already dirty pants, and stick it in your pocket]]
(if: $knife's isCarried is false)[(link: "Pick up knife")[(set: $selectedItem to $knife)(Set: $knife's isCarried to true)(goto:"Item Description")]]
You should keep moving.
[[Continue in the dark -> Continue in the dark2]]
[[Light another match -> Light another match4 ]]
(if: $knife's isCarried is true)[You feel a bit safer with a knife in your pocket.]
"What was that" you freeze. For sure you heard a sound. Didn't you?
[[Keep moving]]
[[Yell]]
(if: $matches's amount is < 1)[You are out of matches
[[Continue in the dark -> Continue in the dark2]]]
(if: $matches's amount is > 0)[(if: $knife's isCarried is true)[You feel a bit safer with a knife in your pocket.]
[And the light from the match is also helping. But they are burning out fast. You keep moving as fast as you can. (set: $matches's amount to $matches's amount -1)]
"What was that" you freeze. For sure you heard a sound. Didn't you?
[[Keep moving]]
[[Yell]]]
THERE IT IS AGAIN! You for sure heard something now.
"Hello?"
[[Light another match ->Light another match5]]
[[Continue in the dark ->Continue in the dark3]]
"HELLO! Can anybody hear me?"
The only answer you get is the sound of your own echo. You are listening, but the only sound you hear besides the dripping water is the beating of your own heart.
Strange.
[[Keep moving]]
(if: $matches's amount is < 1)[You are out of matches. [[Continue in the dark ->Blow out the match so it doesn't see you]]]
(if: $matches's amount is > 0)[It is silent again. You light up a match, holding your breath. Nothing. You keep moving forward, a little slower than usual. Realising you are still holding your breath, you desperately breath in some air. In the far distance you can see a contour of something. It is quite big. It seems to be moving. What should you do?]
(if: $matches's amount is > 0)[[[Blow out the match so it doesn't see you]]]
(if: $matches's amount is > 0)[[[Just keep walking -> Light another match7]](set: $matches's amount to $matches's amount -1)]
You blow out the match.
(if: $knife's isCarried is true)[You are terrified. Maybe you should take the knife out of your pocket? That might make you feel safer.
[[Get the knife]]]
(if: $knife's isCarried is false)[It would be nice to have knife. It would make you feel a lot safer. Who knows what is hiding in the dark. [[Go back to get the knife -> Knife]]]
You take the knife out of your pocket. Your hands a sweaty and your heart is pounding. Slowly you walk forward, following the wall with your other hand.
It is complete darkness. Maybe this was a bad idea.
[[Continue]]You hear the sound again. Closer this time. It sounds like someone is hurting.
"Hello?" You are almost whispering.
"ohhh" Someone is whimpering back at you.
[[Light a match -> Light another match7]]
[[Try touch it]]
(if: $matches's amount is < 1)[You are out of matches. [[Try touch it]]]
(if: $knife's isCarried is true)[(if: $matches's amount is > 0)[In the light of the match you see a creature tied up. He is crying in pain.
"What happened to you?" He seems harmles. He is big and hairy, but there is something kind in his eyes.
You kneel and cut his ropes with your knife.
He seems grateful. He bows. He nudges you, he seems to be signalling that he wants you to climb on up on his back. So, you do. He is super soft, but his fur is wet, and he has multiple wounds.
He starts walking.
(set: $matches's amount to $matches's amount -1)
[[Hold on]]]]
(if: $knife's isCarried is false)[(if: $matches's amount is > 0)[In the light of the match you see a creature tied up. He is crying in pain.
"What happened to you?" He seems harmless. He is big and hairy, but there is something kind in his eyes.
You wish you had something to cut his ropes with.
[[Go back to get the knife -> Knife]]]
(set: $matches's amount to $matches's amount -1)]
You reach down, trying to find. Fumbling around, you find something. It is hairy. But soft. It is still whimpering.
You can feel that his legs are tied up.
(if: $knife's isCarried is true)["What happened to you?" He seems harmless. He is big and hairy. You cut his ropes with your knife.
He seems grateful. He nudges you, he seems to be signalling that he wants you to climb on up on his back. So, you do. He is super soft, but his fur is wet, and he has multiple wounds.
He starts walking.
[[Hold on]]]
(if: $knife's isCarried is false)["What happened to you?" He seems harmless. He is big and hairy, but there is something kind in his eyes.
You wish you had something to cut his ropes with.
[[Go back to get the knife -> Knife]] (set: $GoBackForKnife to 1)]
He leads you both out of the cave. He continues walking, or more like running. You look around, but nothing seems familiar. He keeps on going until you get to a small town. He leads you straight to a small wooden house. All the houses look the same. You jump of.
[[Knock on the door]]
"Hello? Who is it?" a deep voice yells from the inside. Before you get a chance to answer, he opens the door.
"Belldog!" he yells. Running just past you and hangs himself around the creatures’ neck. "And who are you?" he says as he finally gets his eyes on you. You introduce yourself.
"Come on in"
[[Walk inside the house]]
You sit down at the kitchen table. The house is small, but cosy. Wooden furniture, a red cloth on the table and fresh flowers in a vase.
He pours you some coffee. You tell him the whole story.
"So, you don't know how you ended up there?"
"No", you answer.
"hmm, maybe Belldog knows" he yells for Belldog, who comes in through the door.
"He speaks?!" You ask surprised.
"Yes, I can understand him" The old man replies.
"He says he was out in the woods walking, when he caught a man carrying you towards the caves. He tried to rescue you but ended up getting caught instead. There have been rumours about this man, living in the caves, kidnapping people. And eating them. But nobody has been able to confirm it before now."
"Oh my god" you shout. "We must find him".
"I agree" the old man says. "But I think you must stay here, me and Belldog will go out find him. I’ll bring the whole village.
[[Wait]]
After a while, they all came back. You had been waiting impatiently. They found the caves, and the man responsible. What they did to him is to despicable to tell.
Grateful to what Belldog and his owner had done for you, you decide to stay in the village with them - watching the caves.
The end.
It is silent again. Holding your breath. Nothing.
You keep moving forward, a little slower than usual. You don't see anything. Feeling the wall with your hands, trying not to fall. There is some weird sent approaching... It almost smells like a wet dog?
[[Continue]]