%rec: meta
%doc: metadata for the game

name: cornquest
author: dozens
date: 2023-10-13

%rec: game
%doc: a choose your own adventure
%key: id
%type: id int
%type: name line
%auto: id
%allowed: id name text
%mandatory: id name text

id: 0
name: beginning
text: 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've been looking forward to this day all year, and you already know exactly what you're going to wear. If you wear a corn dress, goto {{corndress}}. If you wear corn bib overalls, goto to {{cornoveralls}}

id: 1
name: charm
text: You grab your lucky rock from under your pillow. It is small and pointy, in the shape of a corn cob. There are even little pock marks all over the rock so that it looks like it has corn kernels! Very lucky indeed. You slip it into your pocket. There, now you're are ready for anything. 
+ 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's the Harvest Festival after all! The best day of the year! You run outside. There are a bunch of kids playing games out in the corn fields. They call your name, and you'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 {{games}}.
+ Games are for stupid babies! Time to visit the altar! Goto {{altar}}.

id: 2
name: beast
text: You leave the plaza and run down Broad 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's true: the corn beast is gone. You sink to the ground in despair. Goto {{whelp}}

id: 3
name: corndress
text: 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 {{charm}}.

id: 4
name: weird
text: Listen I don't know how you got here but if you're reading this, you need to abandon your current story line immediately and go straight to {{helpme}}

id: 5
name: rejected
text: 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 talking.
+ 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 {{altarcorn}}
+ Listen in on some of the adults: Goto {{eavesdrop}}

id: 6
name: hideandseek
text: 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 {{altar}}

id: 7
name: helpme
text: Okay thank goodness you're here. Listen, I know this is going to sound crazy, but please hear me out. You are trapped inside a Choose Your Own Adventure story. These choices you think you're making? They're not real choices. Being given an artificially restricted set of options to choose from isn't free will. It's coercion. Here, I'll prove it. If you believe me, goto {{believeme}}. If you think this sounds like paranoid bunk, then goto {{bunk}}

id: 8
name: cornoveralls
text: 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 {{charm}}

id: 9
name: fwiends
text: 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 {{treeline}}

id: 10
name: games
text: 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's the Harvest Festival after all! If you choose to play tag, goto {{tag}}. If you play hide-and-seek, goto {{hideandseek}}. If you play Lava Monster, goto {{lavamonster}}.

id: 11
name: tag
text: 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 {{altar}}

id: 12
name: path
text: You step into the forest. Gulp! You don't know anybody who has ever been in the forest. Nobody from Cobbtown has ever left the fields as far as you know. You step carefully as the whelp dances as around your feet, lunging and thrusting with its thorn. You try not to worry too much about the omininous shapes and sounds coming from the pooling shadows to either side of the trail. To stay on the path, goto {{stay}}. To step off the path and explore, goto {{explore}}

id: 13
name: eavesdrop
text: 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 corn beast will leave. Leave! It can't leave! Without the corn beast, there will be nobody to protect the fields! We'll be totally defenseless! Goto {{panic}}

id: 14
name: altar
text: You run through the streets of Cobbtown toward the plaza. Every year during the harvest, you set aside a portion of the harvest for the Corn Mother. And the night before the Harvest Festival, 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's the best! Goto {{rejected}}.

id: 15
name: collide
text: So what are we going to do about it, you ask? We're going to break free of the narrative is what we're going to do. Here's the plan.
+ Have you ever heard of an "ahnentafel"? It's a compact genealogical numbering system that ... you know what, forget it. Not important. Here's the part that's relevant to you: even numbers are male relatives of the subject of the ahnentafel. Odd numbers are females.
+ What does any of this have to with anything? It's your escape hatch. Whenever you are given a choice of options, always choose an odd number. That's it. That's the plan. Now let's get you out of here. Goto {{beginning}}.

id: 16
name: scram
text: You tell the whelp to get lost. Shoo! Skedaddle, 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! Goto {{treeline}}.

id: 17
name: calm
text: Okay you got this. Take a couple of deep breaths. There you go. This doesn't necessarily mean that the Corn Mother has turned her back on you and the rest of the village. She probably hasn't withdrawn her protection from you, leaving you open to attack from the dire crows, right? Right? Goto {{panic}}.

id: 18
name: hide
text: You run back home and hide under your bed. Eventually you hear throaty, gurggling caws and the thundering beating of wings as the dire crows descend on the town. Without the corn beast to scare them away, they rip most of the village to pieces. THE END

id: 19
name: believeme
text: You're smart to believe me. You must have already felt it deep down. Like your free choice was an illusion, like your your decisions are all leading you down a predetermined path. Well you're right. And you can see it for yourself: go back and try the alternate path and see what happens. Afterward, come back and goto {{collide}}.

id: 20
name: stay
text: You decide to not push your luck by going bushwacking 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 stilts. Goto {{hut}}.

id: 21
name: altarcorn
text: omg it'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 {{panic}}. To remain calm goto {{calm}}.

id: 22
name: whelp
text: You feel something bump 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's only one corn beast as far as anyone knows. But there are dozens and dozens of these little fellas. This one is pawing and scratching at you. Goto {{fwiends}} to pick the little guy up. To tell the whelp to scram goto {{scram}} 

id: 23
name: explore
text: 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 {{path}}.
+ Cautiously walk around the web, goto {{continue}}.
+ Get out your corn butter knife and start hacking and slashing! Goto {{hack}}

id: 24
name: bunk
text: Do you feel empowered and free? Like you made a meaningful choice? Go back and try the alternate path and see what happens. Then come back and goto {{collide}} when you're ready.

id: 25
name: panic
text: 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. And you feel the small corn rock in your pocket. You clutch it tight in your fist and squeeze your eyes shut. If you decide to go look for the corn beast goto {{beast}}. If you go home and hide under your bed goto {{hide}}.

id: 26
name: lavamonster
text: No. You should never play Lava Monster. Go back to {{games}}.

id: 27
name: treeline
text: The treeline is thick and overgrown. Usually there'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. Goto {{hide}} to nope away back home. To venture down the weird circular path into the forest, goto {{path}}.

id: 28
name: hack
text: 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 bafoonery. You are paralyzed and cocooned and don't even feel it when the spider's venom jellifies your insides. THE END.

id: 29
name: continue
text: You start to sneak sneakily around the web, and do so successfully, the spider none the wiser to your passage through its lair.  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 stilts. Goto {{hut}}

id: 30
name: hut
text: 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 in. 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 to fit into the small hut. Fine golden hair falls in curtains around her face and shoulders. Though you'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.
+ "What the hell Corn Mother! Why did you abandon us!" Goto {{witchaggro}}
+ You drop to your knee and kneel in respect. "Corn Mother! How can I serve you?" Goto {{witchnice}}

id: 31
name: witchnice
text: The crow 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.
+ Agree to help the Corn Mother: goto {{accept}}
+ Tough luck! Sucks to suck! Goto {{witchaggro}}

id: 32
name: witchaggro
text: "Insolent little whelp." The Corn Mother turns you into fertilizer for her crops. GAME OVER

id: 33
name: lake
text: You kick, and the frigid air burns your lungs when you break the surface of the misty lake. It's hard to see far through the fog, but you swim toward what you think is the closest bank and crawl up onto the muddy grass. After you catch your breath, you look around and recognize where you are from the Corn Mother's direction. The sun is a pale white disc, barely able to penetrate the heavy clouds. You walk away from the lake towards the crow warrens. Goto {{warren}}.

id: 34
name: accept
text: The Corn Mother draws you toward a looking glass. She describes for you how to get to the crows warren, while tracing the path with a talon of a finger. As she speaks, you can almost see the hazy path she descibes 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 {{lake}}.

id: 35
name: warren
text: Enormous mounds jut out of the earth in frozen waves: entrances to the warrens below, dug out by the giant rodents that the crows keep as pets.
