/% Advance the clock %/\n<<set $HDCathedral.Clock++>>\n\t<<if $HDCathedral.Clock gt $HDCathedral.Moon>>\n\t\t<<set $HDCathedral.Time = "night">><</if>>\n\t<<if $HDCathedral.Clock gt $HDCathedral.Sun>>\n\t\t<<set $HDCathedral.Time = "day"; $HDCathedral.Clock = 0>><</if>>\n\n/% \n\tOpen Door (1) - roll for door scene\n\tNext Hallway (2) - roll for hallway effects\n%/\n\n<<if $HDCathedral.NewRoll eq 1>>\n\t\t/% Spawn a new door %/\n\t\t<<set $HDCathedral.Roll = $HDCathedral.Doors.random()>>\n\t<<include NewDoor>>\n<</if>>\n\n<<if $HDCathedral.NewRoll eq 2>>\n\t<<set _roll = random(1,100)>>\n\t<<if _roll lte $HDCathedral.TrapRate>>\n\t\t/% Spawn a new trap %/\n\t\t<<set $HDCathedral.Roll = $HDCathedral.Traps.random()>>\n\t\t<<include NewTrap>>\n\n\t<<elseif (_roll gte ((100 - $HDCathedral.ItemRate) - $HDCathedral.CreatureRate)) and (_roll lt (100 - $HDCathedral.ItemRate))>>\n\t\t/% Spawn a new creature! %/\n\t\t<<set $HDCathedral.Roll = $HDCathedral.Creatures.random()>>\n\t\t<<include NewCreature>>\n\n\t<<elseif _roll gte (100 - $HDCathedral.ItemRate)>>\n\t\t/% Spawn a new item! %/\n\t\t<<set $HDCathedral.Roll = $HDCathedral.Items.random()>>\n\t\t<<include NewItem>>\n\n\t<<else>><<set $HDCathedral.Result = $HDCathedral.Default>><</if>>\n<</if>>
/% Div tags start here; we don't want to futz around with this in the entries proper. %/\n<<set $HDCathedral.Result = "<div>You step forward, bracing yourself as you wrap your paw around the handle, cool air whooshing past your face as the heavy doors swing wide...</div><br><div>">>\n\t\t<<set $HDCathedral.doorJamb = 1>>\n\n<<switch $HDCathedral.Roll>>\n/% ================= %/\n\t<<case "Aetherspace">>\n\t\t<<set $HDCathedral.Result = "<div>You step forward, bracing yourself as you wrap your paw around the handle-- gasping in shock as the air rushes out around you, the vaccuum pulling you in!</div>">>\n\t\t<<set $HDCathedral.Result += "<div>You find yourself drifting in the endless, star-studded void between worlds, planes, and stars, the infinite expanse of deep <b>Aetherspace</b> spreading out around you...">>\n\n/% ================= %/\n\t<<case "Convention">>\n\t\t<<set $HDCathedral.Result += "You find a grandiose ballroom full of hundreds of very fat people who seem alarmingly similar, and alarmingly <i>familiar...</i><br>">>\n\t\t<<set $HDCathedral.Result += "Judging from the banners that hang overhead and the <i>exceptionally</i> flowery decor, you have come upon <b>the annual Nefirian Conference!</b> Several of the Nefs giggle daintily (or threateningly) at your arrival.<br>">>\n\t\t<<set $HDCathedral.Result += "<b>Sverevere jemself</b> waddles up to you in short order.<br> Jei place a very large slice of cake in your paws before ushering you back out the way you came, smiling apologetically.</div>">>\n\t\t<<set $HDCathedral.Result += "<div>The doors swing shut, leaving you standing perplexed and dazzled in the empty hallway.</div><br>">>\n\t\t<<set $HDCathedral.Result += "<div class='item'>You recieve <b>Conference Cake Slice <sub>x</sub>1</b>!">>\n\n/% ================= %/\n\t<<case "Cascade00">>\n\t\t<<set $HDCathedral.Result = "<div>You step forward, bracing yourself as you wrap your paw around the handle-- a sudden gushing flood of water spewing out of the heavy doors as they swing wide!</div>">>\n\t\t<<set $HDCathedral.Result += "<div>In an instant, you find yourself submerged, surrounded by a shimmering kelp forest somewhere in <b>The Cascade!</b>">>\n\n/% ================= %/\n\t<<case "Cascade01">>\n\t\t<<set $HDCathedral.Result = "<div>You step forward, bracing yourself as you wrap your paw around the handle-- a sudden gushing flood of water spewing out of the heavy doors as they swing wide!</div>">>\n\t\t<<set $HDCathedral.Result += "<div>In an instant, you find yourself submerged, surrounded on all sides by the colorful fish and sea life of <b>The Cascade!</b>">>\n\n/% ================= %/\n\t<<case "DragCave">>\n\t\t<<set $HDCathedral.Result += "You find yourself gazing into a large cave-- and you hear the steady rhythm of a great breath drawing in and out, twin eyes winking in the dark.</div>">>\n\t\t<<set $HDCathedral.Result += "<div>You seem to have found <b>the lair of a Mythosi</b>, who is now eyeing you with extreme curiosity!">>\n\n/% ================= %/\n\t<<case "1000Roses">>\n\t\t<<set $HDCathedral.Result += "You peer through the doors in confusion, slowly stepping out. Is this just another hallway?</div><div>">>\n\t\t<<set $HDCathedral.Result += "Continuing slowly on your way, you eventually push through the doors to the grand hall, taking suspicious note of little things that are very different.<br>Finally, you step outside, blinking in shock.</div><div>">>\n\t\t<<set $HDCathedral.Result += "Beyond the Cathedral gardens lies <b>an entire, sprawling city!</b> What is this place?!</div><br><div>">>\n\t\t<<set $HDCathedral.Result += "Somehow, you've arrived in <b>an alternate reality</b>!">>\n\n/% ================= %/\n\t<<case "Gardens">>\n\t\t<<set $HDCathedral.Result += "You find yourself outside, within the lush Cathedral gardens! ...you frown a bit in mild confusion.<br> It's a fine shortcut, you guess.">>\n\n/% ================= %/\n\t<<case "LabVat">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a pristine, high-tech laboratory!<br>In the center of the room sits a large vat of [contents] with a convenient ladder built into the side...">>\n\t\t/% Todo - roll contents %/\n\n/% ================= %/\n\t<<case "LabFatiere">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a pristine, high-tech laboratory!<br>In the center of the room sits a large tank of slurry with several hoses and pump controls attached to the side.</div><div>There are plenty of empty jars and bottles to be had, or...">>\n\t\t/% Todo - roll contents %/\n\n/% ================= %/\n\t<<case "LabPump">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a pristine, high-tech laboratory!<br>In the center of the room sits a large tank of [contents] with several hoses and pump controls attached to the side.</div><div>There are plenty of empty jars and bottles to be had, or...">>\n\t\t/% Todo - roll contents %/\n\n/% ================= %/\n\t<<case "LabTankFull">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a pristine, high-tech laboratory!<br>In the center of the room sits a large specimen tank, with a curiosity floating inside...">>\n\t\t/% Todo - roll contents %/\n\n/% ================= %/\n\t<<case "LabTankEmpty">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a pristine, high-tech laboratory!<br>In the center of the room sits a large, empty specimen tank, awaiting a new project or specimen...">>\n\n/% ================= %/\n\t<<case "LabCompression">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a pristine, high-tech laboratory!<br>In the center of the room sits a large, rubber-lined compression chamber, the controls attached to the side of the equipment.">>\n\n/% ================= %/\n\t<<case "LabConsole">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a pristine, high-tech laboratory!<br>In the center of the room sits a massive, plush chair anchored to a computer screen and a specimen tank... curious.</div><div>Drawing closer, you see that the screen is awaiting a new specimen to manipulate and reshape!">>\n\n/% ================= %/\n\t<<case "LabRay">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a pristine, high-tech laboratory!<br>In the center of the room sits a large, cannon-like device anchored firmly to the floor. There's a screen with controls attached to the back, and a target marked out on the floor in front of it... ">>\n\n/% ================= %/\n\t<<case "LabVivisection">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a high-tech laboratory, slick with blood...<br>In the center of the room is a large table where a [creature] has been strapped down and propped up!</div><div>It is clearly sedated but still alive, and flaps of skin and flesh have been cut open and pulled aside for viewing the inner workings...">>\n\n/% ================= %/\n\t<<case "SvereFatis">>\n\t\t<<set $HDCathedral.Result += "You find yourself standing before the Fatis Mirazin in its room, bathing the surroundings in a magenta glow. But something is subtly off...</div><div>After a moment, you realize that this is not YOUR Fatis Mirazin, somehow... and it isn't your Cathedral, either!">>\n\n/% ================= %/\n\t<<case "VeeMoon">>\n\t\t<<set $HDCathedral.Result += "You find yourself standing in the cold, before a perfect night sky with a trillion stars... and a very close, very large planet looming overhead, decorated with a glowing belt.</div><div>Where are you, and how is this possible?!<br>Nearby, multi-colored, star-shaped creatures begin to shuffle across the dusty, pock-marked violet ground you stand upon...">>\n\n/% ================= %/\n\t<<case "SpiralFacility">>\n\t\t<<set $HDCathedral.Result += "You find yourself standing in an odd, elongate room lined with huge windows, tables slathered in buttons and screens, and multiple wide, low-set chairs.</div><div>Creeping closer, you see scenes of shabbily-dressed, bipedal people huddled around bonfires with fearful faces, as threatening snarls and calls thunder out of the surrounding treelines...">>\n\n/% ================= %/\n\t<<case "TolanWilds">>\n\t\t<<set $HDCathedral.Result += "You find yourself standing in a sparse woodland, a bit colder than Mimore this time of year. As you consider your outfit, something colorful moving nearby catches your attention.</div><div>Several brightly-colored animal people bumble about in a clearing nearby, seemingly trying to figure out how to communicate with one another. They don't notice you...">>\n\n/% ================= %/\n\t<<case "TolanFacility">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a dusty, dimly-lit laboratory!<br>Odd, animal-like yips and barks echo down the halls...<br>As you explore, you find multiple observation rooms containing fat, colorful animal people dressed in tight harnesses or floating in specimen tanks, all gazing fearfully out at you.">>\n\n/% ================= %/\n\t<<case "SpiralHiveship">>\n\t\t<<set $HDCathedral.Result += "You find yourself within dark halls of solid metal decorated with brutalistic markings and lit by flickering, failing electrical lights. There's an odd, acrid tang in the air alongside the inmistakeable scent of blood.</div><div>You hear somnix voices calling out in fear and anger somewhere in the distance-- and every now and then, something skitters or stomps by overhead, hunting.">>\n\n/% ================= %/\n\t<<case "HiveshipCafeteria">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a dim, poorly-lit cafeteria. There's warm food still in bins in the steam table, but the entire room is in obvious disarray.</div><div>You hear something heavy scrabbling through the vents above, and you notice that a large smear across the floor in the middle of the room is not spilled food, but drying blood.">>\n\n/% ================= %/\n\t<<case "HiveshipContainment">>\n\t\t<<set $HDCathedral.Result += "You find yourself within dark halls of solid metal decorated with brutalistic markings and lit by flickering, failing electrical lights.<br>Multiple reinforced cells line the hall, several featuring bristling, angry alien creatures tugging at their bonds as they hiss and sniff the air.</div><br><div>You note that several of the cells are both broken open... and empty.">>\n\n/% ================= %/\n\t<<case "HiveshipBrood">>\n\t\t<<set $HDCathedral.Result += "You find yourself within a dark, musty series of tunnels.<br>The walls are made of an odd, organic-looking black material like nothing you've seen before.<div></div>As you explore, you hear the desperate cries of wounded somnix-- accentuated by the sound of something skittering about nearby.">>\n\n/% ================= %/\n\t<<case "DurwynnHouse">>\n\t\t<<set $HDCathedral.Result += "You find yourself standing in a quaint but spacious living room-- your curiosity piquing as take note of the massive banquet laid out before you on multiple groaning tables, featuring an incredible selection of high-calorie, modern Earth fare.<div></div>A card written in a grandiose and elegant hand invites you to help yourself...">>\n\n/% ================= %/\n\t<<case "FacadeBreakfast">>\n\t\t<<set $HDCathedral.Result += "You find yourself standing in a grand and elegant dining room, next door to a bustling kitchen that seems no less spacious.<br>The smell of rich food tickles your nostrils as you gaze excitedly at the impossibly huge and sumptuous breakfast spread.</div><div>You can <i>feel</i> Nefirian Sverevere behind you, encouraging you to indulge...">>\n\n\n/% ================= %/\n\t<<default>>\n\t\t<<set $HDCathedral.Result = "PH: You open a new door!">>\n<</switch>>\n\n/% Div tags capped here. %/\n\t<<if $HDCathedral.doorJamb == 1>>\n\t\t<<set $HDCathedral.doorJamb = 0; $HDCathedral.Result += "</div>">>\n\t<<else>>\n\t\t<<set $HDCathedral.Result += "</div><br>" + $HDCathedral.Default>><</if>>
/% Setting up our variables before the program "starts", so it doesn't scream about them not existing when you try to reference or alter them... %/\n\n<<set $HDCathedral = {\n\tNewGame: 1,\n\tNewRoll: 0, Roll: "", \n\tdoorJamb: 0, \n\tClock: 0, Time: "day", Sun: 39, Moon: 21,\n\tResult: "No result generated.",\n\tIntro: "<div class='intro'>You open the back doors of the <b>Cathedral of Silent Roses'</b> Grand Hall, and take a first exploratory step within.<br>Nothing happens, and you draw a breath.<br>Before you await several closed doors-- and the hallway itself, continuing on beyond them and into the foggy distance.<br><br>You can almost feel Sverevere standing behind you, watching with eager excitement...</div><div class='script'>~Choose Your Path.~</div>",\n\tDefault: "<div>Before you await several closed doors-- and the hallway itself, continuing on beyond them and into the foggy distance.</div>",\n\tTrapRate: 12, ItemRate: 12, CreatureRate: 12,\n\tTraps: [], Items: [], Doors: [], Creatures: [],\n }>>\n\n\n/% Insert new encounters here, not above! %/\n<<include SpawnPools>>
/% Insert new encounters here, not in StoryInit! %/\n\n/% ================= Doors %/\n\n<<set $HDCathedral.Doors = ["Aetherspace","Convention","Cascade00","Cascade01","DragCave","1000Roses","Gardens","LabVat","LabFatiere","LabPump","LabTankFull","LabTankEmpty","LabCompression","LabConsole","LabRay","LabVivisection","SvereFatis","VeeMoon","SpiralFacility","TolanWilds","TolanFacility","SpiralHiveship","HiveshipCafeteria","HiveshipContainment","HiveshipBrood","DurwynnHouse","FacadeBreakfast"]>>\n\n/% ================= Traps %/\n\n<<set $HDCathedral.Traps = ["WGSerum","WGSerum","BreastSerum","BellySerum","ThighSerum","MilkSerum","Fyynling","FyynlingBreast","FyynlingThigh"]>>\n\n\n/% ================= Creatures %/\n\n\t<<if $HDCathedral.Time eq "day">>\n\t\t<<set $HDCathedral.Creatures = ["Fyynling","Quaggy","Lumynos","Spectra"]>>\n\t<<elseif $HDCathedral.Time eq "night">>\n\t\t<<set $HDCathedral.Creatures = ["Fyynling","Quaggy","Lumynos","Silvermane"]>>\n\t<</if>>\n\n/% ================= Items %/\n\n\n/% Todo; \n\tLiquid sample, plant sample, gene sample (species and trait), microbe sample randomizers \n\tMiscellaneous items and variants\n%/\n\n<<set _suai = ["Zeppelin Suai"]>>\n\n<<set _serums = ["Zeppelin Serum","Egg Induction Serum","Milk Induction Serum","Milk Amplifier Serum","Egg Amplifier Serum","Vitality Serum","Rubberizing Serum","Armor Serum","Bulking Serum"]>>\n\n<<set _geneTraits = ["Gene Trait: Venom","Gene Trait: Paws"]>>\n\n<<set _geneSamples = ["Gene Sample: Fyyn","Gene Sample: Ros Gorgeais","Gene Sample: Ein","Gene Sample: Silvermane"]>>\n\n<<set _misc = ["Egg Induction Serum","Milk Induction Serum","Milk Amplifier Serum","Egg Amplifier Serum"]>>\n\n\n\t<<for _i to 0; _i < _misc.length; _i++>><<set $HDCathedral.Items.push(_misc[_i])>><</for>>\n\t<<for _i to 0; _i < _suai.length; _i++>><<set $HDCathedral.Items.push(_suai[_i])>><</for>>\n\t<<for _i to 0; _i < _serums.length; _i++>><<set $HDCathedral.Items.push(_serums[_i])>><</for>>\n\t<<for _i to 0; _i < _geneTraits.length; _i++>><<set $HDCathedral.Items.push(_geneTraits[_i])>><</for>>\n\t<<for _i to 0; _i < _geneSamples.length; _i++>><<set $HDCathedral.Items.push(_geneSamples[_i])>><</for>>
Config.history.controls = false;\nConfig.history.maxStates = 1;\n\nConfig.macros.maxLoopIterations = 2000;\n\nConfig.passages.nobr = true;\n\nConfig.ui.stowBarInitially = false;\n\nConfig.saves.autoload = false;\n\n\n// Autosaves on passages tagged with "doAutosave"\nConfig.saves.autosave = ["doAutosave"]; \n\n// Transition shit; DO NOT REMOVE THIS OR THE TRANSITION CSS!\nConfig.passages.transitionOut = 5;
// Hotkeys\n//====================================================================\n \n(function() { \n//===========================\n//==================================================================== \t\t\n\tdocument.onkeyup=function(e){ var e = e || window.event;\n//==================================================================== \n\t\n// W\n\t\tif(e.which === 87) { if(document.getElementById("navW") != null) { \t\t\n\t\t\tdocument.getElementById("navW").click();}}\t\t\t\t\n// A\n\t\tif(e.which === 65) { if(document.getElementById("navA") != null) { \t\t\n\t\t\tdocument.getElementById("navA").click();}}\t\t\t\t\n// S\n\t\tif(e.which === 83) { if(document.getElementById("navS") != null) {\t\t\n\t\t\tdocument.getElementById("navS").click();}}\t\t\t\t\t\t\n// D\n\t\tif(e.which === 68) { if(document.getElementById("navD") != null) {\t\t\n\t\t\tdocument.getElementById("navD").click();}}\t\t\t\t\t\t\n// F\n\t\tif(e.which === 70) { if(document.getElementById("navF") != null) {\t\t\n\t\t\tdocument.getElementById("navF").click();}}\t\n// B\n\t\tif(e.which === 66) { if(document.getElementById("navB") != null) {\t\t\n\t\t\tdocument.getElementById("navB").click();}}\t\t\n// C\n\t\tif(e.which === 67) { if(document.getElementById("navC") != null) {\t\t\n\t\t\tdocument.getElementById("navC").click();}}\t\t\t\t\t\t\n// E\n\t\tif(e.which === 69) { if(document.getElementById("navE") != null) {\t\t\n\t\t\tdocument.getElementById("navE").click();}}\t\t\t\t\t\t\t\n// G\n\t\tif(e.which === 71) { if(document.getElementById("navG") != null) {\t\t\n\t\t\tdocument.getElementById("navG").click();}}\t\t\t\t\t\n// H\n\t\tif(e.which === 72) { if(document.getElementById("navH") != null) {\t\t\n\t\t\tdocument.getElementById("navH").click();}}\t\t\t\t\t\t\n// I\n\t\tif(e.which === 73) { if(document.getElementById("navI") != null) {\t\t\n\t\t\tdocument.getElementById("navI").click();}}\t\t\t\t\t\t\t\n// J\n\t\tif(e.which === 74) { if(document.getElementById("navJ") != null) {\t\t\n\t\t\tdocument.getElementById("navJ").click();}}\t\t\t\t\t\t\t\n// K\n\t\tif(e.which === 75) { if(document.getElementById("navK") != null) {\t\t\n\t\t\tdocument.getElementById("navK").click();}}\t\t\t\t\t\t\t\t\n// L\n\t\tif(e.which === 76) { if(document.getElementById("navL") != null) {\t\t\n\t\t\tdocument.getElementById("navL").click();}}\t\t\t\t\t\t\n// M\n\t\tif(e.which === 77) { if(document.getElementById("navM") != null) {\t\t\n\t\t\tdocument.getElementById("navM").click();}}\t\t\t\n// N\n\t\tif(e.which === 78) { if(document.getElementById("navN") != null) {\t\t\n\t\t\tdocument.getElementById("navN").click();}}\t\t\t\t\t\t\t\n// O\n\t\tif(e.which === 79) { if(document.getElementById("navO") != null) {\t\t\n\t\t\tdocument.getElementById("navO").click();}}\t\t\t\t\t\t\t\n// P\n\t\tif(e.which === 80) { if(document.getElementById("navP") != null) {\t\t\n\t\t\tdocument.getElementById("navP").click();}}\t\t\t\t\t\t\n// Q\n\t\tif(e.which === 81) { if(document.getElementById("navQ") != null) {\t\t\n\t\t\tdocument.getElementById("navQ").click();}}\t\n// R\n\t\tif(e.which === 82) { if(document.getElementById("navR") != null) {\t\t\n\t\t\tdocument.getElementById("navR").click();}}\t\n// T\n\t\tif(e.which === 84) { if(document.getElementById("navT") != null) {\t\t\n\t\t\tdocument.getElementById("navT").click();}}\t\n// U\n\t\tif(e.which === 85) { if(document.getElementById("navU") != null) {\t\t\n\t\t\tdocument.getElementById("navU").click();}}\t\n// V\n\t\tif(e.which === 86) { if(document.getElementById("navV") != null) {\t\t\n\t\t\tdocument.getElementById("navV").click();}}\t\t\t\t\t\n// X\n\t\tif(e.which === 88) { if(document.getElementById("navX") != null) {\t\t\n\t\t\tdocument.getElementById("navX").click();}}\t\n// Y\n\t\tif(e.which === 89) { if(document.getElementById("navY") != null) {\t\t\n\t\t\tdocument.getElementById("navY").click();}}\t\n// Z\n\t\tif(e.which === 90) { if(document.getElementById("navZ") != null) {\t\t\n\t\t\tdocument.getElementById("navZ").click();}}\t\n\t\t\t\n\n//==================================================================== \n//Numerical\n\t\n// 0\n\t\tif(e.which === 48) { if(document.getElementById("nav0") != null) {\t\t\n\t\t\tdocument.getElementById("nav0").click();}}\t\t\t\n\n// 1\n\t\tif(e.which === 49) { if(document.getElementById("nav1") != null) {\t\t\n\t\t\tdocument.getElementById("nav1").click();}}\t\t\t\t\n\t\t\t\t\t\n// 2\n\t\tif(e.which === 50) { if(document.getElementById("nav2") != null) {\t\t\n\t\t\tdocument.getElementById("nav2").click();}}\t\t\t\n\n// 3\n\t\tif(e.which === 51) { if(document.getElementById("nav3") != null) {\t\t\n\t\t\tdocument.getElementById("nav3").click();}}\t\t\t\n\n// 4\n\t\tif(e.which === 52) { if(document.getElementById("nav4") != null) {\t\t\n\t\t\tdocument.getElementById("nav4").click();}}\t\t\t\n\n// 5\n\t\tif(e.which === 53) { if(document.getElementById("nav5") != null) {\t\t\n\t\t\tdocument.getElementById("nav5").click();}}\t\t\t\t\n\t\t\t\t\t\n// 6\n\t\tif(e.which === 54) { if(document.getElementById("nav6") != null) {\t\t\n\t\t\tdocument.getElementById("nav6").click();}}\t\t\t\n// 7\n\t\tif(e.which === 55) { if(document.getElementById("nav7") != null) {\t\t\n\t\t\tdocument.getElementById("nav7").click();}}\t\t\t\t\n\t\t\t\t\t\n// 8\n\t\tif(e.which === 56) { if(document.getElementById("nav8") != null) {\t\t\n\t\t\tdocument.getElementById("nav8").click();}}\t\t\t\n\n// 9\n\t\tif(e.which === 57) { if(document.getElementById("nav9") != null) {\t\t\n\t\t\tdocument.getElementById("nav9").click();}}\t\t\t\n\n\n\n\n//==================================================================== \n\t\t\t}}());\n//==================================================================== \n//==================================================================== \n
<<switch $HDCathedral.Roll>>\n\t<<case "WGSerum">>\n\t\t<<set $HDCathedral.Result = "<div>You hear a soft <i>fwpt</i> as a dart lodges into your side!<br>Shivering, you watch as your body begins to bloat with fat!</div><div class='trap'>[Weight +" + random(25,150) + "]</div><br>">>\n\n\t<<case "BreastSerum">>\n\t\t<<set $HDCathedral.Result = "<div>You hear a soft <i>fwpt</i> as a dart lodges into your side!<br>Shivering, you watch as your chest begins to bloat with fat!</div><div class='trap'>[Breast +" + random(5,50) + "]</div><br>">>\n\n\t<<case "BellySerum">>\n\t\t<<set $HDCathedral.Result = "<div>You hear a soft <i>fwpt</i> as a dart lodges into your side!<br>Shivering, you watch as your belly begins to bloat with fat!</div><div class='trap'>[Belly +" + random(10,150) + "]</div><br>">>\n\n\t<<case "ThighSerum">>\n\t\t<<set $HDCathedral.Result = "<div>You hear a soft <i>fwpt</i> as a dart lodges into your side!<br>Shivering, you watch as your thighs begin to bloat with fat!</div><div class='trap'>[Thigh +" + random(10,150) + "]</div><br>">>\n\n\t<<case "MilkSerum">>\n\t\t<<set $HDCathedral.Result = "<div>You hear a soft <i>fwpt</i> as a dart lodges into your side!<br>Shivering, you watch as your chest begins to rapidly inflate with milk and fat!</div><div class='trap'>[Breast +" + random(15,30) + ", +Lactation]</div><br>">>\n\n\t<<case "Fyynling">>\n\t\t<<set $HDCathedral.Result = "<div>You hear a soft <i>fwpt</i> and a confused squeak as a fyynling collides with your belly!</div><div class='trap'>[Belly +" + random(5,15) + "]</div><br>">>\n\n\t<<case "FyynlingBreast">>\n\t\t<<set $HDCathedral.Result = "<div>You hear a soft <i>fwpt</i> and a confused squeak as a fyynling collides with your chest!</div><div class='trap'>[Breast +" + random(5,15) + "]</div><br>">>\n\n\t<<case "FyynlingThigh">>\n\t\t<<set $HDCathedral.Result = "<div>You hear a soft <i>fwpt</i> and a confused squeak as a fyynling collides with your hip!</div><div class='trap'>[Thigh +" + random(5,15) + "]</div><br>">>\n\n\n/% ================ %/\n\t<<default>>\n\t\t<<set $HDCathedral.Result = "<div class='trap'>PH: You've activated my trap roll!</div><br>">>\n<</switch>>\n\t\n\n<<set $HDCathedral.Result += $HDCathedral.Default>>
<div class="ulHeader">HEART*DREAM - ''The Cathedral of Silent Roses'' \n<<if $HDCathedral.Time eq "night">><img src="moon.png"><<else>><img src="sun.png"><</if>></div>\n<center>\n/% Display intro. %/\n\n<<if $HDCathedral.NewGame eq 1>>\n<<set $HDCathedral.Result = $HDCathedral.Intro; $HDCathedral.NewGame = -1>><</if>>\n\n/% Only roll when ready. \nThe engine will only be called if "NewRoll" is set to 1, which clicking the "New Encounter" button will do. %/\n<<if $HDCathedral.NewRoll neq 0>>\n<<include Engine>><</if>>\n\n/% \nAt start, begin at a new "safe" hall.\nOptions:\n[Open a door] | [Continue to next hallway]\n\n"Next hallway" is essentially a 'refresh' that has a chance of spawning a new hallway event.\nClicking the "open door" button at any time rolls and outputs a new event with no additional parameters.\nDoor contents are only "spawned" when they are opened. \n\nRegardless of what else happens, the buttons at the bottom of the screen are always the same, and always displayed.\n%/\n\n/% ========================================= %/\t\n/% Deliver the Engine output!\nOutput has been separated from the rest of the Engine passage, so the Images passage can also use the engine results.\nThe "span" makes a stylable CSS object; the "class" here applies the style. %/\n\n<span class="roll"><<print $HDCathedral.Result>></span>\n\n/% A linebreak to separate the encounter button from the result display. %/ <hr>\n/% ========================================= %/\t\n\n<div>\n<button id="nav1" class="btn" data-passage="Start" data-setter="$HDCathedral.NewRoll = 1;">\n(1) Open A Door</button>\n\n<button id="nav2" class="btn" data-passage="Start" data-setter="$HDCathedral.NewRoll = 2;">\n(2) Wander the Hallways</button>\n</div>\n\n</center>
<<set $HDCathedral.Result = "<div>You find a wandering <b>">>\n\n<<switch $HDCathedral.Roll>>\n\n\t<<case "Fyynling">>\n\t\t<<set $HDCathedral.Result += "Fyynling</b>!</div><br>">>\n\n\t<<case "Quaggy">>\n\t\t<<set $HDCathedral.Result += "Revec*ai Quaggy</b>!</div><br>">>\n\n\t<<case "Lumynos">>\n\t\t<<set $HDCathedral.Result += "Lumynos</b>!</div><br>">>\n\n\t<<case "Spectra">>\n\t\t<<set $HDCathedral.Result += "school of <span class='colorful'>Spectra</span></b>, swimming leisurely through the air!</div><br>">>\n\n\t<<case "Silvermane">>\n\t\t<<set $HDCathedral.Result += "Silvermane</span></b>, its fur gleaming in the moonlight!</div><br>">>\n\n\t<<default>>\n\t\t<<set $HDCathedral.Result += $HDCathedral.Creatures.random() + " </b>!</div><br>">>\n<</switch>>\n\n\t\n\t\t<<set $HDCathedral.Result += $HDCathedral.Default>>
<<switch $HDCathedral.Roll>>\n\t<<case "PH">>\n\n\t<<default>>\n\t\t<<set $HDCathedral.Result = "<div class='item'>You find <b>" + $HDCathedral.Items.random() + " <sub>x</sub>1</b>!</div><br>">>\n<</switch>>\n\n\t\n\t\t<<set $HDCathedral.Result += $HDCathedral.Default>>
DREAM-EATER <br> \nCathedral Halls \nv0.1.1
/* ============================================ */\n/* ============================================ */\n/* Transitions*/\n/* ============================================ */\n\n* {\n -o-transition-property: none !important;\n -moz-transition-property: none !important;\n -ms-transition-property: none !important;\n -webkit-transition-property: none !important;\n transition-property: none !important;\n\t-ms-overflow-style: none; /* IE and Edge */\n\tscrollbar-width: none; /* Firefox */\n}\n\nbody::-webkit-scrollbar { display: none; }\n\n.error-view { background-color: #677eb6; }\n\n/* ============================================ */\n\n.ulHeader { \n\tposition: relative; left: -2.5rem;\n\tborder-bottom: 1px solid white; \n\tmargin-bottom: 1rem; \n}\n\n.intro { font-size: 0.8rem; font-style: oblique; color: #50A5CE; }\n.script { color: #C49C00; font-style: oblique; font-family: serif; font-size: 1.8rem; }\n\n.item { color: #00a8a8; font-size: 0.8rem; }\n.trap { color: #e30075; font-size: 0.8rem; }\n\n\nbutton { line-height: 0.5; padding: .5em; }\n.btn { \n\tcolor: #2355b3;\n\tbackground-color: #fcfdfd;\n\tborder: 1px solid #a27200;\n\tmargin-left: 0.2rem; margin-bottom: 0.3rem; }\n.btnClick { margin-left: 0.4rem; color: #68D5FF; }\n.btnClick:hover { color: #FF0CB3; text-decoration: underline; }\n\n\n.roll { \n\tdisplay: block;\n\tfont-size: 0.8rem;\n\tbackground-color: #fff;\n\tcolor: #090B97;\n\tborder: 0.1rem solid #a27200;\n\ttext-shadow: 0.15rem 0.15rem 0.15rem #005BE840;\n\tpadding: 1.2rem;\n}\n\n\n.imgFrame {\n\tposition: relative;\n\tleft: 8%;\n\tright: auto;\n}\n\n.imgStack {\n\tposition: relative; left: -22rem; top: 8rem; z-index: 10;\n}\n\n.colorful {\n\tbackground: linear-gradient(to right, red, orange, blue, violet);\n\t-webkit-background-clip: text;\n\tbackground-clip: text;\n\tcolor: transparent;\n}\n