test locations and quest file

This commit is contained in:
BirgitteSilverbow 2021-04-26 21:20:56 -04:00 • committed by GitHub
commit 62142398f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 209 additions and 0 deletions

View file

@ -0,0 +1,47 @@
===land===
We're on a planet! whoo. let's see what's here.->start
=start
What do you want to do now?
*[look around]
->snoop
*{ hunger_state !? not_hungry} [look for food] -> brunch
*[underground hobo fights!]-->fight
*leave ->END
==fight==
location specific quest. It's a hobo deathmatch.
*fight?
{shuffle:
-you win! congrats. You gain the great and mighty bent fork of foul ol' ron
~hunger_state = mild
~get(fork)
[fork added to inventory!] ->land.start
-you lose. sucks to suck->END
}
*report this madness.->END
==brunch==
There's a space noodle stand. You once killed a man with a noodle. You contemplate a proper breakfast.
*hunt up hot sauce
not on this planet, my friend. you are informed of the magical pepper marshes of keysmash 6, so hot they reverse entropy. You yearn for the burn of thermodynamic impossibility.->land.start
*find a space chicken for egg
you find an egg balanced on a wall.
~ get(egg)
->land.start
*find potatoes
oh no, my friend. potatoes are a rare delicacy. you must visit the caliph of ko and convince him to grant you potato privileges. ->land.start
*find bacon
no bacon either! you must hunt the wild rasherbeast of glug and harvest its sweet sweet flesh. ->land.start
==snoop==
what's all this then?->END

View file

@ -0,0 +1,43 @@
==landing==
you've landed in the magical pepper marshes. what now?
*{pepper_state !? yes} [go into the marsh] ->the_pepper_patch
*{pepper_state !? yes} [chat with pepper whisperer]->pepper_whisperer
*[leave]
{pepper_state ? yes} Nibu will not allow you to linger on the pepper planet. You hie away, because you like your nerves unextracted from your body.
->END
==pepper_whisperer==
the pepper whisperer says you can have one, if you spend a night in the marsh communing with the spice spirits.
*sure, why not.->marshmallows
*uhhh...no.->landing
=marshmallows
the marsh is damp, and humid. the spice spirits are certainly not as fun as the spirit spirits of olympus mons. still, you are not dead. the pepper whisperer congratulates you and gives you a pepper. you rather suspect he's laughing at you.
~ get(pepper)
->landing
==the_pepper_patch==
peter piper picked a peck of pickled peppers, but you only need one.
*[steal a pepper] ->ohshit
*[eat pepper]
You cannot eat the pepper. It breaks space time. Nibu resets the loop, and bans you from all further hot sauce ventures under pain of pain.
~pepper_state = yes
->landing
*[leave]->landing
=ohshit
Stop, criminal scum! You have violated the law! The pepper police know neither fear nor mercy.
*[run]
{shuffle:
-you have the legs and agility and probably the preserved heart of an adolescent giraffe. Escape! ->landing
-perhaps you should not have skipped leg day. its the capsaicin mines for you!->END
}
*[fight]
{brunch_state ? fork:
you stab the pepper policeman and escape. well done, you murderer. ->landing
-else:
whoops. you done fucked up. ONE THOUSAND YEARS DUNGEON! ->END
}

View file

@ -0,0 +1,46 @@
==tatertots==
you arrive at the palace of the caliph of ko. it is...starchy.
*[chat with majordomo]
there is...a complication. ->outofpepper
+{brunch_state ? egg && potatoes && bacon && cooking_utensils && fork} it is time. ->cookitup
+[snoop] ->nosyparker
+[request an audience] ->speak
=cookitup
brunch time! victory has never tasted so sweet.->END
=speak
you present your case. the caliph calls it an attache, and you insist it is a briefcase. an impartial judge is called in. it's a whole thing. in return for a brief respite from ennui, the caliph gifts you a potato upon departure.
~get(potatoes)
~hunger_state = will_eat_spacehorse
->tatertots
=outofpepper
oh no. the kitchen are out of magic pepper.
*{brunch_state ? pepper} [give them yours.]
a great thank you. in return, the majordomo offers you the use of the kitchen, when you have completed your great ingredient quest.
~get(kitchen_usage)
->tatertots
*[hell no, that's your pepper. You <i>communed</i> for it.]
mutterings. you leave with the steel-melting stare of a thwarted chef on your back. ->tatertots
=nosyparker
you snoop, as is your custom in a stranger's home. perhaps you pocket a few things that are not technically yours, who is to say? the finders keepers law has a strict nondisclosure clause.
-(top)
*[examine study]->study
*[examine bedroom]->bedroom
*[prowl the hallways like a very suspect panther]->hallways
==study
it is a palatial study. you go through the desk drawers. it's not as interesting as media would suggest. ->tatertots.nosyparker.top
==bedroom
the caliph is apparently very into velour. you recall that his ancestor was the legendary zapp brannigan, space captain and known velour fanatic. you munch on the chocolate drops in the nightstand drawer.
~hunger_state--
->tatertots.nosyparker.top
==hallways
you are quickly nabbed and removed from the premises.->END

View file

@ -0,0 +1,47 @@
->mmm
==mmm==
you land where the fearsome rasherbeast of glug dwells.
-(options) you find yourself at a crossroads.
+[hunt the beast]->beast_hunting
+[talk to Sir Ogg]->Sir_Ogg
+[leave] ->END
=beast_hunting
you go immediately to hunt the beast. you are, after all, an apex predator.
the beast, alas, can travel through time as well as space. you must reset until you find a loop containing it.
~statedetermination()
{loopnum ? lots:
you find the creature. ->beastie
-else:
no luck. ->options
}
=beastie
{hunger_state >= moderate:
you are weak from hunger. the beast kills you.
-else:
you harvest its flesh. it smells like cooking human.
~get(bacon)
[bacon in inventory]
->options
}
=Sir_Ogg
Sir Ogg is a knight, on a quest. You are also on a quest, so you bond immediately. Sir Ogg wishes to slay a dragon. unfortunately, there are no dragons anywhere in aetheria.
*[help ogg]->quest
*[laugh and leave] ->options
=quest
the problem, therefore, is how to slay a dragon with no dragons. the only solution seems to be for you to put on a scaled cloak and make dragon noises while Sir Ogg fake slays you with a stick. its good fun all around. ->options

View file

@ -0,0 +1,26 @@
INCLUDE TestLociA.ink
INCLUDE TestLociB.ink
INCLUDE TestLociC.ink
INCLUDE TestLociD.ink
LIST brunch_state = (no_food), pepper, egg, potatoes, bacon, cooking_utensils, fork, kitchen_usage
LIST hunger_state = not_hungry, (mild), moderate, very, will_eat_spacehorse
LIST pepper_state = (nope), yes
LIST loopstate = (one), two, three, many, lots
VAR loopnum = ()
===function get(x)
~ brunch_state += x
===function statedetermination()
//placeholder function for external state check of loop
~ loopnum = lots