(set: $max_hp to 10)(set: $hp to 10) (set: $coins to 10) (set: $days to 0)(set: $big_sword to (datamap: "id", "big sword", "cost", 50, "damage", 5, "next", 0))(set: $small_sword to (datamap: "id", "small sword", "cost", 30, "damage", 3, "next", $big_sword))(set: $dagger to (datamap: "id", "dagger", "cost", 10, "damage", 1, "next", $small_sword))(set: $weapon to $dagger)
(display: "main")You've been adventuring with your necromancer for $days days. You have $coins coins and your health is $hp.
<iframe width="560" height="315" src="https://www.youtube.com/embed/kIvzj_tvz_I?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
[[adventure->start adventure]]
[[rest]]
[[shop]]
[[credits]]A kobold appears! (set: $monster_hp to (either: 2,3,4))
<img src="media/images/Idle_kobold.gif" alt="Kobold with spear standing waiting" style="display: block; margin-right:auto; width:50%">[Art by: rvros]
[[fight]]
[[flee->main]]
<iframe width="0" height="0" src="https://www.youtube.com/embed/e8SWRAr0O8Q?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>(if: (either: 0, 1) is 0)[
The kobold lunges with its spear!
<img src="media/images/attack_kobold.gif" alt="Kobold with spear attacking" style="display: block; margin-right:auto; width:50%">[Art by: rvros]
(set: $hp to $hp - (either: 1,2,3))
(if: $hp < 1)[ You are [[dead]]! ]
(else:)[ Its health is $monster_hp. Your health falls to $hp.
[[fight]]
[[flee|main]] ]
]
(else:)[ You attack the kobold with your (print: $weapon's id)!
<img src="media/images/adventurer_attack.gif" alt="Adventurer attacking with sword" style="display: block; width:50%"><img src="media/images/hurt_kobold.gif" alt="Kobold hurting" style="display: block; width:50%">[Art by: rvros]
(set:$monster_hp = $monster_hp - ($weapon's damage))
(if: $monster_hp < 1)[ The [[kobold is dead]]! ]
(else:)[
Its health falls to $monster_hp. Your health is $hp.
[[fight]]
[[flee|main]] ]
]Your adventure ended after $days days.
[[revive?|init]]
<iframe width="0" height="0" src="https://www.youtube.com/embed/5vB7kSyuJ6U?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>(set: $streak to $streak + 1)
(set: $drop to (random: 3,10) * $streak)
(set: $spoils to $spoils + $drop)
You collect $drop coins from the kobold's purse! Your spoils are currently $spoils coins and your health is $hp. You've killed $streak kobold(if: not($streak is 1))[s] on this adventure.
(else-if: $streak is 3)[You feel invigorated.](set: $max_hp to $max_hp + 1)(else:)[You feel your resilience deepen.](set: $max_hp to $max_hp + 2)
<img src="media/images/adventurer_idle.gif" alt="Adventurer waiting" style="display: block; width:50%"><img src="media/images/dead_kobold.gif" alt="Kobold dead" style="display: block; width:50%">[Art by: rvros]
[[continue|adventure]]
[[go home|collect spoils]]
<iframe width="0" height="0" src="https://www.youtube.com/embed/-YCN-a0NsNk?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>(set: $days to $days + 1)
(if: (either: 0, 1, 2, 3) is 0)[
You had a nightmare and couldn't sleep.
<iframe width="0" height="0" src="https://www.youtube.com/embed/Mq8E_1LkoAc?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
(set: $hp to $hp - (either: 1,2,3))
(if: $hp < 1)[ You are [[dead]]!]
(display: "main")]
(else-if: (either: 0, 1, 2, 3) is 1)[
You were attacked in your sleep!
<iframe width="0" height="0" src="https://www.youtube.com/embed/e8SWRAr0O8Q?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
(set: $hp to $hp - (either: 1,2,3))
(if: $hp < 1)[ You are [[dead]]! ]
(else:)[ Your health is $hp.
[[fight->fight]]
[[flee->main]] ]
]
(else:)[
You slept like a log. You feel refreshed.
<img src="media/images/campfire.gif">
<iframe width="0" height="0" src="https://www.youtube.com/embed/l4hnR1_rbuI?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
(set: $hp to $max_hp)
(display: "main")
]
(set: $spoils to 0) (set: $streak to 0)
(display: "adventure")Your current weapon is a (print: $weapon's id).(set: $next_weapon to $weapon's next)(if: not ($next_weapon is 0))[(set: $nwn to $next_weapon's id)
(if: $weapon's id is "big sword")[Khajit haz no wares, come back later] (else:)[Welcome adventurer! Khajit haz wares, if you haz coin]
[[buy $nwn->buy]] ((print: $next_weapon's cost) coins, does (print: $next_weapon's damage) damage)]
<img src="media/images/Khajiit_animation artist_Katia_Managan_pixel_art.gif" alt="Khajit appearing and using invisible cloak by Katia Managan" style="display: block; margin-right:auto; width:50%">
[art by: Katia Managan]
[[go back home|main]]
<iframe width="0" height="0" src="https://www.youtube.com/embed/ay6LqF-tvHU?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>(set: $coins to $coins + $spoils)
(display: "main")(if: $coins > ($next_weapon's cost))[(set: $weapon to $next_weapon) (set: $coins to $coins - ($weapon's cost)) (display: "shop")]
(else:)[You don't haz enough coin!
(display: "shop")]
<iframe width="0" height="0" src="https://www.youtube.com/embed/ay6LqF-tvHU?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe><marquee behavior="scroll" direction="up">Special Thanks to Chris at <a href="http://lambdamaphone.blogspot.com/2015/02/using-twine-for-games-research-part-ii.html"> Twine/Harlowe RPG Tutorial</a>
Additional shop and rest dialogue by VictorY.
Narration:
Selude ASMR <a href="https://linktr.ee/seludeasmr">Link Tree</a>
Khajit Pixel Art by:
Katia Managan
<a href="https://www.prequeladventure.com/fanartbooru/post/view/3856">Prequel Adventure Fanart or Drawing a Cat: the Adventure</a>
Kobold and Adventurer Pixel Art by:
Rvros <a href="https://rvros.itch.io/">Itch.io Creater Page</a>
Music:
Various artists and composers of classic video game OSTs
<a href="https://www.youtube.com/embed/l4hnR1_rbuI">Campfire</a>
<a href="https://www.youtube.com/embed/Mq8E_1LkoAc">Nightmare</a>
<a href="https://www.youtube.com/embed/e8SWRAr0O8Q">Fight</a>
<a href="https://www.youtube.com/embed/ay6LqF-tvHU">Shop</a>
<a href="https://www.youtube.com/embed/-YCN-a0NsNk">Spoils</a>
<a href="https://www.youtube.com/embed/5vB7kSyuJ6U">Death</a>
April 2021
</marquee>
<iframe width="0" height="0" src="https://www.youtube.com/embed/Egn_VNVKzI4?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>