diff --git a/db/game.rec b/db/game.rec index 2e76f36..945cc81 100644 --- a/db/game.rec +++ b/db/game.rec @@ -105,7 +105,7 @@ text: You're smart to believe me. You must have already felt it deep down. Like id: 20 name: stay -text: good idea +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 @@ -144,4 +144,32 @@ text: You get out your trusty corn knife and start slashing at the web with reck id: 29 name: continue -text: you start to sneak sneakily around the web +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. diff --git a/justfile b/justfile index 7726578..e35727c 100644 --- a/justfile +++ b/justfile @@ -73,9 +73,10 @@ browse: clean: rm -f tmp/* out/* -# word count -words: - recsel -t game -P text {{db}} | wc -w +# word count and number of nodes +info: + echo "$(recinf -t game {{db}}) nodes" \ + && echo "$(recsel -t game -P text {{db}} | wc -w | awk '{ print $1}') words" # rebulid graph on change watch: diff --git a/out/graph.png b/out/graph.png index 96d98ea..4cbc53e 100644 Binary files a/out/graph.png and b/out/graph.png differ diff --git a/out/story.pdf b/out/story.pdf index cbb1e8b..d720c42 100644 Binary files a/out/story.pdf and b/out/story.pdf differ diff --git a/out/story.txt b/out/story.txt index 3b385f5..c50bd43 100644 --- a/out/story.txt +++ b/out/story.txt @@ -7,9 +7,10 @@ + CORNQUEST - + dozens 0 1 @@ -66,7 +67,6 @@ bib overalls, goto to 8 You run outside. There are a - -2- diff --git a/tmp/data b/tmp/data index 999ce24..5da4d8d 100644 --- a/tmp/data +++ b/tmp/data @@ -1 +1 @@ -{ "beginning": "0", "charm": "1", "beast": "2", "corndress": "3", "weird": "4", "rejected": "5", "hideandseek": "6", "helpme": "7", "cornoveralls": "8", "fwiends": "9", "games": "10", "tag": "11", "path": "12", "eavesdrop": "13", "altar": "14", "collide": "15", "scram": "16", "calm": "17", "hide": "18", "believeme": "19", "stay": "20", "altarcorn": "21", "whelp": "22", "explore": "23", "bunk": "24", "panic": "25", "lavamonster": "26", "treeline": "27", "hack": "28", "continue": "29" } +{ "beginning": "0", "charm": "1", "beast": "2", "corndress": "3", "weird": "4", "rejected": "5", "hideandseek": "6", "helpme": "7", "cornoveralls": "8", "fwiends": "9", "games": "10", "tag": "11", "path": "12", "eavesdrop": "13", "altar": "14", "collide": "15", "scram": "16", "calm": "17", "hide": "18", "believeme": "19", "stay": "20", "altarcorn": "21", "whelp": "22", "explore": "23", "bunk": "24", "panic": "25", "lavamonster": "26", "treeline": "27", "hack": "28", "continue": "29", "hut": "30", "witchnice": "31", "witchaggro": "32", "lake": "33", "accept": "34", "warren": "35" } diff --git a/tmp/dot b/tmp/dot index 01f1de8..f087d2b 100644 --- a/tmp/dot +++ b/tmp/dot @@ -18,6 +18,7 @@ digraph { 16 -> { {{treeline}} }; 17 -> { {{panic}} }; 19 -> { {{collide}} }; +20 -> { {{hut}} }; 21 -> { {{panic}} {{calm}} }; 22 -> { {{fwiends}} {{scram}} }; 23 -> { {{path}} {{continue}} {{hack}} }; @@ -25,4 +26,9 @@ digraph { 25 -> { {{beast}} {{hide}} }; 26 -> { {{games}} }; 27 -> { {{hide}} {{path}} }; +29 -> { {{hut}} }; +30 -> { {{witchaggro}} {{witchnice}} }; +31 -> { {{accept}} {{witchaggro}} }; +33 -> { {{warren}} }; +34 -> { {{lake}} }; } diff --git a/tmp/story.ms b/tmp/story.ms index f0ec58c..010ad11 100644 --- a/tmp/story.ms +++ b/tmp/story.ms @@ -136,7 +136,7 @@ You're smart to believe me. You must have already felt it deep down. Like your f .SH 20 .LP -good idea +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}}. .KE .KS .SH @@ -193,5 +193,34 @@ You get out your trusty corn knife and start slashing at the web with reckless a .SH 29 .LP -you start to sneak sneakily around the web +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}} +.KE +.KS +.SH +30 +.LP +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. Silken golden hair falls around her face and shoulders. Though you've never seen her before, you know this is her: the Corn Mother. She holds your gaze intently. Timidly you speak up. +"What the hell Corn Mother! Why did you abandon us!" Goto {{witchaggro}} +"Um, Corn Mother? Is that you?" Goto {{witchneutral}} +You drop to your knee and kneel in respect. "Corn Mother! How can I serve you?" Goto {{witchnice}} +.KE +.KS +.SH +31 +.LP +The dire crows stole my doo-dad! A necklace of strung glass popcorn. Will you help me get it? +Agree to help the Corn Mother +Tough luck! Sucks to suck! +.KE +.KS +.SH +32 +.LP +The Corn Mother turns you into fertilizer. GAME OVER +.KE +.KS +.SH +33 +.LP +The Corn Mother sighs. "Of course it is I. And who are you? Why did you come here?" .KE