,,,,,,,,,,,,,,,{<!-- General story overview:
This is a surreal location. Not real per se, but more solid than a dream. The six directions (forward, left, right, up, down, back) each correspond to a vision, though the Den (back) is its own thing. Each vision contains a useful item for defeating the boss at the end, though some contain two things - one a useful skill, and another a weapon. Defeating the boss violently leads to ending C, while defeating them with your acquired skills non-violently leads to ending B. Ending A happens if you fail to defeat the boss, i.e. by engaging them before acquiring all the items. The boss' nature is as of yet undecided, but you will fight it in the Hall, which will have additional hazards depending on your actions.
Dying in a vision will return you to the room which triggers it without penalty, though you will not get items when you die. They can be reattempted as much as you like, until you successfully complete the vision. Certain conditions in visions may change the nature of the house, for example killing the enforcer on Mars will shatter the dining room window and let in the outside weather, while acquiring all the nonviolent skills will end the storm.
Most of this is not yet completed, ofc. Have fun! :P
-->
<!-- Variables:
unset whether or not the variables have been initialized
ending true if blink and (socialSkills or murder) and knowledge and sword and mojave. Enables the ending scene.
blazing true if fire was stoked. Allows access to the castle, prevents going anywhere else from the Hall.
blink true if you closed your eyes while falling. Allows additional movement options in some scenes.
lights true if you turned on the circuit breaker. Allows looking at the puzzle.
socialSkills NYI. true if you went back to the bar on Mars and chatted during the riot. Makes the good ending easier to get.
murder true if you instead shot the enforcer on Mars. Makes the good ending harder to get.
knowledge true if you read all the books in the library. Makes the
sword true if you retrieved the sword from the stone. Required for the ending.
mojave true if you completed the mojave scene. Allows stoking the fire provided murder or socialSkills.
her the pronoun for your love interest, set by a cycling link in the bar scene.
she ""
wentOutside Used on Mars, allows the love interest if true.
-->
(if: $unset)[(set: $unset to false, $ending to false, $blazing to false, $blink to false, $lights to false, $socialSkills to false, $murder to false, $knowledge to false, $sword to false, $mojave to false, $her to "her", $she to "she", $wentOutside to false)]}
You, inexplicably, find yourself in a large, dark house. Wind and snow batter the exterior, a dull roar you get used to surprisingly quickly. [A fire]<fire| is dying behind an extravagant grate to your right, lighting the room in flickering orange.
[Look around]<lookaround| (click-replace: ?lookaround)[The den is lavish. All the furniture in this room seems antique, and the silk curtains are straight out of a Victorian manor. An elegant rug covers the hardwood floor, keeping your bare feet warm.
A grandfather [clock]<clock| (either: "ticks", "tocks") in the corner.
An occasional thump comes from [the darkened windows.]<thump|
A coffee table in the center of the room has [some fruit]<fruit| in a [brass bowl]<bowl| and is bare otherwise.
The fire dimly illuminates [a panel of light switches]<lights| in the corner.{(if: $mojave)[<br/><br/>(link: "stoke the fire")[You pour the lighter fluid on the fire and throw on the remaining logs. The fire roars up.(set: $blazing to true)]]}]
A hollow wind blows through [[the half-ajar door.->Hall]]{
(click-replace: ?fire)[A fire (text-colour: #696969)[^^Only a couple logs in the basket nearby. Not enough fuel for more than an hour.^^]]
(click-replace: ?clock)[clock (text-colour: #696969)[^^(either: "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve") o'clock. No indicator for AM or PM.^^]]
(click-replace: ?thump)[the darkened windows. (text-colour: #696969)[^^You approach. Nothing but some stunted pines, the wind, and driven snow.^^]]
(click-replace: ?lights)[a panel of light switches (text-colour: #696969)[^^You flick each of them in turn. Nothing happens.^^]]
(click-replace: ?fruit)[some fruit (text-colour: #696969)[^^You pick one up. Definitely fake.^^]]
(click-replace: ?bowl)[brass bowl (text-colour: #696969)[^^More of a cauldron, really.^^]]
<!--(if: $mojave)[(replace: ?stoke)[(link: "stoke the fire")[You pour the lighter fluid on the fire and throw on the remaining logs. The fire roars up.(set: $blazing to true)]]]-->
<!-- idea: reformat parentheticals and "return" statements to be all lowercase, sans punctuation -->
<!-- Theming ideas:
- keep things fairly gray, dark but not black
- Three endings:
Ambiguous: you fail to escape the dream or w/e
Default "evil" ending: you descend down too many layers of irony and become the end boss
Good ending: connect with people, gather tools, defeat ironic detachment
-->
<!-- social skills as an item you can get -->
<!-- Need to add some brutalism. Probably in The Tower. -->}You open the door into a cavernous hall. The whole thing sounds like a giant bottle being blown into. The floor is [cold]<marble| and the room is [largely empty.]<paintings|
(if: (not $blazing) or $sword)[[[Something dimly reflects the flickering fireplace straight ahead.->Mirror]]
A spiral staircase [[[rises up->Stairs Up]]]<up| into high wooden rafters and appears to [[[descend->Down]]]<down| as well, in the far corner.
A gigantic [[dining room->Dining Room]] sits like a great void to your left, while a smaller [[hallway->Rooms]] branches off to the right.
You can still [[return->Den]] to the den.]
(if: not ($ending or $sword) and $blazing)[The blazing flames are clearly reflected at the end of the hall. [[Something moves against the flickering orange flames...->Mirror]]]{
(if: $knowledge)[(replace: ?up)[rises up]]
(if: $mojave)[(replace: ?down)[descend]]
(click-replace: ?marble)[cold (text-colour: #696969)[^^Two colors of marble arranged in an intricate pattern. Is that gold trim?^^]]
(click-replace: ?paintings)[largely empty. (text-colour: #696969)[^^Save for a few torn paintings hanging askew at least ten feet above you.^^]]
(if: $knowledge and $sword and ($socialSkills or $murder) and $blink)[(link: "the time has come")[(goto: "Ending Hall")]]}The [glow]<glow| is coming from the door's [window.]<window|
The wind buffets the door. |push>[You push it](click-append: ?push)[ open with a bit of effort, and the chilly air bites your skin.
The icy snow stings your feet and you leave deep tracks.
You should probably [[go back->Rooms]], but you can see a [[path->Aurora]] between the trees just ahead.]{(click-replace: ?glow)[glow (text-colour: #696969)[^^Flickering, much like the fire, but at a lower intensity.^^]]
(click-replace: ?window)[window. (text-colour: #696969)[^^A thin, translucent curtain diffuses the light into the room.^^]]}(set: $blazing to true)
(if: not $blazing)[As you approach, the reflection (text-colour: #666666)[dims and eventually] (text-colour: #444444)[disappears. Your surroundings are] (text-colour: #222222)[pitch black and you eventually hit a wall. You can't see whatever drew you over here, and there are no exits nearby.]
[[Return->Hall]]]
(if: $blazing)[You can clearly see a dark figure sillhouetted against the flames, which grow into a raging blaze.
[[you find yourself unable to resist continuing to approach->Castle]]]You climb the spiral staircase a seemingly interminable length of time before finding yourself emerging in a massive, well-lit atrium. As soon as your feet touch the hardwood floor you realize the stairs are no longer there.
[look around]<lookaround|
(click-replace: ?lookaround)[The walls are bare concrete, with soft light coming only from fixtures maybe thirty feet up. A great [tree]<tree| rises from a planter in the center through a hole in the next floor.
The room is empty besides it and a [[staircase->Tower Second Floor]] spiraling up around it.
(click-replace: ?tree)[tree (text-colour: #404040)[^^Tall but not broad. Gray bark and a suffusion of purple blossoms.^^]]]As you step on the staircase, you feel yourself falling for a short time before you hit packed earth. You're in a large desert, with Joshua trees everywhere. It's sunset, lending an unearthly orange glow to the sky.
{(set: $speeder to false)}
[[nearby, a shabby compound rises out of the dust->Compound Outskirts]]
[[in the opposite direction down the dirt road, light glints off the horizon->Desert Freeway]]You descend a couple steps into a yawning chasm. Waxed hardwood meets your feet. As your eyes adjust to the darkness, you see <!-- Initially, a blizzard too thick to see through; after the bar, a vista of a city in the valley; at the end, a shattered window with snow blowing in -->
To your left, there's a [[bar->Bar]] well-stocked with drinks.
To your right, a [[large table->Dining Table]] sits uncleared.
Just ahead, there's a [[low table->Puzzle]] surrounded by couches and chairs.
[[You can, of course, return to the hall->Hall]]Only a couple doors this way, unmarked. An eerie green glow illuminates this area.
[[The left door->Powder Bath]] has a well-worn brass knob.
[[The right door->Laundry Room]] has a more utilitarian handle, freshly replaced.
The wind buffets a [[door->Outside]] at the end of the hall.
You can, of course, [[return->Hall]] to the hall.A single candle illuminates this room, making you look ghostly in the wall-size mirror. A [sink of gilt porcelain]<sink| clashes with a more modern [faucet,]<faucet| next to a decorative hand towel and bar of soap.
There is also a [toilet]<toilet| and [shower,]<shower| neither remarkable.
You must [[return->Rooms]] to the hallway, eventually.{
<!-- TODO: have the candle burn down over time, down to the last cm on the second visit and gone on the third -->
(click-replace: ?sink)[sink of gilt porcelain (text-colour: #696969)[^^Broken then reassembled using gold as a binder.^^]]
(click-replace: ?faucet)[faucet, (text-colour: #696969)[^^Square, with separate temperature and flow controls.^^]]
(click-replace: ?toilet)[toilet (text-colour: #696969)[^^Perfectly functional. You relieve yourself.^^]]
(click-replace: ?shower)[shower, (text-colour: #696969)[^^The water runs. It's freezing cold.^^]]}Just a [washing machine,]<wm| a [dryer,]<drier| and some cabinets. A black-and-white linoleum [floor]<floor| underfoot.
[[A door->Utility Closet]] looks like it's trying to blend in with the wall at the far end.
[[The door to the hallway->Rooms]] remains open.{
(click-replace: ?wm)[washing machine, (text-colour: #696969)[^^Empty.^^]]
(click-replace: ?drier)[dyer, (text-colour: #696969)[^^Empty.^^]]
(click-replace: ?floor)[floor (text-colour: #696969)[^^Of a neutral temperature to the touch. Slightly sticky.^^]]}A tight closet filled primarily with [brooms and mops.]<brooms| A [vacuum cleaner]<vacuum| sits in one corner. Miscellaneous utilities from extension cords to stepladders are haphazardly arranged throughout.
(if: not $blink)[A circuit breaker panel is directly ahead, surrounded by a halo of light from the hall behind.
(click: "A circuit breaker panel")[You open it. All the switches are off.
[[turn one on->Roof]]]]
(if: $blink)[The circuit breaker panel is open, the switches on. (set: $lights to true)]
The [[door->Laundry Room]] to the laundry room is slightly ajar.
{<!-- TODO: readd axe detail, triggered by the "brooms and mops" parenthetical -->
(click-replace: ?brooms)[brooms and mops. (text-colour: #696969)[^^Could make decent weapons, in a pinch.^^]]
(click-replace: ?vacuum)[vacuum cleaner (text-colour: #696969)[^^A relatively old model, and well-worn.^^]]}You stumble through the storm into a clearing. The snow is thin enough to reveal a broad vista below you, a lake surrounded by timeworn firs.
A bright aurora illuminates the sky, its green light interspersed with hints of purple.
You can't [[stay->Freeze to death]] here safely. Your hands and feet are getting numb.
You should probably [[head inside->Rooms]].Soon, it's not only your feet that are numb.
(event: when time > 5s)[(t8n: "dissolve")[You find yourself unable to move your limbs.]]
(event: when time > 10s)[(t8n: "dissolve")[Freezing to death is a lot like burning to death, you find.]]
(event: when time > 15s)[(t8n: "dissolve")[You collapse in the snow, your body slowly buried over the course of the night.]]
(event: when time > 16s)[(t8n: "dissolve")[(link: "you are no longer.")[(reload:)]]]You find yourself standing on the [roof]<20th| of a [utilitarian-looking]<brownstone| apartment building. It's [a sunny day.]<day| Below you is a square courtyard, all the way at street level, maybe fourty feet across.
(click-replace: ?20th)[roof. (text-colour: #696969)[^^The 20th floor, perhaps.^^]]
(click-replace: ?brownstone)[utilitarian-looking (text-colour: #696969)[^^Brick facade, small windows inset regularly.^^]]
(click-replace: ?day)[a sunny day. (text-colour: #696969)[^^The wind whips your hair.^^]]
(event: when time > (5 * $_f))[(goto: "Falling")]{All of a sudden, you're falling to the courtyard!
<!-- old vals: (set: $fallTimes to (a: 0.86, 1.21, 1.48, 1.71, 1.91, 2.11, 2.31, 2.51, 2.71, 2.91, 3.01, 3.11, 3.21, 3.31, 3.41, 3.51, 3.61, 3.71, 3.81, 3.91)) -->
(set: $fallTimes to (a: 1.5, 3, 4.5, 6, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5, 16.5, 17.5, 18, 18.5, 19, 19.5, 20, 20.5))
}
[]<blink|{(live: ($_f * 0.5))[
(for: each _i, ...(range: 1, 20))[
(if: time > ($fallTimes's (_i) * $_f))[<br/>(text: (20-_i))]
(if: time > ($fallTimes's (20) * $_f))[(stop:)(goto: "Fell to Death")]
(if: time > ($fallTimes's (15) * $_f))[(replace: ?blink)[[[CLOSE YOUR EYES->Courtyard]]]]
(else-if: time > ($fallTimes's (7) * $_f))[(replace: ?blink)[[[close your eyes->Courtyard]]]]
]
]}A fairly modern-looking bar, [well-stocked.]<wellstocked|
(if: not ($socialSkills or $murder))[[sit down->Mars Bar]]
[[check out other areas->Dining Room]]
(click-replace: ?wellstocked)[well-stocked. (text-colour: #696969)[^^Almost exclusively hard liquor. The brands you recognize are particularly expensive.^^]]A hastily forsaken dining table. You can't see much more detail in the near-pitch black, but you can see the outlines of uncleared dishes an a cursory examination finds a deep gash in its thick wooden surface.
[[check out other areas->Dining Room]]{<!-- TODO: change state based on completed sections. Six sections surrounding a middle one which changes based on the ending. -->
<!-- TODO: Puzzle with pieces based on the six directions, plus a center piece which changes based on the ending.
**
***
**
Top left: up (the tower)
Top middle: forward (the castle)
Middle left: left (the bar)
Middle middle: the ending
Ending 1: trapped in the vision
Ending 2: defeat the monster
Ending 3: become the monster
Middle right: right (the fall)
Bottom middle: Den (always there)
Bottom right: down (Mojave)-->}
{You approach the [table.]<table| An [abstract sculpture]<sculpture| sits in the middle.
(if: $lights)[In the flickering light, you can dimly see a [puzzle]<pzl| on the table.
(if: $knowledge)[In the top left, an image of a concrete tower reaches into the sky, haloed by rays of lights breaking through the clouds.]
(else:)[The top left of the puzzle appears incomplete.]
(if: $sword)[In the top middle, a {(if: $murder)[bloodied]
(else:)[gleaming]} sword sits on a table across its scabbard.]
(else:)[The top middle of the puzzle appears incomplete.]
(if: $socialSkills)[In the middle left, the face of your love shines from another time and place.]
(else-if: $murder)[In the middle left, the face of the dead enforcer lies listless, framed by a pool of his own blood.]
(else:)[The middle left of the puzzle appears incomplete.]
(if: $endingA is 0)[The middle of the puzzle appears incomplete.]
(else:)[The middle of the puzzle is a striking portrait of your own face, dead
<!-- Strictly speaking, it's not possible to see the incompleteness line since blink and lights have the same truth tables -->
(if: $blink)[In the middle right, a blue sky is framed elegantly by brick walls and clotheslines.]
(else:)[The middle right of the puzzle appears incomplete.]
<!-- todo: make this desc reflect the fire's state? -->
In the bottom middle, a grandfather clock rests comfortably by a dying fireplace.
(if: $mojave)[In the bottom right, a delapidated gas station decays before the full moon.]
(else:)[The bottom right of the puzzle appears incomplete.]]}
[[check out other areas->Dining Room]]
(click-replace: ?table)[table. (text-colour: #696969)[^^It only reaches up to your shin. Clearly a coffee table.^^]]
(click-replace: ?sculpture)[abstract sculpture (text-colour: #696969)[^^It has a rough, concrete texture. A hollow sphere with irregular holes in the surface.^^]]As you sit down, you realize there's a [humanoid]<robot| robot behind the counter. You hear a [door]<door| open behind you and someone brusquely sits on the stool next to you. You find yourself in a tiny dive bar filled with people of all shapes and sizes, all wearing utilitarian work clothing. Some kind of [commotion]<commotion| trickles in from outside.
{<!-- macro: order a drink. Spawns a random text about the drink and another "order a drink" link, recursing forever -->
<!-- Getting three drinks gives you the social skill ability, allowing you to chat in some other contexts -->
<!-- Line about the chaos outside fading into the background if you return from left/right; maybe this is a prereq to start a chat? -->
(if: $marsChoose is 0)[(set: $marsChoose to false)]}
(if: $wentOutside)[[order a drink->Mars Drunk]]
(if: not $marsChoose)[[go outside->Mars Streets]]{
(click-replace: ?robot)[humanoid (text-colour: #FFFFFF)[^^Kinda. Its head is a featureless rectangle, and its arms are quite literally barebones.^^]]
(click-replace: ?door)[door (text-colour: #FFFFFF)[^^That definitely wasn't there before you sat down.^^]]
(click-replace: ?commotion)[commotion (text-colour: #FFFFFF)[^^Shouts and the occasional boom.^^]]}{(set: $wentOutside to true)}
You find yourself on a narrow street, clearly designed for mopeds and other small vehicles. A tuk-tuk nearly runs you down before the door even closes behind you.
[get your bearings]<lookaround|
(click-replace: ?tuktuk)[door (text-colour: #696969)[^^Equipped with some kind of hover capability instead of wheels, and with a pickup back full of cargo^^]]
(click-replace: ?lookaround)[The path to the left is blocked by a wall of riot shields, slowly approaching. To the right, an ominous crowd is gathering.
[[return to the bar->Mars Bar]]
[[go left->Mars Streets Left]]
[[go right->Mars Streets Right]]
You can also go [[forward->Mars Kowloon Entrance]] into a dense tangle of neon signs and exposed cabling, Ethernet and otherwise.]As you approach, a burly man blocks your path. He doesn't need words to communicate that you will not be able to pass without his permission.
Behind him, you can see what is best described as a warren of tunnels and rooms. The hallway is nearly covered in insulated wires of various sizes, and the way is lit almost entirely by neon signs.
[[[back off->Mars Streets]]]<backoff|
(if: $blink)[[[continue->Mars Kowloon Hallway]]]
(if: $marsChoose)[(replace: ?backoff)[[[back off->Mars Bar]]]](live: 1s)[{(set: $timeRemaining to it - 1)
(if: $timeRemaining <= 0)[(goto: "Mars Death")]}
(align: "=><=")[(print: $timeRemaining)]]
You enter a cramped room packed to the brim with running washing machines. Clothes fill hampers and cover the floor.
The enforcer's footsteps thunder behind you.
There's no way out except the door you came in from.
[[[go back->Mars Kowloon Hallway]]]<doorway|
(if: $blink)[[[close your eyes->Mars Home]]]
(event: when $timeRemaining < 3s)[(replace: ?doorway)[The enforcer blocks your path. (if: not $blink)[There's no way out.]]](live: 1s)[{(set: $timeRemaining to it - 1)
(if: $timeRemaining <= 0)[(goto: "Mars Death")]}
(align: "=><=")[(print: $timeRemaining)]]
You scramble into a tiny apartment, the enforcer hot on your heels. The only way out is up a ladder haphazardly leaned through a hole in the roof.
[[climb it->Mars Stairwell]](live: 1s)[{(set: $timeRemaining to it - 1)
(if: $timeRemaining <= 0)[(goto: "Mars Death")]}
(align: "=><=")[(print: $timeRemaining)]]
You try to continue down the hallway, but another enforcer quickly blocks your path.
[[[go back->Mars Kowloon Hallway]]]<doorway|
(if: $blink)[[[close your eyes->Mars Home]]]
(event: when $timeRemaining < 3s)[(replace: ?doorway)[The enforcer catches up to you from behind. You're surrounded. (if: not $blink)[There's no way out.]]](set: $timeRemaining to it+(3 * ($_f/1s)), $marsFinished to false, $marsSky to (background: #CECCEC)+(color: #8E4040))
(live: 1s)[(align: "=><=")[(print: $timeRemaining)]
{(set: $timeRemaining to it - 1)}]
The enforcer's thundering footsteps echo below you. The only thing to do is [run up the stairs in front of you]<run1|
(click-append: ?run1)[(set: $timeRemaining to it+1s) [and keep running until]<run2|]
(click-append: ?run2)[(set: $timeRemaining to it+1s) [you reach the door at the top and]<run3|]
(click-append: ?run3)[(set: $timeRemaining to it+1s) [(enchant: ?page, $marsSky)bash it open with your shoulder]<run4|]
(click-append: ?run4)[(set: $timeRemaining to it+1s) [your lungs are burning and]<run5|]
(click-append: ?run5)[(set: $timeRemaining to it+1s) [it's hard to focus but]<run6|]
(click-append: ?run6)[(set: $timeRemaining to it+1s) [there's a pistol lying there on the ground and you need to]<run7|]
(click-append: ?run7)[(set: $marsFinished to true) [grab it and shoot him
[catch your breath]<lookaround|]]
(event: when $timeremaining <= 0 and not $marsFinished)[(goto: "Mars Death")]
(click-replace: ?lookaround)[The [enforcer]<enforcer| lies at your feet. The rooftop is covered with makeshift electronics, satellite dishes, and air conditioning units. The sky is a pale violet color.
(set: $murder to true)
(link: "What did I just do?")[(goto: "Mars Landing")]]
<!-- Todo: expand? dk what I can reward you with here. For any ending on mars, you should probably wake up with your hand around an empty shot of vodka or someting suitably dramatic
Also, put a timer on this one, maybe a second per link as long as the enforcer's still running
-->
(click-replace: ?enforcer)[enforcer (text-colour: #696969)[^^An absolute brute of a man, though most of his body is made of bionics covered in a crude rubber facsimile of skin.^^]]The enforcer catches you and drags you to an unfinished office several floors up. A mercifully brief interrogation ends with your defenestration.
(link: "You die staring up at a violet sky.")[(goto: "Mars Landing")]As you reach the figure, you step through it and find yourself in a vast and barren landscape. You stand on packed earth which constitutes the only land in the region; glowing orange lava carpets the landscape elsewhere. The only path is forward, toward an ominous castle in the distance.
[[approach->Castle Keep]]As you approach, two armed and armored people approach and detain you. You see a hover speeder near the entrance.
[[they take you inside->Compound Center]]
(if: $blink)[(link: "steal the speeder")[(set: $speeder to true)You close your eyes and find yourself on the speeder. The key is in the ignition but it's unclear how to [start it.]<start|]]
(click-replace: ?start)[start it.
You turn the key and the small craft lifts off the ground to a height of a couple feet. As the guards raise their rifles to fire you [[manage to activate the throttle->Desert Freeway]] and speed off.](if: not $speeder)[The highway stretches on for miles. It's a long walk. The sun, already low in the sky, begins to set and suddenly it's night. A full moon illuminates your path, casting eerie ethereal shadows across the vast scrubland. Many hours pass before you find a structure, a desolate gas station at an intersection with a gravel road. You're absolutely parched.]
(if: $speeder)[The highway stretches on for miles, but it's quick going at eighty-plus miles an hour. You had a barely half-full tank when you began, but the [fuel]<fuel| gauge is nearly depleted by the time you reach a desolate gas station at an interection with a gravel road.]
[[approach the gas station->Gas Station]]
(click-replace: ?fuel)[fuel (text-colour: #696969)[^^You realize you have no idea what kind of fuel powers a hover speeder.^^]]<!-- Get some item, return to the hall -->
With [nowhere else to go,]<nowhere| you enter the gas station. Everything from the pumps to the cash register to the shelves are in a state of disrepair. A [bottle of water]<water| sits on the counter next to a [can of lighter fluid]<kerosene| with a note taped to it.
[read the note]<note|
(click-replace: ?nowhere)[nowhere else to go, (text-colour: #696969)[^^The road ahead is bombed out, and the road signs are destroyed and unreadable.^^]]
(click-replace: ?water)[bottle of water (text-colour: #696969)[^^You drink it. Warm and plasticky, but refreshing nonetheless.^^]]
(click-replace: ?kerosene)[can of lighter fluid (text-colour: #696969)[^^A small, metal bottle. Nearly empty, in fact.^^]]
(click-replace: ?note)[//You need to [go back]<goback|. Light a fire in your heart. You may need to find yourself first, but keep coming back to that goal.//
(set: $mojave to true)
(click-replace:?goback)[(goto: "Den")]]You are taken into the compound, hardly a shantytown except for the impressive concrete walls surrounding it. It's bustling with people, all well-armed. You're taken to some sort of commander, who is finishing up a speech on ruthlessness.
"On that note," they say, "let's show this newcomer what we do with the weak." (link: "Survival does not look likely.")[(goto: "Hall")]
(if: $socialSkills)[(link: "negotiate your freedom")[After an impasioned speech, you convince the commander of your worthlessness and you are [[allowed to wander the wastes->Desert Freeway]]]]
(if: $blink)[[[close your eyes->Desert Freeway]]]The sight of your own head rolling on the floor is more than enough to make you vomit.
(link: "Was it worth it?")[(reload:)]You find a lot of common ground with yourself, of course. You discover the different choices made in their timeline, after they too woke up here. Soon the differences are minimal as you merge, doubly experienced.
[[What does this mean?->Credits]]No sooner do you decide to approach than the protesters begin to retreat your way, followed by a wall of riot shields. When a tear gas canister lands at your feet you decide you should head inside, either into [[the bar->Mars Bar]] or [[the alleyway->Mars Kowloon Entrance]].
(set: $marsChoose to true)You head down the street, but the crowd starts approaching ominously. You retreat and see that you must soon either [[head back to the bar->Mars Bar]] or [[proceed into the alleyway->Mars Kowloon Entrance]]
(set: $marsChoose to true)The second floor is a spacious reading area. The tree from the atrium ascends from a hole in the floor and continues up another floor. Cool green light filters in through windows near the ceiling.
The walls are covered in bookcases, mostly containing relatively dry reference tomes on various topics from philosophy to engineering.
[One does catch your eye, however.]<book1|
[[you can return to the atrium->Tower Atrium]] or [[go to the next floor->Tower Mezzanine]]{
(click-replace: ?book1)[One does catch your eye, however. <br/><br/>A handbook on failsafe design and forward-looking error review. Its primary message is that you should not blame operators of systems, but look for failures in the design of those systems.(set: $knowledgeCt to it+1)]
}A cozy mezzanine, with a cantilevered section of concrete. A large window reveals a misty temperate rainforest, tall trees growing up and down the hills. A mossy cliff in the distance hosts a variety of subtropical bird species.
Bookshelves here contain a variety of artistic works, from familiar fiction to esoteric poetry.
[A particular title radiates interest.]<book2|
[[You can return to the first floor,->Tower Second Floor]] or [[continue to the third->Tower Third Floor]]{
(click-replace: ?book2)[A particular title radiates interest. <br/><br/>At first glance, it appears to be an out-of-place encyclopedia. At first, it details random aspects of a completely alien culture based around nearly-solipsistic philosophy. Eventually, a narrative emerges describing the creation of the unfamiliar world from Earth by zealous writers.(set: $knowledgeCt to it+1)]
}This room feels colder than the others, with thin sections of plate glass rising from the floor to the high ceiling between immense bezeled columns of concrete.
Rolling bookshelves here contain dense works of philosophy and obscure political theory. A number are just collections of trite sayings.
[Only one seems notable.]<book3|
[[you can return to the previous floor->Tower Mezzanine]] or [[continue to the next->Tower Fourth Floor]]{
(click-replace: ?book3)[Only one seems notable.<br/><br/>A general history of both philosophy and political history. A vigorous defense of human rights is particularly stirring, and pithy quotes abound.(set: $knowledgeCt to it+1)]
}The fourth floor is largely taken up by a hexagonal structure lined with dense shelves of books. Excepting the enormous columns in each corner, every wall consists of a floor-to-ceiling window.
[Look outside.]<outside|
[Investigate the hexagonal bookshelves.]<bks|
[[you can return to the previous floor->Tower Third Floor]] or [[continue to the next->Tower Fifth Floor]]
(click-replace: ?bks)[A monolithic console stands near the structure. A cursor blinks on the screen.
{<!--
(link: "search for a directory")[search the page for "credits. "(open-url: https://libraryofbabel.info/bookmark.cgi?hyrultt164)]
-->}
(link: "search for a classic novel")[The hexagon rotates and rotates, far more than should be possible. The whole structure slides down, never losing contact with the ceiling or the floor.
You find the book at shoulder height directly in front of you. You read it.
The first chapter opens with an elaborate metaphor about the planets of the solar system moving in concert through the void. This transitions rather abruptly into a prosaic story about a dockworker's daily life. Eventually, she is arrested for organizing a strike against the occupiers when her country is invaded. Her love for her fellow man leads to international condemnation and the collapse of the occupying government.(set: $knowledgeCt to it+1)]]{
(click-replace: ?outside)[You are largely above the canopy of an immense temperate rainforest. Fog collects in the valleys; mist prevents you from seeing more than a few miles. The sky is overcast.]}The top floor of the tower is bare concrete, but filled with rows and rows of exotic flowers in long planters. A slanted window on the far side reveals a garden on a balcony outside.
[[you can go back->Tower Fourth Floor]] or [[go out into the garden->Tower Garden]]The garden is peaceful. A light drizzle approaches from the clouds above.
(set: $knowledge to $knowledgeCt >= 2)
[[you can go back->Tower Fifth Floor]][]<gazebo|
(if: $knowledge)[(replace: ?gazebo)[, but a gazebo on the edge of the balcony (link: "looks like the perfect place to meditate")[(goto: "Hall")]]]You find yourself at the bottom, in a nice [courtyard.]<courtyard| You're surrounded by red brick, with no exits. The [breaker panel]<breaker| sticks out like a sore thumb from one of the bare walls. Above you, light filters in through [clotheslines.]<clothes|
[[turn a switch on->Utility Closet]]{
(click-replace: ?courtyard)[courtyard. (text-colour: #696969)[^^Four small cherry trees stick up from planters breaking up the fancy parquet tiling.^^]]
(click-replace: ?breaker)[breaker panel (text-colour: #696969)[^^Open, with the switches still off.^^]]
(click-replace: ?clothes)[clotheslines. (text-colour: #696969)[^^They flap a little in the breeze you caused.^^]]
(set: $blink to true)}You wake up with a start in the utility closet.
[[get up->Utility Closet]]You find yourself in the same hall. []<windowdesc| The room is lit by a flickering red light which glints of the gold inlay in the floor. You grip the handle of your [bloodied]<sworddesc| sword tightly as you face down a familiar figure.
They put up an excellent fight. Soon, you're on your back with a sword pointed directly at your throat.
(link: "close your eyes")[You find yourself looking down your sword at yourself.
(link: "go for the killing blow")[You finish off your doppelganger.
[[it is unsatisfying->Ending B]]]
(link: "mercy is a virtue")[You attempt to parlay.
[[talking to yourself is a strange experience->Ending C]]]]
[[face your death with open eyes->Ending A]]
(if: $socialSkills)[(replace: ?windowdesc)[The storm has cleared up, revealing a populous valley through the dining room window.]]
(else-if: $murder)[(replace: ?windowdesc)[The dining room window has shattered, letting snow stream in and chilling you to your very bones.]]
(if: $socialSkills)[(replace: ?sworddesc)[gleaming]]Within an instant, everything goes black.
(event: when time > 5s)[(goto: "Den")]
(set: $unset to true)
#(align:"=><=")+(font: "Century Gothic")+(text-style: "bold")[L O R E M]
(align:"=><=")[[play->The CW]]You quickly find yourself in a tight stairwell, still spiraling upward. You [climb]<cl0|
{<!-- no, i didn't type this manually -->}
(click-append: ?cl0)[ and [climb]<cl1| (click-append: ?cl1)[ and [climb]<cl2| (click-append: ?cl2)[ and [climb]<cl3| (click-append: ?cl3)[ and [climb]<cl4| (click-append: ?cl4)[ and climb and [climb]<cl5| (click-append: ?cl5)[ and climb and [climb]<cl6| (click-append: ?cl6)[ and climb and [climb]<cl7| (click-append: ?cl7)[ and climb and [climb]<cl8| (click-append: ?cl8)[ and climb and [climb]<cl9| (click-append: ?cl9)[ and climb and [climb]<cl10| (click-append: ?cl10)[ and climb and climb and [climb]<cl11| (click-append: ?cl11)[ and climb and climb and climb and [climb]<cl12| (click-append: ?cl12)[ and climb and climb and climb and [climb]<cl13| (click-append: ?cl13)[ and climb and climb and climb and [climb]<cl14| (click-append: ?cl14)[ and climb and climb and climb and [climb]<cl15| (click-append: ?cl15)[ and [rest]<cl16| (click-append: ?cl16)[ and [climb]<cl17| (click-append: ?cl17)[ and [climb]<cl18| (click-append: ?cl18)[ and [climb]<cl19| (click-append: ?cl19)[ and climb and [climb]<cl20| (click-append: ?cl20)[ and climb and climb and [climb]<cl21| (click-append: ?cl21)[ and climb and climb and climb and [climb]<cl22| (click-append: ?cl22)[ and climb and climb and climb and climb and [climb]<cl23| (click-append: ?cl23)[ and climb and climb and climb and climb and climb and [climb]<cl24| (click-append: ?cl24)[ and [climb]<cl25| (click-append: ?cl25)[ and finally [[reach the top...->Tower Atrium]]]]]]]]]]]]]]]]]]]]]]]]]]]]=><=
//warning: this story features stressful situations and mild death.
if you want to make the timed sections easier, you can adjust the time factor below.//
//higher values means timed scenes take longer to play out.//
(dropdown: bind $strF, "0.5", "1", "2", "3", "5", "10")[]
(align:"=><=")+(link: "accept and continue")[{(set: $_f to (num: $strF) * 1s, $unset to true)
}(goto: "Den")]To your surprise, it doesn't take long to reach the seemingly-distant edifice. As you near, it is clear it has long been deserted. The great door is partly off its hinges, and you manage to duck under it into a courtyard showing signs of great battle. [Arrows]<arrows| stick out of every wooden surface, and long-dessicated corpses lie broken in the barren soil.
You feel like you should [arm yourself...]<arm|
(click-replace: ?arrows)[Arrows (text-colour: #696969)[^^Even these are termite-eaten, the feathers long gone.^^]]
(click-replace: ?arm)[arm yourself...
{(if: $socialSkills)[You see a shining sword half-unsheathed by a nearby corpse. It's in perfect condition.
(set: $sword to true)
(link: "you feel yourself fading...")[(goto: "Hall")]]
(else:)[...but you don't see anything usable around here.
[[something draws you inside...->Castle Throne Room]]]}](set: $timeRemaining to 10 * ($_f/1s), $mKLVisited to false, $mKHoVisited to false, $mKHlVisited to false)
(live: 1s)[{(set: $timeRemaining to it - 1)
(if: $timeRemaining <= 0)[(goto: "Mars Death")]}
(align: "=><=")[(print: $timeRemaining)]]
Two doors are nearby. The hallway continues.
[[go left->Mars Laundromat]]
[[continue->Mars Hallway]]
[[go right->Mars Home]](if: $murder)[You find yourself drinking a particularly strong shot of liquor, knocking over the empty bottle in the process. It clatters on the floor.
[[get up->Bar]]]
(else-if: $socialSkills)[You find yourself finishing $her favorite cocktail.
[drink it]<drink|
(click-replace: ?drink)[It goes down quite smoothly.
[[get up->Bar]]]]
(else:)[You find yourself laying on the floor, the stool having seemingly fallen over underneath you.
[[get up->Bar]]]You drink. The stranger next to you removes (cycling-link: bind $her, "her", "his", "their") helmet, some sort of breathing apparatus in a canvas hood. (cycling-link: bind $she, "she", "he", "they") is gorgeous.
(link: "order another drink")[As soon as you do, $she turns to you with a comment on your choice.
$she's impressed.
(link: "order " + $her + " one")[As the bartender serves you, $she offers a toast. Digressing from introductions, you're both soon having a casual but serious discussion about philosophy.
(link: "see, I think...")[A blast shakes the bar, but nobody pays it mind. Your conversation devolves into local politics.
(link: $she + " laments the state of it all")[The people outside are locked in a life-and-death struggle over the future of this city, but $she suspects neither side wants the conflict to end.
(link: "the look on " + $her + " face is simulaneously resigned and hopeful, jocular and deadly serious")[The conversation turns to lighter topics. You find a lot of common ground, actually.
(link: "eventually, you've had too many drinks")[(set: $socialSkills to true) (goto: "Mars Landing")]]]]]]You [heave]<heave|
(click-replace: ?heave)[heave open the immense doors, entering a great hall. A luxurious, if moldy, carpet leads directly to a metal throne in a pool of light, coming in from a hole in the ceiling.
As you approach, you notice the claymore resting upon it. You unsheathe it to find a sword bloodied with ancient battles.
(link: "you feel yourself fading...")[(goto: "Hall")]]#(align:"=><=")+(font: "Century Gothic")+(text-style: "bold")[L O R E M]
(align:"=><=")+(font: "Century Gothic")[By Graydon Simons]
(align:"=><=")[Credits:<br/><br/>Heavily inspired by Howling Dogs and the work of Jorge Luis Borges. The book in the library mezzanine is implied to be Tlön, Uqbar, Orbis Tertius, by Borges. The story on the fourth floor was inspired by the life of Anna Walentynowicz. Playtesting and feedback from Carlos, Ricardo, Janice, and Newt was very helpful.]