cornquest/out/story.html

79 lines
342 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CORNQUEST</title>
<style title="Twine CSS">@-webkit-keyframes appear{0%{opacity:0}to{opacity:1}}@keyframes appear{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fade-in-out{0%,to{opacity:0}50%{opacity:1}}@keyframes fade-in-out{0%,to{opacity:0}50%{opacity:1}}@-webkit-keyframes rumble{50%{-webkit-transform:translateY(-0.2em);transform:translateY(-0.2em)}}@keyframes rumble{50%{-webkit-transform:translateY(-0.2em);transform:translateY(-0.2em)}}@-webkit-keyframes shudder{50%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@keyframes shudder{50%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@-webkit-keyframes box-flash{0%{background-color:white;color:white}}@keyframes box-flash{0%{background-color:white;color:white}}@-webkit-keyframes pulse{0%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}20%{-webkit-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}40%{-webkit-transform:scale(0.9, 0.9);transform:scale(0.9, 0.9)}60%{-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05)}80%{-webkit-transform:scale(0.925, 0.925);transform:scale(0.925, 0.925)}to{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes pulse{0%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}20%{-webkit-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}40%{-webkit-transform:scale(0.9, 0.9);transform:scale(0.9, 0.9)}60%{-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05)}80%{-webkit-transform:scale(0.925, 0.925);transform:scale(0.925, 0.925)}to{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@-webkit-keyframes shudder-in{0%, to{-webkit-transform:translateX(0em);transform:translateX(0em)}5%, 25%, 45%{-webkit-transform:translateX(-1em);transform:translateX(-1em)}15%, 35%, 55%{-webkit-transform:translateX(1em);transform:translateX(1em)}65%{-webkit-transform:translateX(-0.6em);transform:translateX(-0.6em)}75%{-webkit-transform:translateX(0.6em);transform:translateX(0.6em)}85%{-webkit-transform:translateX(-0.2em);transform:translateX(-0.2em)}95%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@keyframes shudder-in{0%, to{-webkit-transform:translateX(0em);transform:translateX(0em)}5%, 25%, 45%{-webkit-transform:translateX(-1em);transform:translateX(-1em)}15%, 35%, 55%{-webkit-transform:translateX(1em);transform:translateX(1em)}65%{-webkit-transform:translateX(-0.6em);transform:translateX(-0.6em)}75%{-webkit-transform:translateX(0.6em);transform:translateX(0.6em)}85%{-webkit-transform:translateX(-0.2em);transform:translateX(-0.2em)}95%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@-webkit-keyframes rumble-in{0%, to{-webkit-transform:translateY(0em);transform:translateY(0em)}5%, 25%, 45%{-webkit-transform:translateY(-1em);transform:translateY(-1em)}15%, 35%, 55%{-webkit-transform:translateY(1em);transform:translateY(1em)}65%{-webkit-transform:translateY(-0.6em);transform:translateY(-0.6em)}75%{-webkit-transform:translateY(0.6em);transform:translateY(0.6em)}85%{-webkit-transform:translateY(-0.2em);transform:translateY(-0.2em)}95%{-webkit-transform:translateY(0.2em);transform:translateY(0.2em)}}@keyframes rumble-in{0%, to{-webkit-transform:translateY(0em);transform:translateY(0em)}5%, 25%, 45%{-webkit-transform:translateY(-1em);transform:translateY(-1em)}15%, 35%, 55%{-webkit-transform:translateY(1em);transform:translateY(1em)}65%{-webkit-transform:translateY(-0.6em);transform:translateY(-0.6em)}75%{-webkit-transform:translateY(0.6em);transform:translateY(0.6em)}85%{-webkit-transform:translateY(-0.2em);transform:translateY(-0.2em)}95%{-webkit-transform:translateY(0.2em);transform:translateY(0.2em)}}@-webkit-keyframes slide-right{0%{-webkit-transform:translateX(-100vw);transform:translateX(-100vw)}}@keyframes slide-right{0%{-webkit-transform:translateX(-100vw);transform:translateX(-100vw)}}@-webkit-keyframes slide-left{0%{-webkit-transform:translateX(100vw);transform:translateX(100vw)}}@keyframes slide-left{0%{-webkit-transform:translateX(100vw);transform:translateX(100vw)}}@-webkit-keyframes slide-up{0%{-webkit-transform:translateY(100vh);transform:translateY(100vh)}}@keyfr
</style>
</head>
<body>
<tw-story></tw-story>
<!-- UUID://BDB6BEED-D6E0-4F71-9227-A8AD27067935// --><tw-storydata name="CORNQUEST" startnode="1" creator="Tweego" creator-version="2.1.1+81d1d71" ifid="BDB6BEED-D6E0-4F71-9227-A8AD27067935" zoom="1" format="Harlowe" format-version="3.1.0" options="" hidden><style role="stylesheet" id="twine-user-stylesheet" type="text/twine-css"></style><script role="script" id="twine-user-script" type="text/twine-javascript"></script><tw-passagedata pid="1" name="beginning" tags="" position="100,100" size="100,100">You wake up in the comfort of your own bed, in your own room. You open your eyes to see the golden sunlight come streaming in through your window. Golden like ears of corn. You suddenly remember what day it is. It is the day of the Harvest Festival! You throw back your favorite corn print bed covers and leap out of bed. You&#39;ve been looking forward to this day all year, and you already know exactly what you&#39;re going to wear. If you wear a pretty corn dress, goto [[38|corndress]]. If you wear rugged corn bib overalls, goto to [[61|cornoveralls]].</tw-passagedata><tw-passagedata pid="2" name="continue" tags="" position="225,100" size="100,100">You start to sneak sneakily around the web, and do so successfully, the spider none the wiser to your passage through its lair. Good job! You trek deeper and deeper into the forest, losing track of the path behind you. Eventually you come across a small clearing, in the middle of which is a small cottage on tall wooden legs. Goto [[31|hut]].</tw-passagedata><tw-passagedata pid="3" name="eavesdrop" tags="" position="350,100" size="100,100">You sneak up behind a couple of the old aunties and drop some eaves on them. You are super stealthy! They are whisper arguing about whether the Corn Mother has abandoned us, and whether that means the cornbeast will leave. Leave! It can&#39;t leave! Without the cornbeast, there will be nobody to protect the fields! We&#39;ll be totally defenseless! Goto [[27|panic]].</tw-passagedata><tw-passagedata pid="4" name="hack" tags="" position="475,100" size="100,100">You get out your trusty corn knife and start slashing at the web with reckless abandon! The giant spider swoops down and puts a quick stop to such unsanctioned buffoonery. You are paralyzed and cocooned and don&#39;t even feel it when the spider&#39;s venom jellifies your insides. THE END.</tw-passagedata><tw-passagedata pid="5" name="explore" tags="" position="600,100" size="100,100">You step off the worn path and push your way through dense growth. Twigs and brambles snatch at your ankles and elbows and brush none too gently against your cheeks. One such brush of the cheek is especially sticky and grabby. You swat at your cheek and your hand comes away sticky. You look up and find that you have nearly walked right smack dab into an enormous messy spider web. It spans tree trunk to tree trunk, connecting half a dozen large trees in a sloppy woven tapestry. Up above you, a large black and yellow spider appears to be dozing.
Back to the path! Goto [[68|path]].
Cautiously walk around the web, goto [[1|continue]].
Get out your corn butter knife and start hacking and slashing! Goto [[3|hack]].</tw-passagedata><tw-passagedata pid="6" name="giant" tags="" position="725,100" size="100,100">You jump up and wave your arms over head and yell at the giant. It stops playing its double flute and turns its keen eyesight in your direction, spotting you instantly. It walks across the backs of its flock of clouds, and in just a couple strides is close enough to pluck you from your cloud. You grow dizzy as it lifts you up to roughly shoulder height. It speaks softly but its voice still booms, &quot;What are you doing here, small folk?&quot;
Be direct and ask about the Corn Mother&#39;s talisman: goto [[30|askgiant]].
Be a little sneaky and try to soften the giant up first: goto [[37|gazing]].</tw-passagedata><tw-passagedata pid="7" name="resist" tags="" position="850,100" size="100,100">When you look around, when you search your mind and your feelings, you know the giant&#39;s story to be true. The crop dictates almost every facet of your life: where to live, when to plant, when to harvest. Working the earth is back breaking work. It drives a wedge between you and the crows and the other creatures that threaten the crop. It tethers you in place, for the crops must be tended to.
Destroy the talisman: goto [[50|destroy]].
Return the talisman to the village: goto [[51|part]].</tw-passagedata><tw-passagedata pid="8" name="tag" tags="" position="975,100" size="100,100">You have a fantastic time playing tag. Three Fingered Gerald plays a little too rough, tagging the other kids too hard and knocking them over. But you are too fast for Three Fingered Gerald. They never catch you. You all have a great time, and then you decide to scurry along. Goto [[12|altar]].</tw-passagedata><tw-passagedata pid="9" name="greedy" tags="" position="1100,100" size="100,100">You grab the steel and crawl out of the pouch. You greedily eye the shears. Cloud shepherds alone are able to speak the language of clouds, and possess the ability to shear them and harvest their cloudstuff, and to shape and harden the cloudstuff into a material harder than stone. There are stories that the giants of old used to live in great floating castles. You wonder whether you could collect cloudstuff if you had the giant&#39;s shears..
Yes, grab them: goto [[64|shears]].
Let&#39;s not be too greedy now: [[60|escape]].</tw-passagedata><tw-passagedata pid="10" name="wait" tags="" position="1225,100" size="100,100">You tuck yourself into a crevice in the rocks to get out of the blistering wind, and wrap your arms around yourself for warmth, and wait. Where there&#39;s a flock of clouds, there&#39;s guaranteed to be a cloud shepherd nearby. Eventually. Against all odds, you start to doze off. Goto [[46|doze]].</tw-passagedata><tw-passagedata pid="11" name="fwiends" tags="" position="100,225" size="100,100">You scoop the little fella up! You laugh with delight as it flips and jumps and rolls around in your hand like a little jumping bean! It finally settles down, stands up, and points to a spot at the treeline, commanding you forward like George Washington crossing the Delaware. You shrug and start walking that direction, and the whelp impatiently hops down to lead you forward. Goto [[47|treeline]].</tw-passagedata><tw-passagedata pid="12" name="grab" tags="" position="225,225" size="100,100">The cloud is moving faster than it looked like, and your arm tugs painfully in its socket as you refuse to let go and are dragged across the peak and then into the air. The trees of the forest far below look like a miniature painting as you haul yourself up and grab another handful of cloudstuff. Hand over hand, you clamber scramble up onto the top of the cloud. You roll onto your back and try to catch your breath. Eventually, with nothing else to do, and quite comfortable nestled in the cloudstuff, you drift off to sleep. Goto [[41|flute]].</tw-passagedata><tw-passagedata pid="13" name="altar" tags="" position="350,225" size="100,100">You run through the streets of Eerievale toward the plaza. Every year during the harvest, the village sets aside a portion of the harvest for the Corn Mother. And on the night of Harvest Festival Eve, the Corn Mother comes and takes the offering, and in the morning everybody wakes up and there are lots of presents and feasting and dancing! It&#39;s the best! Goto [[34|rejected]].</tw-passagedata><tw-passagedata pid="14" name="restart" tags="" position="475,225" size="100,100">You eventually find your way back to Eerievale, to the woods, and to the Corn Mother&#39;s hut. You return the talisman to her, and she is powers are restored. She summons the Corn Beast who fights off the dire crows, and peace is restored. The corn festival continues every year as it always for the rest of your days, and for your children and your children&#39;s children. In fact, one of your grandchildren is about to awaken right now on the morning of the corn festival. They are terribly excited. Goto [[0|beginning]].</tw-passagedata><tw-passagedata pid="15" name="lavamonster" tags="" position="600,225" size="100,100">No. You should never play Lava Monster. Go back to [[16|games]].</tw-passagedata><tw-passagedata pid="16" name="approach" tags="" position="725,225" size="100,100">You decide to try to get closer to the clouds. You climb the bald rocky spire, occasionally slipping and backsliding, but making progress overall, and eventually you make it to the top of the spire at the top of Mount Char. The living clouds are now so close that you can almost reach out and grab them. In fact, one drifts close by and you&#39;re able to reach out and grab a fistful of cloudstuff. Goto [[11|grab]].</tw-passagedata><tw-passagedata pid="17" name="games" tags="" position="850,225" size="100,100">You join in the games. A bunch of your friends are here: Three Fingered Gerald, Eccentric Kevin, Dale. Even Standard Ed has come out to play! It&#39;s the Harvest Festival after all! The best day of the year! If you choose to play tag, goto [[7|tag]]. If you play hide-and-seek, goto [[32|hideandseek]]. If you play Lava Monster, goto [[14|lavamonster]].</tw-passagedata><tw-passagedata pid="18" name="truth" tags="" position="975,225" size="100,100">The giant tells you of an ancient war between the small folk (you) and the corn mother. In this story, it calls her the Maize Witch. And in this story, she won and enslaved the
Return the talisman to the corn mother: goto [[13|restart]].
Accept the giant&#39;s story as truth: goto [[6|resist]].</tw-passagedata><tw-passagedata pid="19" name="witchaggro" tags="" position="1100,225" size="100,100">&quot;Insolent little whelp.&quot; The Corn Mother turns you into fertilizer for her crops. THE END.</tw-passagedata><tw-passagedata pid="20" name="beast" tags="" position="1225,225" size="100,100">You leave the plaza and run down Corn Street through the Golden Gate out into the fields. Almost all of the corn has been harvested already so you have clear sight all the way to the forest edge. Unbelieving, you spin around in circles three times just to be sure it&#39;s true: the cornbeast is gone. You sink to the ground in despair. Goto [[44|whelp]].</tw-passagedata><tw-passagedata pid="21" name="crowdemand" tags="" position="100,350" size="100,100">The dire crow caws loudly and beats its wings and lunges at you, its razor sharp beak as long as you are tall. You run away! Goto [[56|dark]].</tw-passagedata><tw-passagedata pid="22" name="charm" tags="" position="225,350" size="100,100">You grab your lucky lapel pin from under your pillow. It is small and pointy, in the shape of a corn cob. There are even little ridges and grooves all over the pin so that it feels like it has corn kernels! Very lucky indeed. You pin it by your collar. There, now you&#39;re are ready for anything. ...Just to be sure you also slip your lucky corn-shaped rock into your pocket. Okay now you&#39;re ready! You run to the kitchen. (You never go anywhere at anything less than a full run.) Breakfast is corn grits and cornbread. You eat quickly. It&#39;s the Harvest Festival after all! The best day of the year! You run outside and down the street, away from your house at 144 Cobb Lane. There are a bunch of kids playing games out in the corn fields. They call your name, and you&#39;re tempted to join them. But you also want to go see the goings on down at the corn altar!
The altar can wait, time to play: goto [[16|games]].
Games are for stupid babies! Time to visit the altar! Goto [[12|altar]].</tw-passagedata><tw-passagedata pid="23" name="agree" tags="" position="350,350" size="100,100">You acquiesce to the crow&#39;s demands, and pluck your lucky corn pin from your collar. You hold it up so that the light glints off it, and the crow scrutinizes the shiny. It nods. You hold it out, and the dire crow gently takes the pin from your hand. Phew! It lays down and extends a wing and you climb up onto its back. Soon you are flying through the air toward Mount Char. Goto [[54|char]].</tw-passagedata><tw-passagedata pid="24" name="ride" tags="" position="475,350" size="100,100">The dire crow stares at you with its black alien eye and then clucks, scratches in the soil, and crooks one wing: it saw a flock of clouds grazing at the top of Mount Char, and will take you there. For a price. To offer the crow your favorite, lucky corn pin, goto [[22|agree]]. To refuse, goto [[33|refuse]].</tw-passagedata><tw-passagedata pid="25" name="scram" tags="" position="600,350" size="100,100">You tell the whelp to get lost. Shoo! Skedaddle, you rotten little crabapple! You gently nudge the corn whelp away with your foot, and it topples over. It jumps up and pulls out a long thorn and stabs you in the foot. Ouch! You little rascal! You bend down to scoop the whelp up and give it what for, but it skitters away and scampers off toward the treeline. Follow that whelp! Your honor demands it! Goto [[47|treeline]].</tw-passagedata><tw-passagedata pid="26" name="stay" tags="" position="725,350" size="100,100">You decide to not push your luck by going bushwhacking in the undergrowth. Good thing, orienteering was never your strongest activity in Corn Scouts. Eventually you catch a whiff of fresh baked bread on the breeze. You follow the scent to a small clearing. The smell is coming from the chimney of a small hut stood up on wooden legs. Goto [[31|hut]].</tw-passagedata><tw-passagedata pid="27" name="egg" tags="" position="850,350" size="100,100">You notice some movement inside one of the eggs through its thin translucent shell. You lean in to take a closer look. The shell cracks and a hatchling dire crow bursts out and flies through the air right toward your face! It collides into you and you both fall over. It sits on your chest chirping pitifully and flapping its tiny wings.
Try to sooth and placate it before it wakes anybody up: goto [[28|placate]].
There&#39;s no time! Grab the bird and run! Goto [[43|abscond]].</tw-passagedata><tw-passagedata pid="28" name="panic" tags="" position="975,350" size="100,100">You scream and panic and run around in circles until you trip and fall down. You have dirtied up your clothes and skinned you knee. One of the old aunties nearby clucks at you disapprovingly. You pick yourself up and dust yourself off, patting yourself down. You straighten up your lucky lapel pin. You squeeze it tight between your fingers and squeeze your eyes shut. Okay this is not the time to panic after all. This is the time for decisive action. If you decide to go look for the cornbeast goto [[19|beast]]. If you go home and hide under your bed goto [[62|hide]].</tw-passagedata><tw-passagedata pid="29" name="placate" tags="" position="1100,350" size="100,100">Shhhhh. SHHHHHH. Shhh. You coddle and comfort the dire crow hatchling which, although merely a couple of minutes old, is already almost as big as you are. You stroke its feathers and pat its beak and it slowly calms down and stops making a fuss. It looks at you and cocks its head and coos softly. Looks like you made a friend!
Let&#39;s get out of here. Goto [[36|dash]].</tw-passagedata><tw-passagedata pid="30" name="askgiant" tags="" position="1225,350" size="100,100">You tell the giant about your village and the corn mother and the dire crow, and you ask if it knows where the talisman is. &quot;Yes, I have your necklace,&quot; the shepherd says. &quot;I bought it from a crow for a small amount of wool. Would you now buy it back from me? I will sell it you. The price is that you shall know the truth. Do you accept?&quot;
Accept the trade offer: goto [[17|truth]].
Refuse: goto [[66|refusegiant]].</tw-passagedata><tw-passagedata pid="31" name="hut" tags="" position="100,475" size="100,100">You approach the hut. It smells of fresh baked bread, and your stomach rumbles. You knock on the door. A weak, reedy voice inside beckons you inside. You cross the threshold and see an old woman, as tall as three humans, and as thin as a blade of grass. She bends over almost double but still takes up nearly all the space inside the hut. Her fine golden hair falls in curtains, covering most of her face. Though you&#39;ve never seen her before, you know this is her: the Corn Mother. She stares at you intensely, her thin lips pressed together in a straight line.
If you cry out, &quot;What the hell Corn Mother! Why did you abandon us!&quot; goto [[18|witchaggro]].
You drop to your knee and kneel in respect. &quot;Corn Mother! How can I serve you?&quot; Goto [[65|witchnice]].</tw-passagedata><tw-passagedata pid="32" name="hideandseek" tags="" position="225,475" size="100,100">You play hide and seek. You are so good at hiding that the other kids never find you. You eventually get tired and fall asleep, but not for too long: your snoring wakes you up. You decide to leave and seek out other Harvest Festival festivities. Goto [[12|altar]].</tw-passagedata><tw-passagedata pid="33" name="refuse" tags="" position="350,475" size="100,100">&quot;No way, Jose!&quot; You shout at the crow. It shrugs flies away. Probably to go destroy Eerievale, your home, and all your friends. You retreat back to the treeline and watch the giant groundhogs scurry to and fro betwixt the many mounds. Goto [[56|dark]].</tw-passagedata><tw-passagedata pid="34" name="rejected" tags="" position="475,475" size="100,100">Eerievale&#39;s five major roads all converge at the village plaza: High, Broad, Church, Corn, and Wine Streets. You come tearing up Broad Street at a full sprint. The closer you get to the plaza, the more you get the feeling something is wrong. The decorations are all up but nobody is singing or hollering or laughing or doing the Corn Chant. Or talking, really.
You arrive at the Corn Altar, and then gasp out loud and skid to a stop before it.
The offering, the pile of ears of corn, is still lying on the altar where it was placed last night! People are milling about, whispering and casting quick, fearful glances at the spurned corn.
Go checkout the corn at the altar: Goto [[40|altarcorn]].
Listen in on some of the adults: Goto [[2|eavesdrop]].</tw-passagedata><tw-passagedata pid="35" name="noegg" tags="" position="600,475" size="100,100">You wisely decide not to mess around with the dire crow eggs. You back out of the hatchery and descend deeper into the dire crow warrens. Up ahead you hear one of the giant groundhogs snuffling about, and you dart down a narrow branching tunnel to avoid it. Good news: you avoided the groundhog sentry. Bad news: you retreated directly into the chambers of a very irate dire crow. It pecks you to pieces. THE END.</tw-passagedata><tw-passagedata pid="36" name="dash" tags="" position="725,475" size="100,100">You backtrack as quickly and as quietly as is possible while carrying / dragging a baby dire crow. Soon you are back at the entrance to the warrens. You abscond into the night and back to the relative safety of the treeline. Well that was a bust! You snuck into the warrens to find the corn talisman, but all you got was this dumb giant baby bird! Goto [[45|baby]].</tw-passagedata><tw-passagedata pid="37" name="gazing" tags="" position="850,475" size="100,100">You tell the giant you were out cloud gazing! And then you heard its beautiful music! And you were so captivated you just had to know who could produce such melodies! The shepherd narrows its eyes at you. &quot;I don&#39;t believe you. Are you telling me the truth?&quot;
Double down on your story: goto [[63|liar]].
Admit the truth: goto [[30|askgiant]].</tw-passagedata><tw-passagedata pid="38" name="corndress" tags="" position="975,475" size="100,100">You slip on a lovely corn pattern dress. Yes, you look awesome. It twirls when you spin around. And it has pockets! Which reminds you... Goto [[21|charm]].</tw-passagedata><tw-passagedata pid="39" name="clouds" tags="" position="1100,475" size="100,100">The giant herds the clouds for hours upon hours without ever noticing you. Eventually it stops and makes bedding out of a bunch of clouds. It eats a crust of bread and some cheese, and then plays softly on its double flute until it falls asleep.
This is your chance to go see if it has the talisman: goto [[42|search]].
You&#39;re not keen on trying to steal from the giant, but you are hungry enough to go see if there are any bread or cheese crumbs: goto [[52|crumbs]].</tw-passagedata><tw-passagedata pid="40" name="altarcorn" tags="" position="1225,475" size="100,100">omg it&#39;s just lying there! Why has the Corn Mother forsaken us? What does it mean? What will we do? To go into a panic goto [[27|panic]]. To remain calm goto [[58|calm]].</tw-passagedata><tw-passagedata pid="41" name="flute" tags="" position="100,600" size="100,100">Later, just as the sun is setting, you hear a mournful sound: carried by the wind, the droning melody of a low, sorrowful double flute. You sit up and look around in time to see the clouds, stirred by the music, start to flock toward its source. In the distance you can see it: a mountainous shepherd astride a large cloud, as tall as twelve men, its flute the size of a small tree. Its shears hang at its side and glint in the moonlight.
If you try to get the giant&#39;s attention goto [[5|giant]].
If you attempt to hide from the giant goto [[57|nogiant]].</tw-passagedata><tw-passagedata pid="42" name="search" tags="" position="225,600" size="100,100">You sneak up close to the giant. It wears a large pouch on its belt next to its shears. You lift the flap and peer inside. It&#39;s full of bread and cheese and flint and steel and a tinderbox. And a necklace of strung glass beads resembling popcorn. The Corn Mother&#39;s talisman! You crawl all the way inside the pouch to fetch it.
Might as will nick a few more things while you&#39;re here: goto [[8|greedy]].
You got what you came for, let&#39;s get out of here: goto [[60|escape]].</tw-passagedata><tw-passagedata pid="43" name="abscond" tags="" position="350,600" size="100,100">Argh, there&#39;s no time for this unsanctioned tomfoolery! You snap the bird&#39;s beak shut with one hand, and awkwardly scoop it up with both arms (although just freshly hatched, it is already almost as big as you are!) and drag it out of the hatchery. Goto [[36|dash]].</tw-passagedata><tw-passagedata pid="44" name="whelp" tags="" position="475,600" size="100,100">You feel something brush against your ankle. You look down to see a corn whelp. A kernel sprite. A sort of golem made of dried kernels and corn husk tied together with golden cornsilk. There&#39;s only one cornbeast as far as anyone knows. But there are dozens of these little fellas. This one is pawing and scratching at you. Goto [[10|fwiends]] to pick the little guy up. To tell the whelp to scram goto [[24|scram]].</tw-passagedata><tw-passagedata pid="45" name="baby" tags="" position="600,600" size="100,100">You spend a couple of days moping around the woods next to the warrens. Because of its dire crow physiology, the hatchling doubles in size and grows its adult feathers, and is soon attempting short flights on its own. You spend the nights curled up on a bit of cloudstuff fluff that came with the no-longer-quite-so-small hatchling. On the twelfth day, Baby (What? It needed a name!) returns from a longer solo flight and seems to abruptly make up its mind about something. It grabs the cloud fluff in its beak, and stoops down and extends a wing, inviting you onto its back. You shrug and climb aboard. And then you are flying through the air high above the ground! The warrens and the misty lake fall away and quite some time later, you are flying towards a mountain peak that juts up out of the ground like a pole. A thick rolling knot of thick clouds gather around its peak. Goto [[54|char]].</tw-passagedata><tw-passagedata pid="46" name="doze" tags="" position="725,600" size="100,100">The rumble of thunder jolts you from sleep, whatever dreams you were having scattering. You peer from your crevice and see two living clouds fighting. Both dark and heavy with rain, rumbling deeply. They crash into each other, merge into one, and separate again. Their bellies flash with lightning as they posture aggressively at each other. A couple of other clouds drift by watching, including a small fluffly white cloud that floats nearby. You think it might be within your grasp. You reach out to grab it and... goto [[11|grab]].</tw-passagedata><tw-passagedata pid="47" name="treeline" tags="" position="850,600" size="100,100">The treeline is thick and overgrown. Usually there&#39;s hardly any way into the woods unless you can find a small game trail. Except now there is a rather large, perfectly round circular opening cut through the trees, bushes, grass, and vines. A perfectly round portal into the forbidden forest. Goto [[62|hide]] to nope away back home. To venture through the weird round hole into the forest, goto [[68|path]].</tw-passagedata><tw-passagedata pid="48" name="accept" tags="" position="975,600" size="100,100">The Corn Mother draws you toward a looking glass hanging in the corner. She describes for you how to get to the crows warren, tracing the path with one long talon of a finger. As she speaks, you can almost see the hazy path she describes for you. The mountains, the bog, the tall spruce. Her words become a hum as the vision fills your head. You pitch forward as the looking glass widens into a glassy lake and you fall in. Goto [[53|lake]].</tw-passagedata><tw-passagedata pid="49" name="crowask" tags="" position="1100,600" size="100,100">The dire crow pins you down with one black shiny eye as you delicately broach the subject of the Corn Mother&#39;s talisman. It blinks. And it bobs its head. Yes, it knows of the talisman you seek. You know very little Crow. It is a very complex language with verbal and somatic components consisting of caws, clicks, chirps, and whirring; and also hops and bob
To check out the eggs, goto [[26|egg]].
Better leave those eggs alone! Goto [[35|noegg]].</tw-passagedata><tw-passagedata pid="57" name="nogiant" tags="" position="850,725" size="100,100">That thing is the size of a small mountain! What were you thinking trying? You make yourself small and sink into the soft fluffy cloudstuff and hide from the shepherd&#39;s gaze. Goto [[39|clouds]].</tw-passagedata><tw-passagedata pid="58" name="calm" tags="" position="975,725" size="100,100">Okay you got this. Take a couple of deep breaths. There you go. This doesn&#39;t necessarily mean that the Corn Mother has turned her back on Eerievale. She probably hasn&#39;t withdrawn her protection from you, leaving you open to attack from the dire crows, right? Right? RIGHT?? Goto [[27|panic]].</tw-passagedata><tw-passagedata pid="59" name="warren" tags="" position="1100,725" size="100,100">Enormous mounds jut out of the earth like a wave of goosebumps: entrances to the warrens below, dug out by the giant rodents that the crows keep as pets. To attempt a direct approach, go to [[67|direct]]. To wait and observe, and attempt an indirect approach, go to [[55|indirect]].</tw-passagedata><tw-passagedata pid="60" name="escape" tags="" position="1225,725" size="100,100">You feel as though you have indulged your greediness enough. You have the talisman and a valuable length of steel. You retreat to your cloud and gentle coax it away from the herd. You can&#39;t get it to land on the ground, but you are able to steer it close enough to a tree canopy that you are able to climb off of it. The cloud lazily floats away to rejoin the others as you climb down to the tree to the ground. Goto [[13|restart]].</tw-passagedata><tw-passagedata pid="61" name="cornoveralls" tags="" position="100,850" size="100,100">You pull on your overalls. They have a really nice looking corn pattern on them, and the bib pocket in the front is perfect for holding all kinds of things. Speaking of which... Goto [[21|charm]].</tw-passagedata><tw-passagedata pid="62" name="hide" tags="" position="225,850" size="100,100">You run back home and hide under your bed. Eventually you hear throaty, gurgling caws and the thundering beating of wings as the dire crows descend on the town. Without the cornbeast to scare them away, they rip most of the village to pieces. THE END</tw-passagedata><tw-passagedata pid="63" name="liar" tags="" position="350,850" size="100,100">The giant frowns at you. &quot;You vex me, small folk.&quot; It flings you off the cloud. You have a little over a minute of freefall to regret your tactics before being dashed to pieces on the ground below. THE END.</tw-passagedata><tw-passagedata pid="64" name="shears" tags="" position="475,850" size="100,100">You start to untie the shears from the shepherd&#39;s belt when the giant stirs and claps a giant hand down over you. It pinches you between two fingers and lifts you to its face, and it peers angrily at you. Goto [[63|liar]].</tw-passagedata><tw-passagedata pid="65" name="witchnice" tags="" position="600,850" size="100,100">&quot;The crows stole my talisman. A necklace of strung glass beads. I am powerless without it. And with it, they hold power over me. You must fetch it for me if I am to protect you and your village once again.&quot;
Agree to help the Corn Mother: goto [[48|accept]].
Tough luck! Sucks to suck! Goto [[18|witchaggro]].</tw-passagedata><tw-passagedata pid="66" name="refusegiant" tags="" position="725,850" size="100,100">The giant shrugs and sets you down. &quot;If you refuse the pay the price, then there is no deal to be made, small folk.&quot; It remains indifferent to you until it is time to set out again. Goto [[39|clouds]].</tw-passagedata><tw-passagedata pid="67" name="direct" tags="" position="850,850" size="100,100">You march directly up to the warrens like you want to speak to the manager. A giant groundhog sentry stands up and yahoos, sending an alarm throughout the warrens that is picked up and echoed by more of the enormous rodents. Your approach has been noticed and announced! At the sound the commotion, a dire crow crawls out of the earthen tunnels. It flaps its wings, shaking itself clean of the dust. It raises its beak toward the sky and its throat feathers bristle as it caws so loudly you can feel it reverberate in your chest bones. It flaps its wings and hops toward you, as tall as six men, and fixes you with one terrible inky black eye. Inquire delicately about the talisman: go to [[49|crowask]]. Demand the crow return the talisman: go to [[20|crowdemand]].</tw-passagedata><tw-passagedata pid="68" name="path" tags="" position="975,850" size="100,100">You step into the forest. Gulp! You don&#39;t know anybody who has ever been in the forest. Nobody from Eerievale has ever been any farther than the corn fields as far as you know. You step carefully as the whelp dances around your feet, lunging and thrusting with its thorn, threatening to trip you up. You try not to worry too much about the ominous shapes and sounds coming from the pooling shadows to either side of the trail. To stay on the path, goto [[25|stay]]. To step off the path and explore, goto [[4|explore]].</tw-passagedata></tw-storydata>
<script title="Twine engine code" data-main="harlowe">"use strict";function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var _slicedToArray=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(){/**
* @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/almond/LICENSE
*/
var requirejs,require,define;!function(e){function t(e,t){return v.call(e,t)}function n(e,t){var n,r,i,o,a,s,c,u,l,f,p,d,h=t&&t.split("/"),g=y.map,m=g&&g["*"]||{};if(e){for(e=e.split("/"),a=e.length-1,y.nodeIdCompat&&w.test(e[a])&&(e[a]=e[a].replace(w,"")),"."===e[0].charAt(0)&&h&&(d=h.slice(0,h.length-1),e=d.concat(e)),l=0;l<e.length;l++)if("."===(p=e[l]))e.splice(l,1),l-=1;else if(".."===p){if(0===l||1===l&&".."===e[2]||".."===e[l-1])continue;l>0&&(e.splice(l-1,2),l-=2)}e=e.join("/")}if((h||m)&&g){for(n=e.split("/"),l=n.length;l>0;l-=1){if(r=n.slice(0,l).join("/"),h)for(f=h.length;f>0;f-=1)if((i=g[h.slice(0,f).join("/")])&&(i=i[r])){o=i,s=l;break}if(o)break;!c&&m&&m[r]&&(c=m[r],u=l)}!o&&c&&(o=c,s=u),o&&(n.splice(0,s,o),e=n.join("/"))}return e}function r(t,n){return function(){var r=b.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),f.apply(e,r.concat([t,n]))}}function i(e){return function(t){return n(t,e)}}function o(e){return function(t){h[e]=t}}function a(n){if(t(g,n)){var r=g[n];delete g[n],m[n]=!0,l.apply(e,r)}if(!t(h,n)&&!t(m,n))throw new Error("No "+n);return h[n]}function s(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function c(e){return e?s(e):[]}function u(e){return function(){return y&&y.config&&y.config[e]||{}}}var l,f,p,d,h={},g={},y={},m={},v=Object.prototype.hasOwnProperty,b=[].slice,w=/\.js$/;p=function(e,t){var r,o=s(e),c=o[0],u=t[1];return e=o[1],c&&(c=n(c,u),r=a(c)),c?e=r&&r.normalize?r.normalize(e,i(u)):n(e,u):(e=n(e,u),o=s(e),c=o[0],e=o[1],c&&(r=a(c))),{f:c?c+"!"+e:e,n:e,pr:c,p:r}},d={require:function(e){return r(e)},exports:function(e){var t=h[e];return void 0!==t?t:h[e]={}},module:function(e){return{id:e,uri:"",exports:h[e],config:u(e)}}},l=function(n,i,s,u){var l,f,y,v,b,w,x,T=[],S=void 0===s?"undefined":_typeof(s);if(u=u||n,w=c(u),"undefined"===S||"function"===S){for(i=!i.length&&s.length?["require","exports","module"]:i,b=0;b<i.length;b+=1)if(v=p(i[b],w),"require"===(f=v.f))T[b]=d.require(n);else if("exports"===f)T[b]=d.exports(n),x=!0;else if("module"===f)l=T[b]=d.module(n);else if(t(h,f)||t(g,f)||t(m,f))T[b]=a(f);else{if(!v.p)throw new Error(n+" missing "+f);v.p.load(v.n,r(u,!0),o(f),{}),T[b]=h[f]}y=s?s.apply(h[n],T):void 0,n&&(l&&l.exports!==e&&l.exports!==h[n]?h[n]=l.exports:y===e&&x||(h[n]=y))}else n&&(h[n]=s)},requirejs=require=f=function(t,n,r,i,o){if("string"==typeof t)return d[t]?d[t](n):a(p(t,c(n)).f);if(!t.splice){if(y=t,y.deps&&f(y.deps,y.callback),!n)return;n.splice?(t=n,n=r,r=null):t=e}return n=n||function(){},"function"==typeof r&&(r=i,i=o),i?l(e,t,n,r):setTimeout(function(){l(e,t,n,r)},4),f},f.config=function(e){return f(e)},requirejs._defined=h,define=function(e,n,r){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");n.splice||(r=n,n=[]),t(h,e)||t(g,e)||(g[e]=[e,n,r])},define.amd={jQuery:!0}}(),define("almond",function(){}),function(e,t){"object"===("undefined"==typeof module?"undefined":_typeof(module))&&"object"===_typeof(module.exports)?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e,t,n){n=n||ce;var r,i,o=n.createElement("script");if(o.text=e,t)for(r in Te)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function r(e){return null==e?e+"":"object"===(void 0===e?"undefined":_typeof(e))||"function"==typeof e?he[ge.call(e)]||"object":void 0===e?"undefined":_typeof(e)}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!we(e)&&!xe(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function a(e,t,n){return we(t)?Se.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?Se.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Se.grep(e,function(e){return de.call(t,e)>-1!==n}):Se.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeT
x=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+te+")"+e+"("+te+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,c){var u,l,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,m=s&&t.nodeName.toLowerCase(),v=!c&&!s,b=!1;if(y){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&v){for(p=y,f=p[q]||(p[q]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),u=l[e]||[],d=u[0]===H&&u[1],b=d&&u[2],p=d&&y.childNodes[d];p=++d&&p&&p[g]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){l[e]=[H,d,b];break}}else if(v&&(p=t,f=p[q]||(p[q]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),u=l[e]||[],d=u[0]===H&&u[1],b=d),!1===b)for(;(p=++d&&p&&p[g]||(b=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(v&&(f=p[q]||(p[q]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),l[e]=[H,b]),p!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[q]?o(n):o.length>1?(i=[e,e,"",n],x.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=K(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=O(e.replace(ae,"$1"));return i[q]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,we),function(t){return(t.textContent||T(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do{if(n=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===P},focus:function(e){return e===_.activeElement&&(!_.hasFocus||_.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return ge.tes
a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=R(e,t,r)),"normal"===i&&t in xt&&(i=xt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),Se.each(["height","width"],function(e,t){Se.cssHooks[t]={get:function(e,n,r){if(n)return!vt.test(Se.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,t,r):Qe(e,wt,function(){return B(e,t,r)})},set:function(e,n,r){var i,o=dt(e),a=!be.scrollboxSize()&&"absolute"===o.position,s=a||r,c=s&&"border-box"===Se.css(e,"boxSizing",!1,o),u=r?$(e,t,r,c,o):0;return c&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-$(e,t,"border",!1,o)-.5)),u&&(i=Ue.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=Se.css(e,t)),V(e,n,u)}}}),Se.cssHooks.marginLeft=q(be.reliableMarginLeft,function(e,t){if(t)return(parseFloat(R(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Se.each({margin:"",padding:"",border:"Width"},function(e,t){Se.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Ge[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(Se.cssHooks[e+t].set=V)}),Se.fn.extend({css:function(e,t){return Re(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=dt(e),i=t.length;a<i;a++)o[t[a]]=Se.css(e,t[a],!1,r);return o}return void 0!==n?Se.style(e,t,n):Se.css(e,t)},e,t,arguments.length>1)}}),Se.Tween=W,W.prototype={constructor:W,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||Se.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Se.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=Se.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Se.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){Se.fx.step[e.prop]?Se.fx.step[e.prop](e):1!==e.elem.nodeType||!Se.cssHooks[e.prop]&&null==e.elem.style[H(e.prop)]?e.elem[e.prop]=e.now:Se.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Se.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Se.fx=W.prototype.init,Se.fx.step={};var Tt,St,kt=/^(?:toggle|show|hide)$/,Ot=/queueHooks$/;Se.Animation=Se.extend(Z,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return v(n.elem,e,Ue.exec(t),n),n}]},tweener:function(e,t){we(e)?(t=e,e=["*"]):e=e.match(Me);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Z.tweeners[n]=Z.tweeners[n]||[],Z.tweeners[n].unshift(t)},prefilters:[X],prefilter:function(e,t){t?Z.prefilters.unshift(e):Z.prefilters.push(e)}}),Se.speed=function(e,t,n){var r=e&&"object"===(void 0===e?"undefined":_typeof(e))?Se.extend({},e):{complete:n||!n&&t||we(e)&&e,duration:e,easing:n&&t||t&&!we(t)&&t};return Se.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Se.fx.speeds?r.duration=Se.fx.speeds[r.duration]:r.duration=Se.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){we(r.old)&&r.old.call(this),r.queue&&Se.dequeue(this,r.queue)},r},Se.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ze).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Se.isEmptyObject(e),o=Se.speed(t,n,r),a=function(){var t=Z(this,Se.extend({},e),o);(i||Ve.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string
* https://github.com/paulmillr/es6-shim
* @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com)
* and contributors, MIT License
* es6-shim: v0.35.4
* see https://github.com/paulmillr/es6-shim/blob/0.35.3/LICENSE
* Details and documentation:
* https://github.com/paulmillr/es6-shim/
*/
function(e,t){"function"==typeof define&&define.amd?define("es6-shim",t):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t():e.returnExports=t()}(this,function(){var e,t=Function.call.bind(Function.apply),n=Function.call.bind(Function.call),r=Array.isArray,i=Object.keys,o=function(e){try{return e(),!1}catch(e){return!0}},a=function(e){try{return e()}catch(e){return!1}},s=function(e){return function(){return!t(e,this,arguments)}}(o),c=!!Object.defineProperty&&function(){return!o(function(){return Object.defineProperty({},"x",{get:function(){}})})}(),u="foo"===function(){}.name,l=Function.call.bind(Array.prototype.forEach),f=Function.call.bind(Array.prototype.reduce),p=Function.call.bind(Array.prototype.filter),d=Function.call.bind(Array.prototype.some),h=function(e,t,n,r){!r&&t in e||(c?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n}):e[t]=n)},g=function(e,t,n){l(i(t),function(r){var i=t[r];h(e,r,i,!!n)})},y=Function.call.bind(Object.prototype.toString),m="function"==typeof/abc/?function(e){return"function"==typeof e&&"[object Function]"===y(e)}:function(e){return"function"==typeof e},v={getter:function(e,t,n){if(!c)throw new TypeError("getters require true ES5 support");Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get:n})},proxy:function(e,t,n){if(!c)throw new TypeError("getters require true ES5 support");var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,{configurable:r.configurable,enumerable:r.enumerable,get:function(){return e[t]},set:function(n){e[t]=n}})},redefine:function(e,t,n){if(c){var r=Object.getOwnPropertyDescriptor(e,t);r.value=n,Object.defineProperty(e,t,r)}else e[t]=n},defineByDescriptor:function(e,t,n){c?Object.defineProperty(e,t,n):"value"in n&&(e[t]=n.value)},preserveToString:function(e,t){t&&m(t.toString)&&h(e,"toString",t.toString.bind(t),!0)}},b=Object.create||function(e,t){var n=function(){};n.prototype=e;var r=new n;return void 0!==t&&i(t).forEach(function(e){v.defineByDescriptor(r,e,t[e])}),r},w=function(e,t){return!!Object.setPrototypeOf&&a(function(){var n=function t(n){var r=new e(n);return Object.setPrototypeOf(r,t.prototype),r};return Object.setPrototypeOf(n,e),n.prototype=b(e.prototype,{constructor:{value:n}}),t(n)})},x=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}(),T=x.isFinite,S=Function.call.bind(String.prototype.indexOf),k=Function.apply.bind(Array.prototype.indexOf),O=Function.call.bind(Array.prototype.concat),j=Function.call.bind(String.prototype.slice),A=Function.call.bind(Array.prototype.push),C=Function.apply.bind(Array.prototype.push),E=Function.call.bind(Array.prototype.shift),N=Math.max,_=Math.min,P=Math.floor,I=Math.abs,M=Math.exp,D=Math.log,L=Math.sqrt,R=Function.call.bind(Object.prototype.hasOwnProperty),q=function(){},F=x.Map,H=F&&F.prototype.delete,V=F&&F.prototype.get,$=F&&F.prototype.has,B=F&&F.prototype.set,W=x.Symbol||{},z=W.species||"@@species",U=Number.isNaN||function(e){return e!==e},G=Number.isFinite||function(e){return"number"==typeof e&&T(e)},J=m(Math.sign)?Math.sign:function(e){var t=Number(e);return 0===t?t:U(t)?t:t<0?-1:1},X=function(e){var t=Number(e);return t<-1||U(t)?NaN:0===t||t===1/0?t:-1===t?-1/0:1+t-1==0?t:t*(D(1+t)/(1+t-1))},Y=function(e){return"[object Arguments]"===y(e)},Z=function(e){return null!==e&&"object"===(void 0===e?"undefined":_typeof(e))&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==y(e)&&"[object Function]"===y(e.callee)},Q=Y(arguments)?Y:Z,K={primitive:function(e){return null===e||"function"!=typeof e&&"object"!==(void 0===e?"undefined":_typeof(e))},string:function(e){return"[object String]"===y(e)},regex:function(e){return"[object RegExp]"===y(e)},symbol:function(e){return"function"==typeof x.Symbol&&"symbol"===(void 0===e?"undefined":_typeof(e))}},ee=function(e,t,n){var r=e[t];h(e,t,n,!0),v.preserveToString(e[t],r)},te="function"==typeof W&&"function"==typeof W.for&&K.symbol(W()),ne=K.
},y=function(e,t,r,i){e===o?n(e,t,r,i,u):n(e,t,r,i)},m=function(e,t,n){var r=h(e),i=r.resolve,o=r.reject;try{y(n,t,i,o)}catch(e){o(e)}},v=function(){var e=function(t){if(!(this instanceof e))throw new TypeError('Constructor Promise requires "new"');if(this&&this._promise)throw new TypeError("Bad construction");if(!se.IsCallable(t))throw new TypeError("not a valid resolver");var n=Ee(this,e,i,{_promise:{result:void 0,state:0,reactionLength:0,fulfillReactionHandler0:void 0,rejectReactionHandler0:void 0,reactionCapability0:void 0}}),r=h(n),o=r.reject;try{t(r.resolve,o)}catch(e){o(e)}return n};return e}();i=v.prototype;var b=function(e,t,n,r){var i=!1;return function(o){if(!i&&(i=!0,t[e]=o,0==--r.count)){(0,n.resolve)(t)}}},w=function(e,t,n){for(var r,i,o=e.iterator,a=[],s={count:1},c=0;;){try{if(!1===(r=se.IteratorStep(o))){e.done=!0;break}i=r.value}catch(t){throw e.done=!0,t}a[c]=void 0;var u=t.resolve(i),l=b(c,a,n,s);s.count+=1,y(u.then,u,l,n.reject),c+=1}if(0==--s.count){(0,n.resolve)(a)}return n.promise},T=function(e,t,n){for(var r,i,o,a=e.iterator;;){try{if(!1===(r=se.IteratorStep(a))){e.done=!0;break}i=r.value}catch(t){throw e.done=!0,t}o=t.resolve(i),y(o.then,o,n.resolve,n.reject)}return n.promise};return g(v,{all:function(e){var t=this;if(!se.TypeIsObject(t))throw new TypeError("Promise is not object");var n,i,o=new r(t);try{return n=se.GetIterator(e),i={iterator:n,done:!1},w(i,t,o)}catch(e){var a=e;if(i&&!i.done)try{se.IteratorClose(n,!0)}catch(e){a=e}var s=o.reject;return s(a),o.promise}},race:function(e){var t=this;if(!se.TypeIsObject(t))throw new TypeError("Promise is not object");var n,i,o=new r(t);try{return n=se.GetIterator(e),i={iterator:n,done:!1},T(i,t,o)}catch(e){var a=e;if(i&&!i.done)try{se.IteratorClose(n,!0)}catch(e){a=e}var s=o.reject;return s(a),o.promise}},reject:function(e){var t=this;if(!se.TypeIsObject(t))throw new TypeError("Bad promise constructor");var n=new r(t);return(0,n.reject)(e),n.promise},resolve:function(e){var t=this;if(!se.TypeIsObject(t))throw new TypeError("Bad promise constructor");if(se.IsPromise(e)){var n=e.constructor;if(n===t)return e}var i=new r(t);return(0,i.resolve)(e),i.promise}}),g(i,{catch:function(e){return this.then(null,e)},then:function(e,t){var n=this;if(!se.IsPromise(n))throw new TypeError("not a promise");var i,o=se.SpeciesConstructor(n,v);i=arguments.length>2&&arguments[2]===u&&o===v?u:new r(o);var a,f=se.IsCallable(e)?e:s,p=se.IsCallable(t)?t:c,d=n._promise;if(0===d.state){if(0===d.reactionLength)d.fulfillReactionHandler0=f,d.rejectReactionHandler0=p,d.reactionCapability0=i;else{var h=3*(d.reactionLength-1);d[h+0]=f,d[h+1]=p,d[h+2]=i}d.reactionLength+=1}else if(1===d.state)a=d.result,l(f,i,a);else{if(2!==d.state)throw new TypeError("unexpected Promise state");a=d.result,l(p,i,a)}return i.promise}}),u=new r(v),o=i.then,v}}();if(x.Promise&&(delete x.Promise.accept,delete x.Promise.defer,delete x.Promise.prototype.chain),"function"==typeof mn){g(x,{Promise:mn});var vn=w(x.Promise,function(e){return e.resolve(42).then(function(){})instanceof e}),bn=!o(function(){return x.Promise.reject(42).then(null,5).then(null,q)}),wn=o(function(){return x.Promise.call(3,q)}),xn=function(e){var t=e.resolve(5);t.constructor={};var n=e.resolve(t);try{n.then(null,q).then(null,q)}catch(e){return!0}return t===n}(x.Promise),Tn=c&&function(){var e=0,t=Object.defineProperty({},"then",{get:function(){e+=1}});return Promise.resolve(t),1===e}(),Sn=function e(t){var n=new Promise(t);t(3,function(){}),this.then=n.then,this.constructor=e};Sn.prototype=Promise.prototype,Sn.all=Promise.all;var kn=a(function(){return!!Sn.all([1,2])});if(vn&&bn&&wn&&!xn&&Tn&&!kn||(Promise=mn,ee(x,"Promise",mn)),1!==Promise.all.length){var On=Promise.all;ee(Promise,"all",function(e){return se.Call(On,this,arguments)})}if(1!==Promise.race.length){var jn=Promise.race;ee(Promise,"race",function(e){return se.Call(jn,this,arguments)})}if(1!==Promise.resolve.length){var An=Promise.resolve;ee(Promise,"resolve",function(e){return se.Call(An,this,arguments)})}if(1!==Promise.reject.length){var Cn=Promise.reject;ee(Promise,"r
hookFront:"hook"},cannotCross:["verbatimOpener"]}}},unclosedHook:{fn:o},unclosedHookPrepended:{fn:function(e){return{type:"unclosedHook",name:e[1],hidden:")"===e[2]}}},verbatimOpener:{fn:function(e){var t=e[0].length,n={};return n["verbatim"+t]="verbatim",{type:"verbatim"+t,isFront:!0,matches:n}}},collapsedFront:{fn:function(){return{isFront:!0}}},collapsedBack:{fn:function(){return{matches:{collapsedFront:"collapsed"},cannotCross:["verbatimOpener"]}}},escapedLine:{fn:o},legacyLink:{fn:function(e){return{type:"twineLink",innerText:e[1],passage:e[2]}}},br:{fn:o}}),l=i(s,{macroFront:{fn:function(e){return{isFront:!0,name:e[1]}}},groupingBack:{fn:function(){return{matches:{groupingFront:"grouping",macroFront:"macro"},cannotCross:["singleStringOpener","doubleStringOpener"]}}},passageLink:{fn:function(e){var t=e[1]||"",n=e[2]||"",r=e[3]||"";return{type:"twineLink",innerText:n?r:t,passage:t?r:n}}},simpleLink:{fn:function(e){return{type:"twineLink",innerText:e[1]||"",passage:e[1]||""}}},variable:{fn:t("name")},tempVariable:{fn:t("name")}}),f=i(s,Object.assign({macroName:{canFollow:["macroFront"],fn:function(e){return e[2]?{isMethodCall:!0,innerText:e[2]}:{isMethodCall:!1}}},groupingFront:{fn:function(){return{isFront:!0}}},property:{fn:t("name"),canFollow:["variable","hookRef","property","tempVariable","colour","itsProperty","belongingItProperty","macro","grouping","string","boolean","number"]},possessiveOperator:{fn:o},itsProperty:{cannotFollow:["text"],fn:t("name")},itsOperator:{cannotFollow:["text"],fn:o},belongingItProperty:{cannotFollow:["text"],fn:t("name")},belongingItOperator:{cannotFollow:["text"],fn:o},belongingProperty:{cannotFollow:["text"],fn:t("name")},belongingOperator:{cannotFollow:["text"],fn:o},escapedStringChar:{fn:function(){return{type:"text"}}},singleStringOpener:{fn:function(){return{isFront:!0,matches:{singleStringOpener:"string"}}}},doubleStringOpener:{fn:function(){return{isFront:!0,matches:{doubleStringOpener:"string"}}}},hookRef:{fn:t("name")},cssTime:{fn:function(e){return{value:+e[1]*("s"===e[2].toLowerCase()?1e3:1)}}},datatype:{cannotFollow:["text"],fn:function(e){return{name:e[0].toLowerCase()}}},colour:{cannotFollow:["text"],fn:function(e){var t,n=e[0].toLowerCase(),r={red:"e61919",orange:"e68019",yellow:"e5e619",lime:"80e619",green:"19e619",cyan:"19e5e6",aqua:"19e5e6",blue:"197fe6",navy:"1919e6",purple:"7f19e6",fuchsia:"e619e5",magenta:"e619e5",white:"fff",black:"000",gray:"888",grey:"888"};return t=Object.hasOwnProperty.call(r,n)?"#"+r[n]:n,{colour:t}}},number:{fn:function(e){return{value:parseFloat(e[0])}}},inequality:{fn:function(e){return{operator:e[2],negate:e[1].indexOf("not")>-1}}},augmentedAssign:{fn:function(e){return{operator:e[0][0]}}},identifier:{fn:t("name"),cannotFollow:["text"]},whitespace:{fn:o,cannotFollow:"text"},incorrectOperator:{fn:function(e){var t={"=>":">=","=<":"<=",gte:">=",lte:"<=",gt:">",lt:"<",eq:"is",isnot:"is not",neq:"is not",isa:"is a",are:"is",x:"*","or a":"or"}[e[0].toLowerCase().replace(/\s+/g," ")];return{type:"error",message:"Please say "+(t?"'"+t+"'":"something else")+" instead of '"+e[0]+"'.",explanation:"In the interests of readability, I want certain operators to be in a specific form."}},cannotFollow:"text"}},["boolean","is","to","into","where","when","via","with","making","each","and","or","not","isNot","contains","isIn","isA","isNotA","matches","bind"].reduce(function(e,t){return e[t]={fn:o,cannotFollow:["text"]},e},{}),["comma","spread","addition","subtraction","multiplication","division"].reduce(function(e,t){return e[t]={fn:o},e},{})));a.push.apply(a,_toConsumableArray(Object.keys(c)).concat(_toConsumableArray(Object.keys(l)),_toConsumableArray(Object.keys(u)))),s.push.apply(s,_toConsumableArray(Object.keys(l)).concat(_toConsumableArray(Object.keys(f))));var p=Object.assign({},c,u,l,f);return Object.keys(p).forEach(function(e){var t=n[e];p[e].pattern="string"!=typeof t?t:new RegExp("^(?:"+t+")","i"),n[e+"Peek"]&&(p[e].peek=n[e+"Peek"])}),Object.assign(e.rules,p),e.modes.start=e.modes.markup=a,e.modes.macro=s,e}function t(t){return Object.freeze({
}).trim(),b=b||a(e.slice(d+1)).trim(),j&&!v&&(v=" Operations.Identifiers.it "),k&&!v||O&&!b?f&&O&&!b?"":"TwineError.create('operation','I need some code to be "+(k?"left ":"")+(k&&O?"and ":"")+(O?"right ":"")+'of "'+p.text+"\"')":w?v+w+b:T?"Operations.makeAssignmentRequest("+[v,b,s(T)]+")":S?"VarRef.create("+("belonging"===S?b:v)+",{computed:true,value:"+("belonging"===S?v:b)+"})"+(n?"":".get()"):x?" Operations["+s(x)+"]("+v+","+b+") ":""):1===e.length?(("value"in e[0]?e[0].value:e[0].text)+"").trim()||" ":e.reduce(function(e,t){return e+a(t,{isVarRef:n})},"")}var s=e.toJSLiteral,c=e.impossible;return a}),define("renderer",["utils","markup","twinescript/compiler","internaltypes/twineerror"],function(e,t,n,r){function i(e,t){return"<"+t+">"+e+"</"+t+">"}function o(e,t){var n=f.render(e.children);return n&&i(n,t)}function a(e){var t=[];if("string"!==e.type)for(var n=0;n<e.children.length;n+=1)t.push.apply(t,_toConsumableArray(a(e.children[n])));var r=e.firstChild();return"macro"===e.type&&r&&"macroName"===r.type&&f.options.blockerMacros.includes(l(r.text.slice(0,-1)))&&t.push(e),t}var s=e.escape,c=e.impossible,u=e.toJSLiteral,l=e.insensitiveName,f=void 0,p="text-align: center; max-width:50%; ";return f={options:{blockerMacros:[]},exec:function(){var e=void 0,n=void 0;return function(r){return"string"!=typeof r?(c("Renderer.exec","source was not a string, but "+(void 0===r?"undefined":_typeof(r))),""):r===e?n:(e=r,n=f.render(t.lex(r).children))}}(),render:function e(c){var d="",h=[];if(!c)return d;for(var g=c.length,y=0;y<g;y+=1){var m=c[y];switch(m.type){case"error":d+=r.create("syntax",m.message).render(s(m.text))[0].outerHTML;break;case"numbered":case"bulleted":var v="numbered"===m.type?"ol":"ul";d+="<"+v+">";for(var b=1;y<g&&c[y]&&c[y].type===m.type;)d+=("<"+v+">").repeat(Math.max(0,c[y].depth-b)),d+=("</"+v+">").repeat(Math.max(0,b-c[y].depth)),b=c[y].depth,d+=o(c[y],"li"),y+=1;y-=1,d+=("</"+v+">").repeat(b+1);break;case"align":for(;m&&"align"===m.type;){var w=m,x=w.align,T=y+=1;if("left"===x){y-=1;break}for(;y<g&&c[y]&&"align"!==c[y].type;)y+=1;var S=e(c.slice(T,y)),k="";switch(x){case"center":k+=p+"margin-left: auto; margin-right: auto;";break;case"justify":case"right":k+="text-align: "+x+";";break;default:+x&&(k+=p+"margin-left: "+x+"%;")}d+="<tw-align "+(k?'style="'+k+'"':"")+(f.options.debug?' title="'+m.text+'"':"")+">"+S+"</tw-align>\n",m=c[y]}break;case"column":for(var O=[];m&&"column"===m.type;){var j=m,A=j.column,C=y+=1;if("none"===A){y-=1;break}for(;y<g&&c[y]&&"column"!==c[y].type;)y+=1;O.push({text:m.text,type:A,body:e(c.slice(C,y)),width:m.width,marginLeft:m.marginLeft,marginRight:m.marginRight}),m=c[y]}O.length&&function(){var e=O.reduce(function(e,t){return e+t.width},0);d+="<tw-columns>"+O.map(function(t){return"<tw-column type="+t.type+' style="width:'+t.width/e*100+"%; margin-left: "+t.marginLeft+"em; margin-right: "+t.marginRight+'em;" '+(f.options.debug?' title="'+t.text+'"':"")+">"+t.body+"</tw-column>\n"}).join("")+"</tw-columns>"}();break;case"heading":d+=o(m,"h"+m.depth);break;case"br":if(!h.length||/td|th/.test(h[0])){d+="<br>";for(var E=c[y+1];E&&("br"===E.type||"tag"===E.type&&/^<br\b/i.test(E.text));)d+="<br data-cons "+("tag"===E.type?"data-raw":"")+">",y+=1,E=c[y+1]}break;case"hr":d+="<hr>";break;case"escapedLine":case"comment":break;case"inlineUrl":d+='<a class="link" href="'+s(m.text)+'">'+m.text+"</a>";break;case"scriptStyleTag":case"tag":var N=m.text.toLowerCase();/^<\/?(?:table|thead|tbody|tr|tfoot|td|th)\b/.test(N)&&h[m.text.startsWith("</")?"shift":"unshift"](N),d+=m.text.startsWith("</")?m.text:m.text.replace(/>$/," data-raw>");break;case"sub":case"sup":case"strong":case"em":d+=o(m,m.type);break;case"strike":d+=o(m,"s");break;case"bold":d+=o(m,"b");break;case"italic":d+=o(m,"i");break;case"twineLink":var _=_slicedToArray(t.lex("(link-goto:"+u(m.innerText)+","+u(m.passage)+")").children,1),P=_[0];d+='<tw-expression type="macro" name="link-goto"'+(f.options.debug?' title="'+s(m.text)+'"':"")+' js="'+s(n(P))+'"></tw-expression>';break;case"hook":d+="<tw-hook "+(m.hidden?"hidden ":""
add:function e(t,n,r){return f(t,u(l(t,n,r))),e},addChanger:function e(t,n,r,o){return f(t,u(l(t,n,o))),i.register(Array.isArray(t)?t[0]:t,r),e},addCommand:function e(t,n,r,i){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=[].concat(t)[0];return f(t,u(l(t,T(a,n,r,o),i))),e},TypeSignature:{optional:function(e){return{pattern:"optional",innerType:e}},zeroOrMore:function(e){return{pattern:"zero or more",innerType:e}},either:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{pattern:"either",innerType:t}},rest:function(e){return{pattern:"rest",innerType:e}},wrapped:function(e,t){return{pattern:"wrapped",innerType:e,message:t}},Any:{TwineScript_TypeName:"anything"}},run:function(e,t){return c.containsError(e)?e:w.has(e)?w.get(e)(t):c.create("macrocall","I can't run the macro '"+e+"' because it doesn't exist.","Did you mean to run a macro? If you have a word written like (this:), it is regarded as a macro name.")}},Object.freeze(w)}),define("datatypes/datatype",["datatypes/changercommand","datatypes/colour","datatypes/gradient"],function(e,t,n){var r=Object.freeze({datatype:!0,TwineScript_TypeName:"a datatype",TwineScript_Print:function(){return"`["+this.TwineScript_ObjectName+"]`"},TwineScript_is:function(e){return r.isPrototypeOf(e)&&e.name===this.name},TwineScript_Clone:function(){return r.create(this.name)},TwineScript_IsTypeOf:function(e){return this.name===(Array.isArray(e)?"array":e instanceof Map?"datamap":e instanceof Set?"dataset":t.isPrototypeOf(e)?"colour":n.isPrototypeOf(e)?"gradient":"string"==typeof e?"string":"number"==typeof e?"number":"boolean"==typeof e?"boolean":"unknown")},create:function(e){return e="dm"===e?"datamap":"ds"===e?"dataset":"num"===e?"number":"str"===e?"string":"color"===e?"colour":e,Object.assign(Object.create(this),{name:e,TwineScript_ObjectName:"the "+e+" datatype"})}});return r}),define("datatypes/varbind",["utils","utils/operationutils","internaltypes/varref","internaltypes/twineerror"],function(e,t,n,r){var i=t.objectName;return Object.freeze({TwineScript_TypeName:"a bound variable",TwineScript_ObjectName:"a bound variable",TwineScript_Unstorable:!0,set:function(e){var t=this.varRef.set(e),n=void 0;if(n=r.containsError(t))return n},create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"one way";return n.isPrototypeOf(e)||e.varref?Object.assign(Object.create(this),{varRef:e,bind:t}):r.create("operation","I can only 'bind' a variable, not "+i(e)+".")}})}),define("datatypes/assignmentrequest",["utils"],function(e){var t=e.assertMustHave;return Object.freeze({assignmentRequest:!0,TwineScript_TypeName:"a 'to' or 'into' expression",TwineScript_ObjectName:"a 'to' or 'into' expression",TwineScript_Unstorable:!0,create:function(e,n,r){return t(e,["varref"]),Object.assign(Object.create(this),{dest:e,src:n,operator:r})}})}),define("twinescript/operations",["jquery","state","datatypes/assignmentrequest","utils/operationutils","internaltypes/twineerror"],function(e,t,n,r,i){function o(e,t,n,r){return n=n||"do this to",function(o,a){1===t.length&&(a=o);var s=void 0;return(s=i.containsError(o,a))?s:(void 0===o?"undefined":_typeof(o))!==e||(void 0===a?"undefined":_typeof(a))!==e?i.create("operation","I can only "+n+" "+e+"s, not "+y((void 0===o?"undefined":_typeof(o))!==e?o:a)+".",r):t(o,a)}}function a(e){return function(t,n){var r=void 0;return(r=i.containsError(t,n))?r:t&&t.varref?i.create("operation","I can't give an expression a new value."):(void 0===t?"undefined":_typeof(t))!==(void 0===n?"undefined":_typeof(n))||c(t)&&"TwineScript_TypeName"in t&&c(n)&&"TwineScript_TypeName"in n&&t.TwineScript_TypeName!==n.TwineScript_TypeName||u(t)!==u(n)?i.create("operation",y(t)+" isn't the same type of data as "+y(n)):e(t,n)}}function s(e){return function t(n,r){var o=void 0;if(o=i.containsError(n,r))return o;if(v=n,n.determiner){var a="all"===n.determiner;return n.array.reduce(function(e,n){var o=void 0,s=t(n,r);return(o=i.containsError(e,s))?o:a?e&&s:e||s},a)}if(r.determiner){var s="all"===r.determiner;return r.array.reduce(fu
return o.create("macrocall","An odd number of values must be given to (cond:), not "+(arguments.length<=1?0:arguments.length-1),"(cond:) must be given one or more pairs of booleans and values, as well as one final value.")},[Boolean,v,h(v)]),{weekday:[function(){return["Sun","Mon","Tues","Wednes","Thurs","Fri","Satur"][(new Date).getDay()]+"day"},null],monthday:[function(){return(new Date).getDate()},null],currenttime:[function(){var e=new Date,t=e.getHours()<12;return(e.getHours()%12||12)+":"+(e.getMinutes()<10?"0":"")+e.getMinutes()+" "+(t?"A":"P")+"M"},null],currentdate:[function(){return(new Date).toDateString()},null],min:[Math.min,h(Number)],max:[Math.max,h(Number)],abs:[Math.abs,Number],sign:[Math.sign,Number],sin:[Math.sin,Number],cos:[Math.cos,Number],tan:[Math.tan,Number],floor:[Math.floor,Number],round:[Math.round,Number],ceil:[Math.ceil,Number],pow:[a(Math.pow),[Number,Number]],exp:[Math.exp,Number],sqrt:[a(Math.sqrt),Number],log:[a(Math.log),Number],log10:[a(Math.log10),Number],log2:[a(Math.log2),Number],random:[function(e,t){var n=void 0,r=void 0;return t?(n=Math.min(e,t),r=Math.max(e,t)):(n=0,r=e),r+=1,~~(Math.random()*(r-n))+n},[parseInt,e.TypeSignature.optional(parseInt)]],either:[function(){var e;return e=~~(Math.random()*arguments.length),arguments.length<=e?void 0:arguments[e]},h(v)],nth:[function(e){var t;return e<=0?o.create("datatype","(nth:)'s first value should be a positive whole number, not "+e):(t=(e-1)%(arguments.length<=1?0:arguments.length-1)+1,arguments.length<=t?void 0:arguments[t])},[parseInt,h(v)]],"":function(){var t=this;Object.keys(this).forEach(function(n){if(n){var r=t[n][0],i=t[n][1];e.add(n,function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,n)},i)}})}}[""]()}),function(e){!function(){if(!e.requestAnimationFrame){if(e.webkitRequestAnimationFrame)return e.requestAnimationFrame=e.webkitRequestAnimationFrame,void(e.cancelAnimationFrame=e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame);var t=0;e.requestAnimationFrame=function(n){var r=(new Date).getTime(),i=Math.max(0,16-(r-t)),o=e.setTimeout(function(){n(r+i)},i);return t=r+i,o},e.cancelAnimationFrame=function(e){clearTimeout(e)}}}(),"function"==typeof define&&define("requestAnimationFrame",[],function(){return e.requestAnimationFrame})}(window),define("macrolib/commands",["jquery","requestAnimationFrame","macros","utils","utils/selectors","state","passages","renderer","engine","internaltypes/twineerror","datatypes/hookset","datatypes/varbind","utils/operationutils","utils/dialog"],function(e,t,n,r,i,o,a,s,c,u,l,f,p,d){function h(e){return"("+e+" "+c.options.ifid+") "}var g=p.printBuiltinValue,y=n.TypeSignature,m=y.Any,v=y.rest,b=y.either,w=y.optional,x=Object.assign;n.addCommand("display",function(e){if(!a.hasValid(e))return u.create("macrocall","I can't (display:) the passage '"+e+"' because it doesn't exist.")},function(e,t,n){return x(e,{source:r.unescape(a.get(n).get("source"))})},[String])("print",function(){},function(e,t,n){return x(e,{source:g(n)})},[m])("go-to",function(e){if(!a.hasValid(e))return u.create("macrocall","I can't (go-to:) the passage '"+e+"' because it doesn't exist.")},function(e,n,r){return t(function(){return c.goToPassage(r,{transitionOut:e.data.t8nDepart,transitionIn:e.data.t8nArrive})}),"blocked"},[String])("undo",function(){},function(e){return o.pastLength<1?u.create("macrocall","I can't (undo:) on the first turn."):(t(function(){return c.goBack({transitionOut:e.data.t8nDepart,transitionIn:e.data.t8nArrive})}),"blocked")},[])("cycling-link",function(){if(""===(arguments.length<=0?void 0:arguments[0]))return u.create("macrocall","The first string in a (cycling-link:) can't be empty.");if(arguments.length<=(f.isPrototypeOf(arguments.length<=0?void 0:arguments[0])?2:1)){var e;return u.create("macrocall","I need two or more strings to cycle through, not just '"+(e=arguments.length-1,arguments.length<=e?void 0:arguments[e])+"'.")}},function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=v
;t.data.section=t.section,t.data.clickEvent=function(n){"link-reveal"===e[0]&&n.contents().unwrap(),t.source=t.innerSource+"",t.transitionDeferred=!1,t.section.renderInto("",null,t,i)}},[String])}),t.addCommand(["link-goto"],function(e){if(!e)return u.create.apply(u,["macrocall"].concat(h))},function(e,t,r,a){var s=void 0,c=l(t,r,a);if(r=c.text,a=c.passage,s=c.error)return s;var u=void 0;return o.hasValid(a)||(u='<tw-broken-link passage-name="'+n.escape(a)+'">'+r+"</tw-broken-link>"),u=u||"<tw-link tabindex=0 "+(i.passageNameVisited(a)>0?'class="visited" ':"")+">"+r+"</tw-link>",e.data.linkPassageName=a,e.data.section=t,g(e,{source:u,transitionDeferred:!0})},[String,p(String)])("link-undo",function(e){if(!e)return u.create("macrocall",h[0])},function(e,t,n){return i.pastLength<1?u.create("macrocall","I can't use (link-undo:) on the first turn."):(e.data.section=t,g(e,{source:"<tw-link tabindex=0 undo>"+n+"</tw-link>",transitionDeferred:!0}))},[String])("link-show",function(e){if(!e)return u.create("macrocall",h[0])},function(e,t,n){for(var r=arguments.length,i=Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=_slicedToArray(t.stack,1),s=a[0].tempVariables;return e.data.section=t,e.data.clickEvent=function(n){n.contents().unwrap(),i.forEach(function(n){return n.forEach(t,function(n){var r=n.data("hiddenSource");void 0!==r&&t.renderInto("",null,g({},e,{source:r,target:n,transitionDeferred:!1}),s)})})},g(e,{source:"<tw-link tabindex=0>"+n+"</tw-link>",transitionDeferred:!0})},[String,d(c)]),t.addChanger(["link-reveal-goto"],function(e,t,n){if(!t)return u.create.apply(u,["macrocall"].concat(h));var r=l(e,t,n);return t=r.text,n=r.passage,r.error||s.create("link-reveal-goto",[t,n])},function(e,t,r){if(!o.hasValid(r))return void(e.source='<tw-broken-link passage-name="'+n.escape(r)+'">'+t+"</tw-broken-link>");e.innerSource||(e.innerSource=e.source);var s=i.passageNameVisited(r);e.source="<tw-link tabindex=0 "+(s>0?'class="visited" ':"")+">"+t+"</tw-link>",e.append="append",e.transitionDeferred=!0;var c=_slicedToArray(e.section.stack,1),u=c[0].tempVariables;e.data.section=e.section,e.data.clickEvent=function(t){e.source=e.innerSource,t.contents().unwrap(),e.transitionDeferred=!1,e.section.renderInto(e.innerSource+"",null,e,u),e.section.whenUnblocked(function(){return a.goToPassage(r,{transitionOut:e.data.t8nDepart,transitionIn:e.data.t8nArrive})})}},[String,p(String)])}),define("repl",["utils","engine","markup","twinescript/compiler","twinescript/environ"],function(e,t,n,r,i){e.onStartup(function(){return setTimeout(function(){t.options.debug&&(window.REPL=function(e){var t=r(n.lex("(print:"+e+")"));console.log(t);var o=i({}).eval(t);return o.TwineScript_Print?o.TwineScript_Print():o},window.LEX=function(e){var t=n.lex(e);return 1===t.length?t[0]:t})})})}),require.config({paths:{jquery:"../node_modules/jquery/dist/jquery",almond:"../node_modules/almond/almond","es6-shim":"../node_modules/es6-shim/es6-shim",requestAnimationFrame:"../node_modules/requestanimationframe/app/requestAnimationFrame",jqueryplugins:"utils/jqueryplugins",markup:"./markup/markup",lexer:"./markup/lexer",patterns:"./markup/patterns"},deps:["jquery","es6-shim","jqueryplugins"]}),require(["jquery","debugmode","renderer","state","engine","passages","utils","utils/selectors","utils/dialog","macros","macrolib/values","macrolib/commands","macrolib/datastructures","macrolib/stylechangers","macrolib/enchantments","macrolib/links","repl"],function($,DebugMode,Renderer,State,Engine,Passages,Utils,Selectors,Dialog){function __HarloweEval(text){return eval(text+"")}function printJSError(e){var t=e.name+": "+e.message;if(e.stack){var n=e.stack.split("\n"),r=n.findIndex(function(e){return e.includes("__HarloweEval")});t+="\n"+n.slice(0,r).join("\n").replace(/\([^\)]+\)/g,"")}return"<div style='font-family:monospace;overflow-y:scroll;max-height:30vh'>```"+t+"```</div>"}var _installHandlers=function(){$(document.documentElement).on("keydown",function(e){13===e.which&&"0"===e.target.getAttribute("tabindex")&&$(e.target).trigger("click")}),Engine.options.debug&&DebugMod
</script>
</body>
</html>