JavaScript is required. Please enable it to continue.
Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
<<audio ":playing" fadeout>> <<playlist "game" loop play>> <<set $ingame = 1>> <<set $intro1 = setup.intro.intro1.pluck()>> <<set $setting = setup.intro.setting.pluck()>> <<set $intro2 = setup.intro.intro2.pluck()>> <<set $intro3 = setup.intro.intro3.pluck()>> <<set $danger1 = setup.intro.danger1.pluck()>> <<set $choice1 = setup.intro.choice1.pluck()>> <<set $choice2 = setup.intro.choice2.pluck()>> <<set $choice3 = setup.intro.choice3.pluck()>> <br> <div class="layoutborder"> <div class="layout"> $intro1 <br><br> $setting $intro2 <br><br> $intro3 $danger1 <br><br> <span class="button-1"> <<button $choice1 "Dream2">> <<sf>> <<set $playerBravery += 1>> <<set $lastchoice = 1>> <</button>> </span> <span class="button-1"> <<button $choice2 "Dream2">> <<sf>> <<set $playerInsight += 1>> <<set $lastchoice = 2>> <</button>> </span> <span class="button-1"> <<button $choice3 "Dream2">> <<sf>> <<set $playerIntuition += 1>> <<set $lastchoice = 3>> <</button>> </span> </div> </div> <br><br>
<<set $dismiss = 0>> <<set $scene = "ruins">> <<set _scene = "ruins">> <<set $dialogList to Array.from(setup[_scene].qlist)>> <<set $lastChoice = [""]>> <<set $nextScene = "forest">> <<set $dialogTarget = [""]>> <div class="layoutBorder"> <div class="layout"> <<print setup[_scene].intro1.random()>> <br><br> <<print setup[_scene].intro2.random()>> <br><br> <<print setup[_scene].sentence1.random()>> <br><br> <<set _choice1 = $withPlayer1>> <<set _choice1text = setup.characters[_choice1]>> <<set _choice2 = $withPlayer2>> <<set _choice2text = setup.characters[_choice2]>> <<set _text1 = setup.choiceText.default.random()>> <<set _text2 = setup.choiceText.default.random()>> <<set _text3 = setup.choiceText.default.random()>> <div class="button-1"> <<button "_text1 _choice1text" Dialog>> <<sf>> <<set $dialogTarget = _choice1>> <</button>> </div> <div class="button-1"> <<button "_text2 _choice2text" Dialog>> <<sf>> <<set $dialogTarget = _choice2>> <</button>> </div> </div> </div>
<<dialogclose>> <<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<set $lastChoice = [""]>> <<set $rounds = 5>> <<set $scene = "forest">> <<set _scene = "forest">> <<set $nextScene = "henge">> <<run $charChoiceList.delete($dialogTarget)>> <<set $charChoices to Array.from($charChoiceList)>> <<set $choiceText to Array.from(setup.choiceText.default)>> <<set $dialogTarget = [""]>> <div class="layoutBorder"> <div class="layout"> <<print setup[_scene].intro1.random()>> <<print setup[_scene].intro2.random()>> <br><br> <<print setup[_scene].intro3.random()>> <br><br> <<print setup[_scene].sentence1.random()>> <br><br> <span class="button-1"> <<button "Continue" "henge">> <<sf>> <</button>> </span> </div> </div>
Introduction: Come quick, the feathersaurus we all rode in [aka the magic school bus] on has been poisoned! We're trapped here. You'd better find Lady Ella [security/chaperone employed by the school]. Scene 1: Visitor's shack. Ranger present, no Lady Ella. Main path is something like "can you take us to the Henge? Our familiars aren't getting enough bars out here so we need a place with lots of magic to talk to the school and get help" Scene 2: Deep in the forest, the students gather around a bloody stone tablet where some kind of ritual has clearly happened like, really bloody recently. What if it's Lady Ella? We're out here with no protection and we can't call for help. Go up top of hillock, camp near the henge overnight Scene 3: Morning, ranger is missing. Students begin to suspect there's a traitor. Send blood sample from stone tablet back to the school using the magic of the Henge, it belongs to a known shapeshifting criminal who apparently replaced Lady Ella. So it's very likely the killer is hiding among them [[end]]
<br><br> <span class="button-1"> <<button Onwards... "name">><<sf>><</button>> </span>
<<set $setting5 = setup.intro.setting5.pluck()>> <<set $genderSentence = setup.gender.sentence.pluck()>> <<set $gender1 = setup.gender.types.pluck()>> <<set $gender2 = setup.gender.types.pluck()>> <<set $gender3 = setup.gender.types.pluck()>> <<set $gender4 = setup.gender.types.pluck()>> <div class="layoutborder"> <div class="layout"> $setting5 <span id="gender"> $genderSentence... <br><br> <span class="button-1"> <<button $gender1>> <<set $playerGender to $gender1>> <<sf>> <<replace "#gender">>$genderSentence, <span class="choice">$playerGender</span> <<include "hair">> <</replace>> <</button>> </span> <span class="button-1"> <<button $gender2>> <<set $playerGender to $gender2>> <<sf>> <<replace "#gender">>$genderSentence, <span class="choice">$playerGender</span> <<include "hair">> <</replace>> <</button>> </span> <span class="button-1"> <<button $gender3>> <<set $playerGender to $gender3>> <<sf>> <<replace "#gender">>$genderSentence, <span class="choice">$playerGender</span> <<include "hair">> <</replace>> <</button>> </span> </span> </div> </div>
<<set _hairSentence = setup.hair.sentence.pluck()>> <<set _hair1 = setup.hair.types.pluck()>> <<set _hair2 = setup.hair.types.pluck()>> <<set _hair3 = setup.hair.types.pluck()>> <<set _hair4 = setup.hair.types.pluck()>> <<set _hair5 = setup.hair.types.pluck()>> <<set _hair6 = setup.hair.types.pluck()>> <<set _hair7 = setup.hair.types.pluck()>> <span id="hair"> _hairSentence... <br><br> <span class="button-1"> <<button _hair1>> <<sf>> <<set $playerHair to _hair1>> <<replace "#hair">>_hairSentence <span class="choice">$playerHair</span> <<include "eyes">> <</replace>> <</button>> </span> <span class="button-1"> <<button _hair2>> <<sf>> <<set $playerHair to _hair2>> <<replace "#hair">>_hairSentence <span class="choice">$playerHair</span> <<include "eyes">> <</replace>> <</button>> </span> <span class="button-1"> <<button _hair3>> <<sf>> <<set $playerHair to _hair3>> <<replace "#hair">>_hairSentence <span class="choice">$playerHair</span> <<include "eyes">> <</replace>> <</button>> </span> <span class="button-1"> <<button _hair4>> <<sf>> <<set $playerHair to _hair4>> <<replace "#hair">>_hairSentence <span class="choice">$playerHair</span> <<include "eyes">> <</replace>> <</button>> </span> <span class="button-1"> <<button _hair5>> <<sf>> <<set $playerHair to _hair5>> <<replace "#hair">>_hairSentence <span class="choice">$playerHair</span> <<include "eyes">> <</replace>> <</button>> </span> <span class="button-1"> <<button _hair6>> <<sf>> <<set $playerHair to _hair6>> <<replace "#hair">>_hairSentence <span class="choice">$playerHair</span> <<include "eyes">> <</replace>> <</button>> </span> <span class="button-1"> <<button _hair7>> <<sf>> <<set $playerHair to _hair7>> <<replace "#hair">>_hairSentence <span class="choice">$playerHair</span> <<include "eyes">> <</replace>> <</button>> </span> </span>
<<cacheaudio "menu" "magic00.mp3">> <<cacheaudio "song1" "magic01.mp3">> <<cacheaudio "song2" "magic02.mp3">> <<cacheaudio "song3" "magic03.mp3">> <<cacheaudio "click1" "air.mp3">> <<cacheaudio "click2" "impact_high.mp3">> <<cacheaudio "click3" "impact_low.mp3">> <<cacheaudio "click4" "impact_med.mp3">> <<cacheaudio "click5" "impact_veryhigh.mp3">> <<cacheaudio "search1" "long_high.mp3">> <<cacheaudio "search2" "long_med.mp3">> <<createplaylist "menu">> <<track "menu" volume 1>> <</createplaylist>> <<createplaylist "game">> <<track "song1" volume 1>> <<track "song2" volume 1>> <<track "song3" volume 1>> <</createplaylist>> <<set $withPlayer = [""]>> <<set $introdone = 0>> <<set $playerGender = [""]>> <<set $genderSentence = [""]>> <<set $gender1 = [""]>> <<set $gender2 = [""]>> <<set $gender3 = [""]>> <<set $gender4 = [""]>> <<set $playerHair = [""]>> <<set $hairSentence = [""]>> <<set $hair1 = [""]>> <<set $hair2 = [""]>> <<set $hair3 = [""]>> <<set $hair4 = [""]>> <<set $playerEyes = [""]>> <<set $eyesSentence = [""]>> <<set $eyes1 = [""]>> <<set $eyes2 = [""]>> <<set $eyes3 = [""]>> <<set $eyes4 = [""]>> <<set $playerClass = [""]>> <<set $classSentence = [""]>> <<set $class1 = [""]>> <<set $class2 = [""]>> <<set $class3 = [""]>> <<set $class4 = [""]>> <<set $inGame = 0>> <<set $dialogChoices = [""]>> <<newmeter 'char1Meter'>> <<colors 'green' 'red' 'white'>> <<label '$char1TrustText'>> <<sizing 100% 25px>> <</newmeter>> <<newmeter 'char2Meter'>> <<label '$char2TrustText'>> <<sizing 100% 25px>> <</newmeter>> <<newmeter 'char3Meter'>> <<label '$char3TrustText'>> <<sizing 100% 25px>> <</newmeter>> <<newmeter 'char4Meter'>> <<label '$char4TrustText'>> <<sizing 100% 25px>> <</newmeter>> <<newmeter 'char5Meter'>> <<label '$char5TrustText'>> <<sizing 100% 25px>> <</newmeter>> <<newmeter 'playerBoldness'>> <<label '$playerBoldnessText'>> <<sizing 75% 25px>> <</newmeter>> <<set $playerBoldness = 5>> <<newmeter 'playerInsight'>> <<label '$playerInsightText'>> <<sizing 75% 25px>> <</newmeter>> <<set $playerInsight = 5>> <<set $playerFamiliar = [""]>> <<set $playerFamiliarDesc = [""]>> <<set $playerClues = [""]>> <<set $withPlayer = [""]>> <<set $school = "Starsworn Academy">> <<set $rounds = 1>> <<set $dialogTarget = [""]>> <<set _charList to Array.from(setup.characters.list)>> <<set $char1Trust = 5>> <<set $char1Magic = setup.magic.types.random()>> <<set $char1Food = setup.secrets.food.types.random()>> <<set _char1Food = $char1Food>> <<set $char1FoodText = setup.secrets.food[_char1Food].random()>> <<set $char1Fear = setup.fear.types.random()>> <<set $char1FearText = setup.fear.types.random()>> <<set $char1Familiar = setup.familiar.types.random()>> <<set $char1FamiliarDesc = setup.familiar.desc.random()>> <<set $char1Habit = setup.secrets.habit.types.random()>> <<set _char1Habit = $char1Habit>> <<set $char1HabitText = setup.secrets.habit[_char1Habit].random()>> <<set $char1Appearance = setup.secrets.appearance.types.random()>> <<set _char1Appearance = $char1Appearance>> <<set $char1AppearanceText = setup.secrets.appearance[_char1Appearance].random()>> <<set $char1NameDisplay = "an aristocratic blue-skinned young man">> <<set $char1MagicDisplay = "">> <<set $char1FamiliarDisplay = "">> <<set $char1FamiliarDescDisplay = "">> <<set $char1FoodDisplay = "">> <<set $char1FearDisplay = "">> <<set $char2Trust = 3>> <<set $char2Magic = setup.magic.types.random()>> <<set $char2Food = setup.secrets.food.types.random()>> <<set _char2Food = $char2Food>> <<set $char2FoodText = setup.secrets.food[_char2Food].random()>> <<set $char2Fear = setup.fear.types.random()>> <<set $char2FearText = setup.fear.types.random()>> <<set $char2Familiar = setup.familiar.types.random()>> <<set $char2FamiliarDesc = setup.familiar.desc.random()>> <<set $char2Habit = setup.secrets.habit.types.random()>> <<set _char2Habit = $char2Habit>> <<set $char2HabitText = setup.secrets.habit[_char2Habit].random()>> <<set $char2Appearance = setup.secrets.appearance.types.random()>> <<set _char2Appearance = $char2Appearance>> <<set $char2AppearanceText = setup.secrets.appearance[_char2Appearance].random()>> <<set $char2NameDisplay = "a long-limbed thaloon">> <<set $char2MagicDisplay = "">> <<set $char2FamiliarDisplay = "">> <<set $char2FamiliarDescDisplay = "">> <<set $char2FoodDisplay = "">> <<set $char2FearDisplay = "">> <<set $char3Trust = 5>> <<set $char3Magic = setup.magic.types.random()>> <<set $char3Food = setup.secrets.food.types.random()>> <<set _char3Food = $char3Food>> <<set $char3FoodText = setup.secrets.food[_char3Food].random()>> <<set $char3Fear = setup.fear.types.random()>> <<set $char3FearText = setup.fear.types.random()>> <<set $char3Familiar = setup.familiar.types.random()>> <<set $char3FamiliarDesc = setup.familiar.desc.random()>> <<set $char3Habit = setup.secrets.habit.types.random()>> <<set _char3Habit = $char3Habit>> <<set $char3HabitText = setup.secrets.habit[_char3Habit].random()>> <<set $char3Appearance = setup.secrets.appearance.types.random()>> <<set _char3Appearance = $char3Appearance>> <<set $char3AppearanceText = setup.secrets.appearance[_char3Appearance].random()>> <<set $char3NameDisplay = "a stern-faced young woman">> <<set $char3MagicDisplay = "">> <<set $char3FamiliarDisplay = "">> <<set $char3FamiliarDescDisplay = "">> <<set $char3FoodDisplay = "">> <<set $char3FearDisplay = "">> <<set $char4Trust = 5>> <<set $char4Magic = setup.magic.types.random()>> <<set $char4Food = setup.secrets.food.types.random()>> <<set _char4Food = $char4Food>> <<set $char4FoodText = setup.secrets.food[_char4Food].random()>> <<set $char4Fear = setup.fear.types.random()>> <<set $char4FearText = setup.fear.types.random()>> <<set $char4Familiar = setup.familiar.types.random()>> <<set $char4FamiliarDesc = setup.familiar.desc.random()>> <<set $char4Habit = setup.secrets.habit.types.random()>> <<set _char4Habit = $char4Habit>> <<set $char4HabitText = setup.secrets.habit[_char4Habit].random()>> <<set $char4Appearance = setup.secrets.appearance.types.random()>> <<set _char4Appearance = $char4Appearance>> <<set $char4AppearanceText = setup.secrets.appearance[_char4Appearance].random()>> <<set $char4NameDisplay = "a mature, nimble woman">> <<set $char4MagicDisplay = "">> <<set $char4FamiliarDisplay = "">> <<set $char4FamiliarDescDisplay = "">> <<set $char4FoodDisplay = "">> <<set $char4FearDisplay = "">> <<set $char5Trust = 6>> <<set $char5Magic = setup.magic.types.random()>> <<set $char5Food = setup.secrets.food.types.random()>> <<set _char5Food = $char5Food>> <<set $char5FoodText = setup.secrets.food[_char5Food].random()>> <<set $char5Fear = setup.fear.types.random()>> <<set _char5Fear = $char5Fear>> <<set $char5FearText = setup.fear.types.random()>> <<set $char5Familiar = setup.familiar.types.random()>> <<set $char5FamiliarDesc = setup.familiar.desc.random()>> <<set $char5Habit = setup.secrets.habit.types.random()>> <<set _char5Habit = $char5Habit>> <<set $char5HabitText = setup.secrets.habit[_char5Habit].random()>> <<set $char5Appearance = setup.secrets.appearance.types.random()>> <<set _char5Appearance = $char5Appearance>> <<set $char5AppearanceText = setup.secrets.appearance[_char5Appearance].random()>> <<set $char5NameDisplay = "a redheaded, scrawny young man">> <<set $char5MagicDisplay = "">> <<set $char5FamiliarDisplay = "">> <<set $char5FamiliarDescDisplay = "">> <<set $char5FoodDisplay = "">> <<set $char5FearDisplay = "">> <<set $gChar = "char1">> <<set $gFood = '$'+_guilty+'Food'>> <<set $gMagic = '$'+_guilty+'Magic'>> <<set $gFear = '$'+_guilty+'Fear'>> <<set $gHabit = '$'+_guilty+'Habit'>> <<set $gAppearance = '$'+_guilty+'Appearance'>> <<set $gFamiliar = '$'+_guilty+'Familiar'>> <<set $gFamiliarDesc = '$'+_guilty+'Appearance'>>
<<set $eyesSentence = setup.eyes.sentence.pluck()>> <<set $eyes1 = setup.eyes.types.pluck()>> <<set $eyes2 = setup.eyes.types.pluck()>> <<set $eyes3 = setup.eyes.types.pluck()>> <<set $eyes4 = setup.eyes.types.pluck()>> <<set $eyes5 = setup.eyes.types.pluck()>> <<set $eyes6 = setup.eyes.types.pluck()>> <<set $eyes7 = setup.eyes.types.pluck()>> <span id="eyes"> $eyesSentence... <br><br> <span class="button-1"> <<button $eyes1>> <<sf>> <<set $playerEyes to $eyes1>> <<replace "#eyes">>$eyesSentence <span class="choice">$playerEyes</span>. <<include "class">> <</replace>> <</button>> </span> <span class="button-1"> <<button $eyes2>> <<sf>> <<set $playerEyes to $eyes2>> <<replace "#eyes">>$eyesSentence <span class="choice">$playerhair</span>. <<include "class">> <</replace>> <</button>> </span> <span class="button-1"> <<button $eyes3>> <<sf>> <<set $playerEyes to $eyes3>> <<replace "#eyes">>$eyesSentence <span class="choice">$playerEyes</span>. <<include "class">> <</replace>> <</button>> </span> <span class="button-1"> <<button $eyes4>> <<sf>> <<set $playerEyes to $eyes4>> <<replace "#eyes">>$eyesSentence <span class="choice">$playerEyes</span>. <<include "class">> <</replace>> <</button>> </span> <span class="button-1"> <<button $eyes5>> <<sf>> <<set $playerEyes to $eyes5>> <<replace "#eyes">>$eyesSentence <span class="choice">$playerEyes</span>. <<include "class">> <</replace>> <</button>> </span> <span class="button-1"> <<button $eyes6>> <<sf>> <<set $playerEyes to $eyes6>> <<replace "#eyes">>$eyesSentence <span class="choice">$playerEyes</span>. <<include "class">> <</replace>> <</button>> </span> <span class="button-1"> <<button $eyes7>> <<sf>> <<set $playerEyes to $eyes7>> <<replace "#eyes">>$eyesSentence <span class="choice">$playerEyes</span>. <<include "class">> <</replace>> <</button>> </span> </span>
<<set _classintro = setup.class.intro.random()>> <<set _classintro2 = setup.class.intro2.random()>> <<set _classintro3 = setup.class.intro3.random()>> <<set _classSentence1 = setup.class.sentence1.random()>> <<set _classSentence2 = setup.class.sentence2.random()>> <<set _class1 = setup.magic.types.pluck()>> <<set _class2 = setup.magic.types.pluck()>> <<set _class3 = setup.magic.types.pluck()>> <br><br> _classintro _classintro2 <span id="class"> _classSentence1... <br><br> <span class="button-1"> <<button _class1>> <<sf>> <<set $playerClass to _class1>> <<replace "#class">>_classSentence1 <span class="choice">$playerClass</span> _classSentence2 <br><br>_classintro3 <<include "onwards">> <</replace>> <</button>> </span> <span class="button-1"> <<button _class2>> <<sf>> <<set $playerClass to _class2>> <<replace "#class">>_classSentence1 <span class="choice">$playerClass</span> _classSentence2 <br><br>_classintro3 <<include "onwards">> <</replace>> <</button>> </span> <span class="button-1"> <<button _class3>> <<sf>> <<set $playerClass to _class3>> <<replace "#class">>_classsSentence1 <span class="choice">$playerClass</span> _classSentence2 <br><br>_classintro3 <<include "onwards">> <</replace>> <</button>> </span> </span>
<<set $skippedIntro = 0>> <<script>> UIBar.stow(); <</script>> <div class = "layout"> <div class="title" align="center"> <span class="titleText"> STARCROSSED</span> <br><br> <br><br> <span class="button-1"> <<button Play "Dream">><<sf>><</button>> </span> <br> <span class="button-1"> <<button "Characters">> <<sf>> <<popup 'Characters'>> <</button>> </span> <br> <span class="button-1"> <<button "Credits">> <<sf>> <<popup 'Credits'>> <</button>> </span> <br> <span class="button-1"> <<button "Random Character Creation" prebus>> <<sf>> <<set $playerGender = setup.gender.types.random()>> <<set $playerHair = setup.hair.types.random()>> <<set $playerEyes = setup.eyes.types.random()>> <<set $playerMagic = setup.magic.types.random()>> <<set $playerFamiliar = setup.familiar.types.random()>> <<set $playerFamiliarDesc = setup.familiar.desc.random()>> <<set $playerName = setup.name.types.random()>> <<set $skippedIntro = 1>> <</button>> </span> </div> </div>
<div class="layout"> <div class="h2">Art:<br> Feeshy <br><br> Audio: <br> Yazorius<br> Itch: https://yazorius.itch.io/ <br> <br><br> Design: Kate<br> Portfolio: https://kateafable.com/ <br> Itch: https://katescapedsgn.itch.io/ <br> <br><br> Programming: Loressa<br> Itch: https://loressa.itch.io/ <br> <br><br> Writing:<br> Mitchell<br> itch.io: https://itch.io/profile/polygon-native <br> Twitter: @Polygonnative<br> <br><br> Loressa<br> Itch: https://loressa.itch.io/ </div> </div>
<<script>> UIBar.stow(); <</script>> <<playlist "menu" loop play>> <div align="center"> <div class="splashContainer" align="center"> <span class="splash"> <a data-passage="Main Menu"><img class="splash" src="titlepic.png"></a> </span> </div> </div>
<div align="center"> <br> <span class="h1"> Cast of Characters </span> <br> <div class="characterLayoutLeft"> <div class="characterImage"> <img class="characterImageFit" src="char1.png" /> </div> <div class="characterText"> <span class="h1" align="center">Lord Fnarfop Yu</span> <br><br> Magic runs in his blue, blue blood. Literally. You might think this makes him an excellent student, but all the natural magic cannot help if you do not pay attention in class. Like a lot of nobles, he maintains a loftier-than-thou air, but he seems taken with your attitude so he is less irritating when you are nearby. </div> </div> <br><br> <div class="characterLayoutRight"> <div class="characterText"> <span class="h1" align="center">Adriash Honde</span> <br><br> A tall and lanky non-binary thaloon, Adriash is graceful and generally kind, but standoffish. Without wanting to profile them, thaloon are very clan-oriented, so you understand if being alone in the woods with a collection of strangers makes them anxious. A thaloon's third arm makes them usually quite strong in the somatic arts, being able to draw many sigils at once. </div> <div class="characterImage"> <img class="characterImageFit" src="char2.png" /> </div> </div> <br><br> <div class="characterLayoutLeft"> <div class="characterImage"> <img class="characterImageFit" src="char3.png" /> </div> <div class="characterText"> <span class="h1">Matiska</span> <br><br> Matiska comes from the Danne Isles, where the boats they build are hardy, and the people are even more so. She has studied the mountains and the history of the ruins, making her the de facto expert on the excursion. She does not seem very old, but she has implied that her life before joining the Academia was not 100% law-abiding. </div> </div> <br><br> <div class="characterLayoutRight"> <div class="characterText"> <span class="h1">Ersatz Atana</span> <br><br> Ersatz is the most experienced of the group, having returned to the Academia after nearly a decade of [REDACTED]. </div> <div class="characterImage"> <img class="characterImageFit" src="char4.png" /> </div> </div> <br><br> <div class="characterLayoutLeft"> <div class="characterImage"> <img class="characterImageFit" src="char5.png" /> </div> <div class="characterText"> <span class="h1">Nevry Jackson</span> <br><br> Jackson is the least experienced and youngest of the group; he looks like a red-headed scamp but he's actually really anxious and eager to please. He lacks social graces and often gets people into sticky situations, but he certainly means the best. </div> </div> <br><br> <span class="button-1"> <<button Close>><<dialogclose>><</button>> </span> </div>
<<set $playerTrustSum = $char1Trust + $char2Trust + $char3Trust + $char4Trust + $char5Trust>> <<if $char1Trust < 2>> <<set $char1TrustText = "Hostile">> <<elseif $char1Trust < 3>> <<set $char1TrustText = "Disdainful">> <<elseif $char1Trust < 6>> <<set $char1TrustText = "Aloof">> <<elseif $char1Trust < 8>> <<set $char1TrustText = "Cordial">> <<elseif $char1Trust < 10>> <<set $char1TrustText = "Benevolent">> <</if>> <<if $char2Trust < 2>> <<set $char2TrustText = "Mortal Enemy">> <<elseif $char2Trust < 4>> <<set $char2TrustText = "Wary">> <<elseif $char2Trust < 6>> <<set $char2TrustText = "Cautious">> <<elseif $char2Trust < 8>> <<set $char2TrustText = "Curious">> <<elseif $char2Trust < 10>> <<set $char2TrustText = "Acquaintance">> <</if>> <<if $char3Trust < 2>> <<set $char3TrustText = "Enemy">> <<elseif $char3Trust < 4>> <<set $char3TrustText = "Guarded">> <<elseif $char3Trust < 7>> <<set $char3TrustText = "Indifferent">> <<elseif $char3Trust < 8>> <<set $char3TrustText = "Civil">> <<elseif $char3Trust < 10>> <<set $char3TrustText = "Ally">> <</if>> <<if $char4Trust < 2>> <<set $char4TrustText = "Inscrutable">> <<elseif $char4Trust < 4>> <<set $char4TrustText = "Mysterious">> <<elseif $char4Trust < 6>> <<set $char4TrustText = "Watchful">> <<elseif $char4Trust < 8>> <<set $char4TrustText = "Tentative">> <<elseif $char4Trust < 10>> <<set $char4TrustText = "Teammate">> <</if>> <<if $char5Trust < 2>> <<set $char5TrustText = "Uncertain">> <<elseif $char5Trust < 4>> <<set $char5TrustText = "Polite">> <<elseif $char5Trust < 6>> <<set $char5TrustText = "Friend">> <<elseif $char5Trust < 8>> <<set $char5TrustText = "Close Pal">> <<elseif $char5Trust < 10>> <<set $char5TrustText = "Best Friend">> <</if>> <div class="sidebarBox" align="left"> <div class="button-2"> <<button 'Characters'>> <<popup 'Characters'>> <</button>> <br> <<button $playerName>> <<popup 'Stats'>> <</button>> <span class="button-1"> <<click "<img src='char1thumb.png' class='sidebarImage'>">> <<toggleclass "#char1Expand" "characterSidebar" align="left">> <</click>> </span> <div id="char1Expand" class="characterSidebar"> <div class="layoutSidebar"> <span class="h3"> $char1NameDisplay </span><br> <span class="h4"> Specialty: <span class="choice">$char1MagicDisplay</span> <br> Familiar: <span class="choice">$char1FamiliarDescDisplay $char1FamiliarDisplay</span> <br> Favorite food: <span class="choice">$char1FoodDisplay</span> <br> Deepest fear: <span class="choice">$char1FearDisplay</span> </span> <<showmeter 'char1Meter' `$char1Trust / 10`>> </div> </div> <br> <<click "<img src='char2thumb.png' class='sidebarImage'>">> <<toggleclass "#char2expand" "characterSidebar">> <</click>> <div id="char2expand" class="characterSidebar"> <div class="layoutSidebar"> <span class="h3"> $char2NameDisplay </span><br> <span class="h4"> Specialty: <span class="choice">$char2MagicDisplay</span> <br> Familiar: <span class="choice">$char2FamiliarDescDisplay $char2FamiliarDisplay</span> <br> Favorite food: <span class="choice">$char2FoodDisplay</span> <br> Deepest fear: <span class="choice">$char2FearDisplay</span> </span> <<showmeter 'char2Meter' `$char2Trust / 10`>> </div> </div> <br> <<click "<img src='char3thumb.png' class='sidebarImage'>">> <<toggleclass "#char3expand" "characterSidebar">> <</click>> <div id="char3expand" class="characterSidebar"> <div class="layoutSidebar"> <span class="h3"> $char3NameDisplay </span><br> <span class="h4"> Specialty: <span class="choice">$char3MagicDisplay</span> <br> Familiar: <span class="choice">$char3FamiliarDescDisplay $char3FamiliarDisplay</span> <br> Favorite food: <span class="choice">$char3FoodDisplay</span> <br> Deepest fear: <span class="choice">$char3FearDisplay</span> </span> <<showmeter 'char3Meter' `$char3Trust / 10`>> </div> </div> <br> <<click "<img src='char4thumb.png' class='sidebarImage'>">> <<toggleclass "#char4expand" "characterSidebar">> <</click>> <div id="char4expand" class="characterSidebar"> <div class="layoutSidebar"> <span class="h3"> $char4NameDisplay </span><br> <span class="h4"> Specialty: <span class="choice">$char4MagicDisplay</span> <br> Familiar: <span class="choice">$char4FamiliarDescDisplay $char4FamiliarDisplay</span> <br> Favorite food: <span class="choice">$char4FoodDisplay</span> <br> Deepest fear: <span class="choice">$char4FearDisplay</span> </span> <<showmeter 'char4Meter' `$char4Trust / 10`>> </div> </div> <br> <<click "<img src='char5thumb.png' class='sidebarImage'>">> <<toggleclass "#char5expand" "characterSidebar">> <</click>> <div id="char5expand" class="characterSidebar"> <div class="layoutSidebar"> <span class="h3"> $char5NameDisplay </span><br> <span class="h4"> Specialty: <span class="choice">$char5MagicDisplay</span> <br> Familiar: <span class="choice">$char5FamiliarDescDisplay $char5FamiliarDisplay</span> <br></span> Favorite food: <span class="choice">$char5FoodDisplay</span> <br> Deepest fear: <span class="choice">$char5FearDisplay</span> </span> <<showmeter 'char5Meter' `$char5Trust / 10`>> </div> </div> <br> <<button "Load/Save">> <<run UI.saves();>> <</button>> <br> <<button "Settings">> <<run UI.settings();>> <</button>> <br> <<button "Restart">> <<run UI.restart();>> <</button>> <br> <<button 'Credits'>> <<popup 'Credits'>> <</button>> </div> </div>
<<if $lastchoice == 1>> <<set $result = setup.intro.result1.pluck()>> <<elseif $lastchoice == 2>> <<set $result = setup.intro.result2.pluck()>> <<elseif $lastchoice == 3>> <<set $result = setup.intro.result3.pluck()>> <</if>> <<set $danger2 = setup.intro.danger2.pluck()>> <<set $wake = setup.intro.wake.pluck()>> <<set $portent = setup.intro.portent.pluck()>> <<set $center = setup.intro.center.pluck()>> <<set $center1 = setup.intro.center1.pluck()>> <<set $setting2 = setup.intro.setting2.pluck()>> <<set $setting3 = setup.intro.setting3.pluck()>> <<set $setting4 = setup.intro.setting4.pluck()>> <div class="layoutborder"> <div class="layout"> $result $danger2 <br><br> $wake $portent $center $center1 $setting2 $setting3 $setting4 <br><br> <span class="button-1"> <<button curiosity "gender">> <<sf>> <<set $playerInsight += 1>> <<set $lastchoice = 1>> <</button>> </span> <span class="button-1"> <<button doom "gender">> <<sf>> <<set $playerIntuition += 1>> <<set $lastchoice = 2>> <</button>> </span> <span class="button-1"> <<button bravery "gender">> <<sf>> <<set $playerBravery += 1>> <<set $lastchoice = 3>> <</button>> </span> </div> </div>
<<set $ritualAttempt += 1>> <<set $scene = "ritual">> <<set _scene = $scene>> <<set _t = $dialogTarget>> <<set $cTarget = setup.characters[_t]>> <div class="layout"> <<print setup[_scene].intro1.random()>> <<print setup[_scene].intro2.random()>> <<print setup[_scene].intro3.random()>> <br><br> <<if $dialogTarget == $gChar>> <<if $playerTrustSum > 35>> <<set ritualSuccess = 1>> <span class="button-1"> <<button Continue "battle">> <</button>> </span> <<else>> <<print setup[_scene].failure1.random()>> <<print setup[_scene].failureTrust.random()>> <<print setup[_scene].failureTrustHint.random()>> <br><br> <span class="button-1"> <<button Continue "loop">> <</button>> </span> <</if>> <<else>> <<print setup[_scene].failure1.random()>> <<print setup[_scene].failureTarget.random()>> <<print setup[_scene].failureTargetHint.random()>> <br><br> <span class="button-1"> <<button Continue "loop">> <</button>> </span> <</if>> </div>
<<set _run = setup.battle.choice1>> <<set _fight = setup.battle.choice2>> <<set _talk = setup.battle.choice3>> <<print setup[_scene].intro1.random()>> <<print setup[_scene].intro2.random()>> <br><br> <<print setup[_scene].intro3.random()>> <<print setup[_scene].intro4.random()>> <<print setup[_scene].intro5.random()>> <<print setup[_scene].intro5.random()>> <br><br> <<print setup[_scene].sentence1.random()>> <<print setup[_scene].sentence1.random()>> <br><br> <<print setup[_scene].ctext.random()>> <br><br> <span class="button-1"> <<button _talk "battleTalk">> <</button>> </span>
<<set $lastChoice = [""]>> <<set $scene = "bus">> <<set $nextScene = "arrival">> <<set $charChoices to Array.from($charChoiceList)>> <<set $dialogTarget = [""]>> <<set _text1 = setup.bus.intro1.random()>> <<set _text2 = setup.bus.intro2.random()>> <<set _text3 = setup.bus.intro3.random()>> <<set _text4 = setup.bus.sentence1.random()>> <<set _end = setup.roundEnd.bus.random()>> <<set _view = setup.bus.view.random()>> <<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<set $charChoiceList to Array.from($withPlayer)>> <div class="layoutAll"> <div class="layout"> _text1 _text2 _text3 <br><br> _text4 <br><br> <<include "Dialog Setup">> <span class="button-1"> <<button _view "view">> <<sf>> <</button>> </span> </div></div>
Yay you win [[Main Menu]]
Game over man, game over. [[Main Menu]]
<<set _scene = $scene>> <<set _nextScene = $nextScene>> <<if $rounds < 1>> <<set $ritualUsed = 0>> <<set _text = setup.roundEnd[_scene].random()>> <<dialog 'Round End' 'layoutBorder''layout'>> _text <<onclose>> <<goto $nextScene>> <<set $rounds = 0>> <<set $dialogTarget = [""]>> <<set $charChoiceList to Array.from(setup[_nextScene].clist)>> <</dialog>> <<else>> <<include "dialog2">> <</if>>
<<set $dismiss = 0>> <<set _scene = $scene>> <<set $dialogList to Array.from(setup[_scene].qlist)>> <<set _charList = $withPlayer>> <<set _char1 = _charList.pluck()>> <<set _choice1Text1 = setup.choiceText.default.random()>> <<set _choice1Text2 = setup.characters[_char1]>> <<set _charList = $withPlayer>> <<set _char2 = _charList.pluck()>> <<set _choice2Text1 = setup.choiceText.default.random()>> <<set _choice2Text2 = setup.characters[_char2]>> <<set _charList = $withPlayer>> <<set _char3 = _charList.pluck()>> <<set _choice3Text1 = setup.choiceText.default.random()>> <<set _choice3Text2 = setup.characters[_char3]>> <<set _charList = $withPlayer>> <<set _char4 = _charList.pluck()>> <<set _choice4Text1 = setup.choiceText.default.random()>> <<set _choice4Text2 = setup.characters[_char4]>> <<set _charList = $withPlayer>> <<set _char5 = _charList.pluck()>> <<set _choice5Text1 = setup.choiceText.default.random()>> <<set _choice5Text2 = setup.characters[_char5]>> <span class="button-1"> <<button "_choice1Text1 _choice1Text2" "Dialog">> <<sf>> <<set $dialogTarget = _char1>> <</button>> </span> <span class="button-1"> <<button "_choice2Text1 _choice2Text2" "Dialog">> <<sf>> <<set $dialogTarget = _char2>> <</button>> </span> <span class="button-1"> <<button "_choice3Text1 _choice3Text2" "Dialog">> <<sf>> <<set $dialogTarget = _char3>> <</button>> </span> <span class="button-1"> <<button "_choice4Text1 _choice4Text2" "Dialog">> <<sf>> <<set $dialogTarget = _char4>> <</button>> </span> <span class="button-1"> <<button "_choice5Text1 _choice5Text2" "Dialog">> <<sf>> <<set $dialogTarget = _char5>> <</button>> </span> <br><br>
<<set $rounds -= 1>> <<set _sceneReturn = setup.dialogLeave.default.random()>> <<set _moreQuestions = setup.dialogMore.default.random()>> <<set _char = $dialogTarget>> <<set _dialogName = setup[_char].fullname>> <<switch _char>> <<case "char1">> <<set $char1NameDisplay = setup[_char].fullname>> <<case "char2">> <<set $char2NameDisplay = setup[_char].fullname>> <<case "char3">> <<set $char3NameDisplay = setup[_char].fullname>> <<case "char4">> <<set $char4NameDisplay = setup[_char].fullname>> <<case "char5">> <<set $char5NameDisplay = setup[_char].fullname>> <</switch>> <div class="dialogBg"> <div class="characterLayoutLeft"> <div class="characterImage"> <img class="characterImageFit" @src=$dialogImg /> </div> <div class="characterText"> <span class="h1" align="center">_dialogName</span> <br><br> "$answer1" <br><br> $emote1 <br><br> <<switch $action1>> <<case "loseTrust">> <<loseTrustPopup>> <span class="choice"> <<print setup.trust.loss.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1Trust -= 1>> <<case "char2">> <<set $char2Trust -= 1>> <<case "char3">> <<set $char3Trust -= 1>> <<case "char4">> <<set $char4Trust -= 1>> <<case "char5">> <<set $char5Trust -= 1>> <</switch>> <<case "gainTrust">> <<sfsearch>> <<gainTrustPopup>> <span class="choice"> <<print setup.trust.gain.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1Trust += 1>> <<case "char2">> <<set $char2Trust += 1>> <<case "char3">> <<set $char3Trust += 1>> <<case "char4">> <<set $char4Trust += 1>> <<case "char5">> <<set $char5Trust += 1>> <</switch>> <<case "clueMagic">> <<sfsearch>> <<dialogClue>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1MagicDisplay = $char1Magic>> <<case "char2">> <<set $char2MagicDisplay = $char2Magic>> <<case "char3">> <<set $char3MagicDisplay = $char3Magic>> <<case "char4">> <<set $char4MagicDisplay = $char4Magic>> <<case "char5">> <<set $char5MagicDisplay = $char5Magic>> <</switch>> <<case "clueFood">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1FoodDisplay = $char1Food>> <<case "char2">> <<set $char2FoodDisplay = $char2Food>> <<case "char3">> <<set $char3FoodDisplay = $char3Food>> <<case "char4">> <<set $char4FoodDisplay = $char4Food>> <<case "char5">> <<set $char5FoodDisplay = $char5Food>> <</switch>> <<case "clueAppearance">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1AppearanceDisplay = $char1Appearance>> <<case "char2">> <<set $char2AppearanceDisplay = $char2Appearance>> <<case "char3">> <<set $char3AppearanceDisplay = $char3Appearance>> <<case "char4">> <<set $char4AppearanceDisplay = $char4Appearance>> <<case "char5">> <<set $char5AppearanceDisplay = $char5Appearance>> <</switch>> <<case "clueFear">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1FearDisplay = $char1Fear>> <<case "char2">> <<set $char2FearDisplay = $char2Fear>> <<case "char3">> <<set $char3FearDisplay = $char3Fear>> <<case "char4">> <<set $char4FearDisplay = $char4Fear>> <<case "char5">> <<set $char5FearDisplay = $char5Fear>> <</switch>> <<case "clueHabit">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1HabitDisplay = $char1Habit>> <<case "char2">> <<set $char2HabitDisplay = $char2Habit>> <<case "char3">> <<set $char3HabitDisplay = $char3Habit>> <<case "char4">> <<set $char4HabitDisplay = $char4Habit>> <<case "char5">> <<set $char5HabitDisplay = $char5Habit>> <</switch>> <<case "clueFamiliar">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<if _char == "char1">> <<set $char1Trust += 1>> <</if>> <<if _char == "char5">> <<set $char5Trust += 1>> <</if>> <<switch _char>> <<case "char1">> <<set $char1FamiliarDisplay = $char1Familiar>> <<set $char1FamiliarDescDisplay = $char1FamiliarDesc>> <<case "char2">> <<set $char2FamiliarDisplay = $char2Familiar>> <<set $char2FamiliarDescDisplay = $char2FamiliarDesc>> <<case "char3">> <<set $char3FamiliarDisplay = $char3Familiar>> <<set $char3FamiliarDescDisplay = $char3FamiliarDesc>> <<case "char4">> <<set $char4FamiliarDisplay = $char4Familiar>> <<set $char4FamiliarDescDisplay = $char4FamiliarDesc>> <<case "char5">> <<set $char5FamiliarDisplay = $char5Familiar>> <<set $char5FamiliarDescDisplay = $char5FamiliarDesc>> <</switch>> <</switch>> <<include "dialogEnd">> </div> </div> </div>
<span onmouseover="playSound()"> <span onmouseover="playSound()"> <span class="big-button"><<button Continue "Dream">><</button>></span></span> <<else>> <div class="button-1"> <<button Play "Dream">><</button>> </div> <</if>> <span class="button-1"><<button "Characters">> <<popup 'Characters'>> <</button>></span> <br> <span class="button-1"><<button "Credits">> <<popup 'Credits'>> <</button>></span> </span> </div> <<script>> $(document).on(':passagerender', function (event) { $(".passage").hide(0).fadeIn(2000); }); <</script>> .button-1 .macro-button:hover::before { transform: translate3d(0, 0.75em, -1em); } .button-1 .macro-button:active { background: var(--buttonBackgroundColor1); } .button-1 .macro-button:active::before { box-shadow: 0 0 0 2px var(--buttonBackgroundColor2), 0 0.25em 0 0 var(--buttonGlowColor1); } -webkit-transition: all .15s ease-in-out; transition: all .15s ease-in-out; .button-1:hover .macro-button { box-shadow: 0 0 20px 0 var(--buttonGlowColor) inset, 0 0 20px 2px var(--buttonGlowColor1); border: 3px solid var(--buttonBorderColor); } //add fade $(document).on(':passagerender', function (event) { $(".passage").hide(0).fadeIn(2000); }); // Remove outgoing elements when their opacity animation ends Config.passages.transitionOut = "opacity"; // Remove outgoing elements after 1010ms (1.01s) Config.passages.transitionOut = 1010; $(document).on(':passagestart', function (ev) { if (!ev.passage.tags.includes('noreturn')) { State.variables.return = ev.passage.title; } }); /*<span class="big-button"> <<button $choice3>> <<set $choicesSelected.push("3")>> <<if $char1trust > 5>> <<set $char1fooddisplay = $char1food>> <<replace "#choices">><i>$choice3</i><br><br>$answer3<br><br>The young nobleman fastidiously offers you a small serving of $char1food. <<include "DialogEnd">> <</replace>> <<else>> <<replace "#choices">><i>$choice3</i><br><br>$answer3 <<include "DialogEnd">> <</replace>> <</if>> <<set $char1trust += 1>> <</button>> </span> */ <<set $answer1 = setup.char1.amagic>> <<set $answer2 = setup.char1.afamiliar>> <<if $char1trust > 5>> <<set $answer3 = setup.char1.afoodtrust>> <<else>> <<set $answer3 = setup.char1.afoodnotrust>> <</if>> <<for _i = 0; _i < setup.qlist.intro.length; _i++>> <<set _temp = setup.qlist.intro[_i]>> T: _temp <<run $dialogchoices.push(setup.qlist.intro[_i])>> D: $dialogchoices <</for>> <<for _i = 0; _i < setup.characters.list.length; _i++>> <<set _temp = setup.characters.list[_i]>> <<set $count = _i>> <<click "<img src='_temp.png' class='sidebar-image'>">> <<toggleclass "#$count" "charactersidebar">> <</click>> <div id="$count" class="charactersidebar"> <span class="h2"> <<print setup[_temp].fullname>> </span><br> <<showmeter '$count'>> Specialty: $[_temp]magicdisplay <br> Familiar: $[_temp]familiardisplay <br> Favorite food: $[_temp]fooddisplay <br> Deepest fear: $[_temp]feardisplay </div> <br> <</for>> <<for _i = 0; _i < setup.qlist.intro.length; _i++>> <<set _temp = setup.qlist.intro[_i]>> <<run $dialogchoices.push(_temp)>> <</for>> $dialogchoices <<run $dialogchoices.delete($lastchoice)>> <<set _tt = setup.templatelist.random()>> <<set _template = setup.templates[_tt]>> <<set _m1 = "">> <<for _i to 0; _i lt _template.length; _i++>> <<set _m1 += " " + setup.words[_template[_i]].random()>> <</for>> <<set _m1 = _m1.toUpperFirst()>> <<if $dialogtarget == char2>> <<set $dialogimg = "$char2.png">> <<set $dialogname = setup.char2.fullname>> <</if>> <<if $dialogtarget == char3>> <<set $dialogimg = "$char3.png">> <<set $dialogname = setup.char3.fullname>> <</if>> <<if $dialogtarget == char4>> <<set $dialogimg = "$char4.png">> <<set $dialogname = setup.character4.fullname>> <</if>> <<if $dialogtarget == char5>> <<set $dialogimg = "$char5.png">> <<set $dialogname = setup.character5.fullname>> <</if>> <<switch $dialogTarget>> <<case "char1">> <<set $char1NameDisplay = _name>> <<switch $lastChoice>> <<case "magic">> <<set $char1magicdisplay = $char1magic>> <<case "food">> <<set $char1fooddisplay = $char1food>> <<case "familiar">> <<set $char1familiardisplay = $char1familiar>> <<set $char1familiarDescDisplay = $char1familiarDesc>> <<case "fear">> <<set $char1feardisplay = $char1fear>> <</switch>> <<case "char2">> <<set $char2namedisplay = _name>> <<switch $lastchoice>> <<case "magic">> <<set $char2magicdisplay = $char2magic>> <<case "food">> <<set $char2fooddisplay = $char2food>> <<case "familiar">> <<set $char2familiardisplay = $char2familiar>> <<set $char2familiarDescDisplay = $char2familiarDesc>> <<case "fear">> <<set $char2feardisplay = $char2fear>> <</switch>> <<case "char3">> <<set $char3namedisplay = _name>> <<switch $lastchoice>> <<case "magic">> <<set $char3magicdisplay = $char3magic>> <<case "food">> <<set $char3fooddisplay = $char3food>> <<case "familiar">> <<set $char3familiardisplay = $char3familiar>> <<set $char3familiarDescDisplay = $char3familiarDesc>> <<case "fear">> <<set $char3feardisplay = $char3fear>> <</switch>> <<case "char4">> <<set $char4namedisplay = _name>> <<switch $lastchoice>> <<case "magic">> <<set $char4magicdisplay = $char4magic>> <<case "food">> <<set $char4fooddisplay = $char4food>> <<case "familiar">> <<set $char4familiardisplay = $char4familiar>> <<set $char4familiarDescDisplay = $char4familiarDesc>> <<case "fear">> <<set $char4feardisplay = $char4fear>> <</switch>> <<case "char5">> <<set $char5namedisplay = _name>> <<switch $lastchoice>> <<case "magic">> <<set $char5magicdisplay = $char5magic>> <<case "food">> <<set $char5fooddisplay = $char5food>> <<case "familiar">> <<set $char5familiardisplay = $char5familiar>> <<set $char5familiarDescDisplay = $char5familiarDesc>> <<case "fear">> <<set $char2feardisplay = $char1fear>> <</switch>> <</switch>> <div class="layoutBox"> <div align="center"> <<showmeter 'playerBoldness' `$playerBoldness / 10`>> </div> </div> #ui-bar-body { background-image: url("sidebarBorder.png"); background: var(--characterBackground); background-image: url("sidebarBorder.png"); background-size: 94% 100%, cover; background-repeat: no-repeat; } <<if $charChoiceList.length == 0>> <<set _text = setup.roundEnd[_scene].random()>> <span class="button-1"> <<button _text $nextScene>> <</button>> </span>
<<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<dialogclose>> <<set $lastChoice = [""]>> <<set $rounds = 5>> <<set _scene = "arrival">> <<set $scene = "arrival">> <<set $nextScene = "ruins">> <<set $dialogTarget = [""]>> <div class="layout"> <<print setup[_scene].line1.pluck()>> <<print setup[_scene].line2.pluck()>> <<print setup[_scene].line3.pluck()>> <<print setup[_scene].line4.pluck()>> <br><br> <span class="button-1"> <<button Continue "arrival1">> <<sf>> <</button>> </span> </div>
<<if $playerBoldness < 2>> <<set $playerBoldnessText = "Timid">> <<elseif $playerBoldness < 5>> <<set $playerBoldnessText = "Cautious">> <<elseif $playerBoldness < 7>> <<set $playerBoldnessText = "Unruffled">> <<elseif $playerBoldness < 9>> <<set $playerBoldnessText = "Bold">> <<elseif $playerBoldness < 11>> <<set $playerBoldnessText = "Reckless">> <</if>> <<if $playerInsight < 2>> <<set $playerInsightText = "Obtuse">> <<elseif $playerInsight < 5>> <<set $playerInsightText = "Curious">> <<elseif $playerInsight < 7>> <<set $playerInsightText = "Aware">> <<elseif $playerInsight < 9>> <<set $playerInsightText = "Mindful">> <<elseif $playerInsight < 11>> <<set $playerInsightText = "Perceptive">> <</if>> <<if $playerGender == "her">> <<set _genderText = "A young woman">> <</if>> <<if $playerGender == "his">> <<set _genderText = "A young man">> <</if>> <<if $playerGender == "their">> <<set _genderText = "A non-binary student">> <</if>> <div class="layout"> <span class="h1"> $playerName </span> <br><br> <span class="h3"> <div class="layoutBox"> _genderText with $playerHair hair, $playerEyes eyes and $playerFamiliarDesc $playerFamiliar familiar. </div> <br><br> <div class="layoutBox" Discoveries: <br><br> <<print $playerClues>> </div> <br><br> <div align="center"> <<showmeter 'playerInsight' `$playerInsight / 10`>> </div> </span> </div>
<<set _nameChoices to Array.from(setup.name.types)>> <<set _nameintro1 = setup.name.intro1.random()>> <<set _nameintro2 = setup.name.intro2.random()>> <<set _nameintro3 = setup.name.intro3.random()>> <<set _nameSentence1 = setup.name.sentence1.random()>> <<set _nameSentence2 = setup.name.sentence2.random()>> <<set _name1 = _nameChoices.pluck()>> <<set _name2 = _nameChoices.pluck()>> <<set _name3 = _nameChoices.pluck()>> <<set _name4 = _nameChoices.pluck()>> <<set _name5 = _nameChoices.pluck()>> <<set _name6 = _nameChoices.pluck()>> <div class="layoutborder"> <div class="layout"> _nameintro1 _nameintro2 <span id="name"> _nameSentence1... <br><br> <span class="button-1"> <<button _name1 familiar>> <<sf>> <<set $playerName to _name1>> <</button>> </span> <span class="button-1"> <<button _name2 familiar>> <<sf>> <<set $playerName to _name2>> <</button>> </span> <span class="button-1"> <<button _name3 familiar>> <<sf>> <<set $playerName to _name3>> <</button>> </span> <span class="button-1"> <<button _name4 familiar>> <<sf>> <<set $playerName to _name4>> <</button>> </span> <span class="button-1"> <<button _name5 familiar>> <<sf>> <<set $playerName to _name5>> <</button>> </span> <span class="button-1"> <<button _name6 familiar>> <<sf>> <<set $playerName to _name6>> <</button>> </span> <br><br> <<set _t = "More Names">> <span class="button-1"> <<button _t "name">> <<sf>> <</button>> </span> <br><br> <span class="button-1"> <<button 'Enter your own name'>> <<sf>> <<dialog 'Custom Name' 'layout'>> Type name and press enter: <<textbox "$playerName" "" "familiar">> <</dialog>> <</button>> </span> </span> </div> </div>
<<dialogclose>> <<set _intro1 = setup.familiar.intro1.random()>> <<set _intro2 = setup.familiar.intro2.random()>> <<set _intro3 = setup.familiar.intro3.random()>> <<set _sentence1 = setup.familiar.sentence1.random()>> <<set _sentence2 = setup.familiar.sentence2.random()>> <<set _familiar1 = setup.familiar.types.pluck()>> <<set _familiar2 = setup.familiar.types.pluck()>> <<set _familiar3 = setup.familiar.types.pluck()>> <<set _familiar4 = setup.familiar.types.pluck()>> <<set _familiar5 = setup.familiar.types.pluck()>> <<set _familiar5 = setup.familiar.types.pluck()>> <<set _familiarDesc1 = setup.familiar.desc.pluck()>> <<set _familiarDesc2 = setup.familiar.desc.pluck()>> <<set _familiarDesc3 = setup.familiar.desc.pluck()>> <<set _familiarDesc4 = setup.familiar.desc.pluck()>> <<set _familiarDesc5 = setup.familiar.desc.pluck()>> <div class="layoutborder"> <div class="layout"> _intro1 _intro2 <br><br>_intro3 _sentence1 <span id="familiar"> _sentence2... <br><br> <span class="button-1"> <<button "_familiarDesc1 _familiar1">> <<sf>> <<set $playerFamiliar to _familiar1>> <<set $playerFamiliarDesc to _familiarDesc1>> <<replace "#familiar">>_sentence2 <span class="choice">$playerFamiliarDesc $playerFamiliar.</span> <<include "intro">> <</replace>> <</button>> </span> <span class="button-1"> <<button "_familiarDesc2 _familiar2">> <<sf>> <<set $playerFamiliar to _familiar2>> <<set $playerFamiliarDesc to _familiarDesc2>> <<replace "#familiar">>_sentence2 <span class="choice">$playerFamiliarDesc $playerFamiliar.</span> <<include "intro">> <</replace>> <</button>> </span> <span class="button-1"> <<button "_familiarDesc3 _familiar3">> <<sf>> <<set $playerFamiliar to _familiar3>> <<set $playerFamiliarDesc to _familiarDesc3>> <<replace "#familiar">>_sentence2 <span class="choice">$playerFamiliarDesc $playerFamiliar.</span> <<include "intro">> <</replace>> <</button>> </span> <span class="button-1"> <<button "_familiarDesc4 _familiar4">> <<sf>> <<set $playerFamiliar to _familiar4>> <<set $playerFamiliarDesc to _familiarDesc3>> <<replace "#familiar">>_sentence2 <span class="choice">$playerFamiliarDesc $playerFamiliar.</span> <<include "intro">> <</replace>> <</button>> </span> <span class="button-1"> <<button "_familiarDesc5 _familiar5">> <<sf>> <<set $playerFamiliar to _familiar5>> <<set $playerFamiliarDesc to _familiarDesc1>> <<replace "#familiar">>_sentence2 <span class="choice">$playerFamiliarDesc $playerFamiliar.</span> <<include "intro">> <</replace>> <</button>> </span> </span> </div> </div>
<<if $skippedIntro == 1>> <<audio ":playing" fadeout>> <<playlist "game" loop play>> <</if>> <<dialogclose>> <<set $introdone = 1>> <<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<set $charChoiceList to Array.from($withPlayer)>> <<include "bus">> <<set $dialogTarget = [""]>> <<set $rounds = 5>>
<<set $dismiss = 0>> <<set $scene = "cliffs">> <<set _scene = "cliffs">> <<set $dialogList to Array.from(setup[_scene].qlist)>> <<set $lastChoice = [""]>> <<set $rounds = 3>> <<set $nextScene = "forest">> <<set $dialogTarget = [""]>> <div class="layoutBorder"> <div class="layout"> <<print setup[_scene].intro1.random()>> <br><br> <<print setup[_scene].intro2.random()>> <br><br> <<print setup[_scene].sentence1.random()>> <br><br> <<set _choice1 = $withPlayer1>> <<set _choice1text = setup.characters[_choice1]>> <<set _choice2 = $withPlayer2>> <<set _choice2text = setup.characters[_choice1]>> <<set _choice3 = $withPlayer3>> <<set _choice3text = setup.characters[_choice1]>> <<set _text1 = setup.choiceText.default.random()>> <<set _text2 = setup.choiceText.default.random()>> <<set _text3 = setup.choiceText.default.random()>> <div class="button-1"> <<button "_text1 _choice1text" Dialog>> <<sf>> <<set $dialogTarget = _choice1>> <</button>> </div> <div class="button-1"> <<button "_text2 _choice2text" Dialog>> <<sf>> <<set $dialogTarget = _choice2>> <</button>> </div> <div class="button-1"> <<button "_text3 _choice3text" Dialog>> <<sf>> <<set $dialogTarget = _choice3>> <</button>> </div> </div> </div>
<<dialogclose>> <<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<set $lastChoice = [""]>> <<if hasVisited("henge") == 0>> <<set $rounds = 3>> $rounds <</if>> <<set $scene = "henge">> <<set _scene = "henge">> <<set $nextScene = "loop">> <<run $charChoiceList.delete($dialogTarget)>> <<set $charChoices to Array.from($charChoiceList)>> <<set $choiceText to Array.from(setup.choiceText.default)>> <<set $dialogTarget = [""]>> <<set _choices = setup.henge.choices.pluck()>> <div class="layout"> <<print setup[_scene].intro1.random()>> <<print setup[_scene].intro2.random()>> <<print setup[_scene].sentence1.random()>> <br><br> <span class="button-1"> <<button _choices "loop">> <<sf>> <</button>> </span> </div> <<set $rounds = 5>>
<<dialogclose>> <<set $searched = 0>> <<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<set $lastChoice = [""]>> <<set $scene = "loop">> <<set _scene = "loop">> <<set $nextScene = "loop">> <<set $choiceText to Array.from(setup.choiceText.default)>> <<set $dialogTarget = [""]>> <<set _search = setup.actions.search.choice.random()>> <<set _explore = setup.actions.explore.choice.random()>> <<set _talk = setup.actions.talk.choice.random()>> <<set _ritual = setup.ritual.choice.random()>> <div class="layout"> <<if $groupText>> $groupText <</if>> <<set $groupText = [""]>> <<print setup[_scene].scene1.random()>> <<print setup[_scene].scene2.random()>> <<print setup[_scene].scene3.random()>> <br><br> <span id="choices"> <<searchChoice>> <<exploreChoice>> <span class="button-1"> <<button _explore "explore">> <<sf>> <<set $rounds -= 1>> <<set $roundsUsed += 1>> <</button>> </span> <span class="button-1"> <<button _talk>> <<sf>> <<replace "#choices">> <<include "Dialog Setup">> <</replace>> <</button>> </span> <<if $ritualUsed == 0>> </span> <span class="button-1"> <<button _ritual "preRitual">> <<sf>> <</button>> </span> <</if>> </div>
<<dialogclose>> <<set $groupText = [""]>> <<set $lastChoice = [""]>> <<set $scene = "explore">> <<set _scene = "explore">> <<set $nextScene = "explore">> <<set $charChoices to $withPlayer>> <<exploreChoice>> <<set _group = setup.actions.talk.returnChoice.random()>> <<set $groupText = setup.actions.talk.returnText.random()>> <<set _search = setup.actions.search.choice.random()>> <div class="layout"> <<if $rounds < 1>> <<set $ritualUsed=0>> <<set _text = setup.roundEnd.search.random()>> <<dialog 'Round End' 'layoutBorder''layout'>> _text <<onclose>> <<goto "loop">> <<set $rounds = 5>> <<set $dialogTarget = [""]>> <</dialog>> <<else>> <<print setup[_scene].scene1.random()>> <<print setup[_scene].scene2.random()>> <<print setup[_scene].scene3.random()>> <<reExplore>> <br><br> <<if $searched == 0>> <span class="button-1"> <<button "Search for clues" "search">> <<sf>> <</button>> </span> <</if>> <<exploreChoice>> <span class="button-1"> <<button _explore "explore">> <<sf>> <<set $roundsUsed += 1>> <<set $searched = 0>> <</button>> </span> <span class="button-1"> <<button _group "loop">> <<sf>> <</button>> </span> <</if>> </div>
<<set $ritualUsed = 1>> <<dialogclose>> <<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<set $lastchoice = [""]>> <<set $rounds = 3>> <<set $scene = "preRitual">> <<set _scene = "preRitual">> <<set $nextscene = "ritual">> <<set _text1 = setup.choiceText.spells.random()>> <<set _text2 = setup.choiceText.spells.random()>> <<set _text3 = setup.choiceText.spells.random()>> <<set _text4 = setup.choiceText.spells.random()>> <<set _text5 = setup.choiceText.spells.random()>> <<set _choice1 = $withPlayer.pluck()>> <<set _choice2 = $withPlayer.pluck()>> <<set _choice3 = $withPlayer.pluck()>> <<set _choice4 = $withPlayer.pluck()>> <<set _choice5 = $withPlayer.pluck()>> <<set _choice1text = setup.characters[_choice1]>> <<set _choice2text = setup.characters[_choice2]>> <<set _choice3text = setup.characters[_choice3]>> <<set _choice4text = setup.characters[_choice4]>> <<set _choice5text = setup.characters[_choice5]>> <div class="layout"> <<print setup[_scene].intro1.random()>> <br><br> <<print setup[_scene].intro2.random()>> <br><br> <<print setup[_scene].sentence1.random()>> <<print setup[_scene].sentence2.random()>> <br><br> <span class="button-1"> <<button "_text1 _choice1text" ritual>> <<sf>> <<set $dialogTarget = _choice1>> <</button>> </span> <span class="button-1"> <<button "_text2 _choice2text" ritual>> <<sf>> <<set $dialogTarget = _choice2>> <</button>> </span> <span class="button-1"> <<button "_text3 _choice3text" ritual>> <<sf>> <<set $dialogTarget = _choice3>> <</button>> </span> <span class="button-1"> <<button "_text4 _choice4text" ritual>> <<set $dialogTarget = _choice4>> <</button>> </span> <span class="button-1"> <<button "_text5 _choice5text" ritual>> <<sf>> <<set $dialogTarget = _choice5>> <</button>> </span> </div>
<<script>> UIBar.unstow(); <</script>> <<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> There are several other students with you. You've never met them before. Select their portraits to learn more about them. When ready, embark upon your adventure! <br><br> <span class="button-1"> <<button "Adventure Awaits!" "prebus">> <<sf>> <</button>> </span>
<<set _run = setup.battle.choice1>> <<set _fight = setup.battle.choice2>> <<set _talk = setup.battle.choice3>> <<set _fearList = ["$gCharFear", "setup.fear.types.pluck()", "setup.fear.types.pluck()", "setup.fear.types.pluck()", "setup.fear.types.pluck()"]>> <<set _choice1 = _fearList.pluck()>> <<set _choice2 = _fearList.pluck()>> <<set _choice3 = _fearList.pluck()>> <<set _choice4 = _fearList.pluck()>> <<set _choice5 = _fearList.pluck()>> <<print setup.battle.talk1.random()>> <<print setup.battle.talk2.random()>> <<print setup.battle.talk3.random()>> <<print setup.battle.talk4.random()>> <br><br> <<print setup.battle.talk5.random()>> <<print setup.battle.talk6.random()>> <br><br> <span class="button-1"> <<button _choice1 battleTalk2>> <<sf>> <<set $lastChoice = _choice1>> <</button>> </span> <span class="button-1"> <<button _choice2 battleTalk2>> <<sf>> <<set $lastChoice = _choice2>> <</button>> </span> <span class="button-1"> <<button _choice3 battleTalk2>> <<sf>> <<set $lastChoice = _choice3>> <</button>> </span> <span class="button-1"> <<button _choice4 battleTalk2>> <<sf>> <<set $lastChoice = _choice4>> <</button>> </span> <span class="button-1"> <<button _choice5 battleTalk2>> <<sf>> <<set $lastChoice = _choice5>> <</button>> </span>
<<print setup.battle.talk7.random()>> <<print setup.battle.talk8.random()>> <<print setup.battle.talk9.random()>> <<print setup.battle.talk10.random()>> <<print setup.battle.talk11.random()>> <<print setup.battle.talk12.random()>> <br><br> <<if $lastChoice = $gFear>> <<print setup.battle.text.win.random()>> <<else>> <<print setup.battle.text.lose.random()>> <</if>> <br><br> <<print setup.battle.end.line1>> <<print setup.battle.end.line2>> <<print setup.battle.end.line3>> <br><br> <span class="button-1"> <<button Results "results">> <<sf>> <</button>> </span>
<<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<run $withPlayer.delete($gChar)>> <<set _choice1 = $withPlayer.pluck()>> <<set _choice2 = $withPlayer.pluck()>> <<set _choice3 = $withPlayer.pluck()>> <<set _choice4 = $withPlayer.pluck()>> <<set $cDead = setup.characters[_choice1]>> <<set $cDead2 = setup.characters[_choice2]>> <<set $cDead3 = setup.characters[_choice3]>> <<set $cDead4 = setup.characters[_choice4]>> <div class="layout"> <<if $ritualAttempt == 1>> <<set _endRitual = setup.end.solve.attempt1.random()>> <<else>> <<set _endRitual = setup.end.solve.attempts.random()>> <</if>> <<if $talkWin == 1>> <<set $endTalk = setup.end.battle.talkWin.random()>> <</if>> <<if $talkLose == 1>> <<set $endTalk = setup.end.battle.talkLose.random()>> <</if>> <<switch $roundsUsed>> <<case <30>> <<set _endRounds setup.end.rounds.low.random()>> <<case <40>> <<_endRounds setup.end.rounds.lowmid.random()>> <<case <50>> <<_endRounds setup.end.rounds.mid.random()>> <<case <60>> <<_endRounds setup.end.rounds.highmid.random()>> <<case >59>> <<_endRounds setup.end.rounds.high.random()>> <</switch>> <<switch $playerTrustSum>> <<case <20>> <<_endTrust setup.end.trust.low.random()>> <<case <40 >> <<_endTrust setup.end.trust.mid.random()>> <<case >39>> <<_endTrust setup.end.trust.high.random()>> <</switch>> <<set endText = _endRitual _endTalk _endRounds _endTrust>> <<run $playerLog.push(_endText)>> <span class="button-1"> <<button Main Menu "Main Menu">> <<sf>> <<set $gameDone = 1>> <</button>> </span> </div>
<<set _char = $dialogTarget>> <<set _dialogName = setup[_char].fullname>> <<switch _char>> <<case "char1">> <<set $char1NameDisplay = setup[_char].fullname>> <<case "char2">> <<set $char2NameDisplay = setup[_char].fullname>> <<case "char3">> <<set $char3NameDisplay = setup[_char].fullname>> <<case "char4">> <<set $char4NameDisplay = setup[_char].fullname>> <<case "char5">> <<set $char5NameDisplay = setup[_char].fullname>> <</switch>> <<set _charTrust = '$'+[_char]+'Trust'>> <<set $test = _charTrust>> <<set _text = setup[_char].intro.random()>> <<set $dialogImg = "" + [_char] + ".png">> <<set _dialogName = setup[_char].fullname>> <<run $dialogList.delete($lastChoice)>> <<set $dialogChoices to Array.from($dialogList)>> <div class="dialogBg"> <div class="characterLayoutLeft"> <div class="characterImage"> <img class="characterImageFit" @src=$dialogImg /> </div> <div class="layout"> <div class="characterText"> <span class="h1" align="center">_dialogName</span> </div> <<if $dialogList.length == 0>> <<set _text = setup[_char].dismiss.random()>> <<set $dismiss = 1>> <br><br> _text <br><br> <<include "dialogEnd">> <<else>> <<include "dialog3">> <</if>> </div>
<<set _char = $dialogTarget>> <<set _text = setup[_char].intro.random()>> <<set $dialogImg = "" + [_char] + ".png">> <<set _dialogName = setup[_char].fullname>> <<switch _char>> <<case "char1">> <<set _charTrust = $char1Trust>> <<case "char2">> <<set _charTrust = $char2Trust>> <<case "char3">> <<set _charTrust = $char3Trust>> <<case "char4">> <<set _charTrust = $char4Trust>> <<case "char5">> <<set _charTrust = $char5Trust>> <</switch>> <<set $dismiss = 0>> <<set _scene = $scene>> <<set $dialogList to Array.from(setup[_scene].qlist)>> <<set $choiceList = ["sQlist", "gtQlist", "ltQlist", "rQlist"]>> <<set _type = $choiceList.pluck()>> <<set _choice1 = setup[_scene][_type].random()>> <<set _choice1text = setup.questions[_choice1].random()>> <<if _charTrust < 4 >> <<set $answer1 = setup[_char].answerLow[_choice1].random()>> <<set $emote1 = setup[_char].emoteLow[_choice1].random()>> <<set $action1 = setup[_char].actionLow[_choice1].random()>> <<set $last = 1>> <</if>> <<if _charTrust < 8>> <<set $answer1 = setup[_char].answerMid[_choice1].random()>> <<set $emote1 = setup[_char].emoteMid[_choice1].random()>> <<set $action1 = setup[_char].actionMid[_choice1].random()>> <<set $last = 1>> <</if>> <<if _charTrust > 6>> <<set $answer1 = setup[_char].answerHigh[_choice1].random()>> <<set $emote1 = setup[_char].emoteHigh[_choice1].random()>> <<set $action1 = setup[_char].actionHigh[_choice1].random()>> <<set $last = 1>> <</if>> <<if $choiceList>> <<set _type = $choiceList.pluck()>> <<set _choice2 = setup[_scene][_type].random()>> <<set _choice2text = setup.questions[_choice2].random()>> <<if _charTrust < 4 >> <<set $answer2 = setup[_char].answerLow[_choice2].random()>> <<set $emote2 = setup[_char].emoteLow[_choice2].random()>> <<set $action2 = setup[_char].actionLow[_choice2].random()>> <<set $last = 2>> <</if>> <<if _charTrust < 8>> <<set $answer2 = setup[_char].answerMid[_choice2].random()>> <<set $emote2 = setup[_char].emoteMid[_choice2].random()>> <<set $action2 = setup[_char].actionMid[_choice2].random()>> <<set $last = 2>> <</if>> <<if _charTrust > 6>> <<set $answer2 = setup[_char].answerHigh[_choice2].random()>> <<set $emote2 = setup[_char].emoteHigh[_choice2].random()>> <<set $action2 = setup[_char].actionHigh[_choice2].random()>> <<set $last = 2>> <</if>> <</if>> <<if $choiceList>> <<set $choiceList = ["sQlist", "gtQlist", "ltQlist", "rQlist"]>> <<set _type = $choiceList.pluck()>> <<set _choice3 = setup[_scene][_type].random()>> <<set _choice3text = setup.questions[_choice3].random()>> <<if _charTrust < 4 >> <<set $answer3 = setup[_char].answerLow[_choice3].random()>> <<set $emote3 = setup[_char].emoteLow[_choice3].random()>> <<set $action3 = setup[_char].actionLow[_choice3].random()>> <<set $last = 3>> <</if>> <<if _charTrust < 8>> <<set $answer3 = setup[_char].answerMid[_choice3].random()>> <<set $emote3 = setup[_char].emoteMid[_choice3].random()>> <<set $action3 = setup[_char].actionMid[_choice3].random()>> <<set $last = 3>> <</if>> <<if _charTrust > 6>> <<set $answer3 = setup[_char].answerHigh[_choice3].random()>> <<set $emote3 = setup[_char].emoteHigh[_choice3].random()>> <<set $action3 = setup[_char].actionHigh[_choice3].random()>> <<set $last = 3>> <</if>> <</if>> <<if $choiceList>> <<set $choiceList = ["sQlist", "gtQlist", "ltQlist", "rQlist"]>> <<set _type = $choiceList.pluck()>> <<set _choice4 = setup[_scene][_type].random()>> <<set _choice4text = setup.questions[_choice4].random()>> <<if _charTrust < 4 >> <<set $answer4 = setup[_char].answerLow[_choice4].random()>> <<set $emote4 = setup[_char].emoteLow[_choice4].random()>> <<set $action4 = setup[_char].actionLow[_choice4].random()>> <<set $last = 4>> <</if>> <<if _charTrust < 8>> <<set $answer4 = setup[_char].answerMid[_choice4].random()>> <<set $emote4 = setup[_char].emoteMid[_choice4].random()>> <<set $action4 = setup[_char].actionMid[_choice4].random()>> <<set $last = 4>> <</if>> <<if _charTrust > 6>> <<set $answer4 = setup[_char].answerHigh[_choice4].random()>> <<set $emote4 = setup[_char].emoteHigh[_choice4].random()>> <<set $action4 = setup[_char].actionHigh[_choice4].random()>> <<set $last = 4>> <</if>> <</if>> <br><br> _text <br><br> <span id="choices"> <span class="button-1"> <<button _choice1text>> <<sf>> <<set $lastChoice = _choice1>> <<set $last = 1>> <<goto "dialogSet1">> <</button>> </span> <<if _choice2>> <span class="button-1"> <<button _choice2text>> <<sf>> <<set $lastChoice = _choice2>> <<set $last = 2>> <<goto "dialogSet2">> <</button>> </span> <</if>> <<if _choice3>> <span class="button-1"> <<button _choice3text>> <<sf>> <<set $lastChoice = _choice3>> <<set $last = 3>> <<goto "dialogSet3">> <</button>> </span> <</if>> <<if _choice4>> <span class="button-1"> <<button _choice4text>> <<sf>> <<set $lastChoice = _choice4>> <<set $last = 4>> <<goto "dialogSet4">> <</button>> </span> <</if>> </span>
<<set $rounds -= 1>> <<set _sceneReturn = setup.dialogLeave.default.random()>> <<set _moreQuestions = setup.dialogMore.default.random()>> <<set _char = $dialogTarget>> <<set _dialogName = setup[_char].fullname>> <<switch _char>> <<case "char1">> <<set $char1NameDisplay = setup[_char].fullname>> <<case "char2">> <<set $char2NameDisplay = setup[_char].fullname>> <<case "char3">> <<set $char3NameDisplay = setup[_char].fullname>> <<case "char4">> <<set $char4NameDisplay = setup[_char].fullname>> <<case "char5">> <<set $char5NameDisplay = setup[_char].fullname>> <</switch>> <div class="dialogBg"> <div class="characterLayoutLeft"> <div class="characterImage"> <img class="characterImageFit" @src=$dialogImg /> </div> <div class="characterText"> <span class="h1" align="center">_dialogName</span> <br><br> "$answer3" <br><br> $emote3 <br><br> <<switch $action3>> <<case "loseTrust">> <<loseTrustPopup>> <span class="choice"> <<print setup.trust.loss.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1Trust -= 1>> <<case "char2">> <<set $char2Trust -= 1>> <<case "char3">> <<set $char3Trust -= 1>> <<case "char4">> <<set $char4Trust -= 1>> <<case "char5">> <<set $char5Trust -= 1>> <</switch>> <<case "gainTrust">> <<sfsearch>> <<gainTrustPopup>> <span class="choice"> <<print setup.trust.gain.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1Trust += 1>> <<case "char2">> <<set $char2Trust += 1>> <<case "char3">> <<set $char3Trust += 1>> <<case "char4">> <<set $char4Trust += 1>> <<case "char5">> <<set $char5Trust += 1>> <</switch>> <<case "clueMagic">> <<sfsearch>> <<dialogClue>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1MagicDisplay = $char1Magic>> <<case "char2">> <<set $char2MagicDisplay = $char2Magic>> <<case "char3">> <<set $char3MagicDisplay = $char3Magic>> <<case "char4">> <<set $char4MagicDisplay = $char4Magic>> <<case "char5">> <<set $char5MagicDisplay = $char5Magic>> <</switch>> <<case "clueFood">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1FoodDisplay = $char1Food>> <<case "char2">> <<set $char2FoodDisplay = $char2Food>> <<case "char3">> <<set $char3FoodDisplay = $char3Food>> <<case "char4">> <<set $char4FoodDisplay = $char4Food>> <<case "char5">> <<set $char5FoodDisplay = $char5Food>> <</switch>> <<case "clueAppearance">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1AppearanceDisplay = $char1Appearance>> <<case "char2">> <<set $char2AppearanceDisplay = $char2Appearance>> <<case "char3">> <<set $char3AppearanceDisplay = $char3Appearance>> <<case "char4">> <<set $char4AppearanceDisplay = $char4Appearance>> <<case "char5">> <<set $char5AppearanceDisplay = $char5Appearance>> <</switch>> <<case "clueFear">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1FearDisplay = $char1Fear>> <<case "char2">> <<set $char2FearDisplay = $char2Fear>> <<case "char3">> <<set $char3FearDisplay = $char3Fear>> <<case "char4">> <<set $char4FearDisplay = $char4Fear>> <<case "char5">> <<set $char5FearDisplay = $char5Fear>> <</switch>> <<case "clueHabit">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1HabitDisplay = $char1Habit>> <<case "char2">> <<set $char2HabitDisplay = $char2Habit>> <<case "char3">> <<set $char3HabitDisplay = $char3Habit>> <<case "char4">> <<set $char4HabitDisplay = $char4Habit>> <<case "char5">> <<set $char5HabitDisplay = $char5Habit>> <</switch>> <<case "clueFamiliar">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<if _char == "char1">> <<set $char1Trust += 1>> <</if>> <<if _char == "char5">> <<set $char5Trust += 1>> <</if>> <<switch _char>> <<case "char1">> <<set $char1FamiliarDisplay = $char1Familiar>> <<set $char1FamiliarDescDisplay = $char1FamiliarDesc>> <<case "char2">> <<set $char2FamiliarDisplay = $char2Familiar>> <<set $char2FamiliarDescDisplay = $char2FamiliarDesc>> <<case "char3">> <<set $char3FamiliarDisplay = $char3Familiar>> <<set $char3FamiliarDescDisplay = $char3FamiliarDesc>> <<case "char4">> <<set $char4FamiliarDisplay = $char4Familiar>> <<set $char4FamiliarDescDisplay = $char4FamiliarDesc>> <<case "char5">> <<set $char5FamiliarDisplay = $char5Familiar>> <<set $char5FamiliarDescDisplay = $char5FamiliarDesc>> <</switch>> <</switch>> <<include "dialogEnd">> </div> </div> </div>
<<set $rounds -= 1>> <<set _sceneReturn = setup.dialogLeave.default.random()>> <<set _moreQuestions = setup.dialogMore.default.random()>> <<set _char = $dialogTarget>> <<set _dialogName = setup[_char].fullname>> <<switch _char>> <<case "char1">> <<set $char1NameDisplay = setup[_char].fullname>> <<case "char2">> <<set $char2NameDisplay = setup[_char].fullname>> <<case "char3">> <<set $char3NameDisplay = setup[_char].fullname>> <<case "char4">> <<set $char4NameDisplay = setup[_char].fullname>> <<case "char5">> <<set $char5NameDisplay = setup[_char].fullname>> <</switch>> <div class="dialogBg"> <div class="characterLayoutLeft"> <div class="characterImage"> <img class="characterImageFit" @src=$dialogImg /> </div> <div class="characterText"> <span class="h1" align="center">_dialogName</span> <br><br> "$answer2" <br><br> $emote2 <br><br> <<switch $action2>> <<case "loseTrust">> <<loseTrustPopup>> <span class="choice"> <<print setup.trust.loss.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1Trust -= 1>> <<case "char2">> <<set $char2Trust -= 1>> <<case "char3">> <<set $char3Trust -= 1>> <<case "char4">> <<set $char4Trust -= 1>> <<case "char5">> <<set $char5Trust -= 1>> <</switch>> <<case "gainTrust">> <<sfsearch>> <<gainTrustPopup>> <span class="choice"> <<print setup.trust.gain.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1Trust += 1>> <<case "char2">> <<set $char2Trust += 1>> <<case "char3">> <<set $char3Trust += 1>> <<case "char4">> <<set $char4Trust += 1>> <<case "char5">> <<set $char5Trust += 1>> <</switch>> <<case "clueMagic">> <<sfsearch>> <<dialogClue>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1MagicDisplay = $char1Magic>> <<case "char2">> <<set $char2MagicDisplay = $char2Magic>> <<case "char3">> <<set $char3MagicDisplay = $char3Magic>> <<case "char4">> <<set $char4MagicDisplay = $char4Magic>> <<case "char5">> <<set $char5MagicDisplay = $char5Magic>> <</switch>> <<case "clueFood">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1FoodDisplay = $char1Food>> <<case "char2">> <<set $char2FoodDisplay = $char2Food>> <<case "char3">> <<set $char3FoodDisplay = $char3Food>> <<case "char4">> <<set $char4FoodDisplay = $char4Food>> <<case "char5">> <<set $char5FoodDisplay = $char5Food>> <</switch>> <<case "clueAppearance">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1AppearanceDisplay = $char1Appearance>> <<case "char2">> <<set $char2AppearanceDisplay = $char2Appearance>> <<case "char3">> <<set $char3AppearanceDisplay = $char3Appearance>> <<case "char4">> <<set $char4AppearanceDisplay = $char4Appearance>> <<case "char5">> <<set $char5AppearanceDisplay = $char5Appearance>> <</switch>> <<case "clueFear">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1FearDisplay = $char1Fear>> <<case "char2">> <<set $char2FearDisplay = $char2Fear>> <<case "char3">> <<set $char3FearDisplay = $char3Fear>> <<case "char4">> <<set $char4FearDisplay = $char4Fear>> <<case "char5">> <<set $char5FearDisplay = $char5Fear>> <</switch>> <<case "clueHabit">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1HabitDisplay = $char1Habit>> <<case "char2">> <<set $char2HabitDisplay = $char2Habit>> <<case "char3">> <<set $char3HabitDisplay = $char3Habit>> <<case "char4">> <<set $char4HabitDisplay = $char4Habit>> <<case "char5">> <<set $char5HabitDisplay = $char5Habit>> <</switch>> <<case "clueFamiliar">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<if _char == "char1">> <<set $char1Trust += 1>> <</if>> <<if _char == "char5">> <<set $char5Trust += 1>> <</if>> <<switch _char>> <<case "char1">> <<set $char1FamiliarDisplay = $char1Familiar>> <<set $char1FamiliarDescDisplay = $char1FamiliarDesc>> <<case "char2">> <<set $char2FamiliarDisplay = $char2Familiar>> <<set $char2FamiliarDescDisplay = $char2FamiliarDesc>> <<case "char3">> <<set $char3FamiliarDisplay = $char3Familiar>> <<set $char3FamiliarDescDisplay = $char3FamiliarDesc>> <<case "char4">> <<set $char4FamiliarDisplay = $char4Familiar>> <<set $char4FamiliarDescDisplay = $char4FamiliarDesc>> <<case "char5">> <<set $char5FamiliarDisplay = $char5Familiar>> <<set $char5FamiliarDescDisplay = $char5FamiliarDesc>> <</switch>> <</switch>> <<include "dialogEnd">> </div> </div> </div>
<<set _sceneReturn = setup.dialogLeave.default.random()>> <<set _moreQuestions = setup.dialogMore.default.random()>> <<if $dismiss == 0>> <div class="button-1"> <<button "_moreQuestions" Dialog>> <<sf>> <</button>> </div> <</if>> <div class="button-1"> <<button "_sceneReturn" $scene>> <<sf>> <</button>> </div> <<set $dismiss = 0>> <<set $rounds -= 1>> <<set $roundsUsed += 1>>
<<set $withPlayer = [""]>> <<set $rounds -= 1>> <<set _scene = $scene>> <<set _nextScene = $nextScene>> <<set _convo = setup.bus.convo.random()>> <<set _view = setup.bus.view.random()>> <<set _viewList to Array.from(setup.bus.viewText)>> <<set _text1 = _viewList.pluck()>> <<set _text2 = _viewList.pluck()>> <<set _text3 = _viewList.pluck()>> <div class="layout"> _text1 _text2 _text3 <<reBus>> <br><br> <<if $rounds < 1>> <<set _text = setup.roundEnd.bus.random()>> <<dialog 'Round End' 'layoutBorder''layout'>> _text <<onclose>> <<goto $nextScene>> <<set $rounds = 0>> <<set $dialogTarget = [""]>> <<set $charChoiceList to Array.from(setup[_nextScene].clist)>> <</dialog>> <<else>> <span class="button-1"> <<button _convo "bus">> <<sf>> <</button>> </span> <span class="button-1"> <<button _view "view">> <<sf>> <</button>> </span> <</if>> </div>
<<set $roundsUsed += 1>> <div class="layoutBorder"> <div class="layout"> <<set $scene = "search">> <<set _scene = "search">> <<set $nextScene = "explore">> <<set _clue = setup.clues.items.types.random()>> <<set _clueText = setup.clues.items[_clue].random()>> <<set _search = setup.actions.search.search.random()>> <<set _discovery = setup.actions.search.success.random()>> <<set _fail = setup.actions.search.failure.random()>> <<set _text1 = setup.actions.search.done.random()>> <<set _search = setup.actions.search.choice.random()>> <<if $rounds < 1>> <<set $ritualUsed=0>> <<set _text = setup.roundEnd.search.random()>> <<dialog 'Round End' 'layoutBorder''layout'>> _text <<onclose>> <<goto $nextScene>> <<set $rounds = 5>> <<set $dialogTarget = [""]>> <</dialog>> <<else>> _search <br><br> <<set _randomEvent = random($playerInsight, 10)>> <<switch _randomEvent>> <<case 10>> <<sfsearch>> <<searchClue>> <<case 9>> <<sfsearch>> <<searchClue>> <<case 8>> _fail <<case 7>> _fail <<case 6>> _fail <<case 5>> _fail <<case 4>> _fail <<case 3>> _fail <<case 2>> _fail <<case 1>> _fail <</switch>> <br><br> <span class="button-1"> <<button Done "explore">> <<sf>> <<dialogclose>> <</button>> </span> <</if>> </div> </div> <<set $searched = 1>> <<set $rounds -= 1>> <<set $roundsUsed += 1>>
<<set $rounds -= 1>> <<set _sceneReturn = setup.dialogLeave.default.random()>> <<set _moreQuestions = setup.dialogMore.default.random()>> <<set _char = $dialogTarget>> <<set _dialogName = setup[_char].fullname>> <<switch _char>> <<case "char1">> <<set $char1NameDisplay = setup[_char].fullname>> <<case "char2">> <<set $char2NameDisplay = setup[_char].fullname>> <<case "char3">> <<set $char3NameDisplay = setup[_char].fullname>> <<case "char4">> <<set $char4NameDisplay = setup[_char].fullname>> <<case "char5">> <<set $char5NameDisplay = setup[_char].fullname>> <</switch>> <div class="dialogBg"> <div class="characterLayoutLeft"> <div class="characterImage"> <img class="characterImageFit" @src=$dialogImg /> </div> <div class="characterText"> <span class="h1" align="center">_dialogName</span> <br><br> "$answer4" <br><br> $emote4 <br><br> <<switch $action4>> <<case "loseTrust">> <<loseTrustPopup>> <span class="choice"> <<print setup.trust.loss.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1Trust -= 1>> <<case "char2">> <<set $char2Trust -= 1>> <<case "char3">> <<set $char3Trust -= 1>> <<case "char4">> <<set $char4Trust -= 1>> <<case "char5">> <<set $char5Trust -= 1>> <</switch>> <<case "gainTrust">> <<sfsearch>> <<gainTrustPopup>> <span class="choice"> <<print setup.trust.gain.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1Trust += 1>> <<case "char2">> <<set $char2Trust += 1>> <<case "char3">> <<set $char3Trust += 1>> <<case "char4">> <<set $char4Trust += 1>> <<case "char5">> <<set $char5Trust += 1>> <</switch>> <<case "clueMagic">> <<sfsearch>> <<dialogClue>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1MagicDisplay = $char1Magic>> <<case "char2">> <<set $char2MagicDisplay = $char2Magic>> <<case "char3">> <<set $char3MagicDisplay = $char3Magic>> <<case "char4">> <<set $char4MagicDisplay = $char4Magic>> <<case "char5">> <<set $char5MagicDisplay = $char5Magic>> <</switch>> <<case "clueFood">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1FoodDisplay = $char1Food>> <<case "char2">> <<set $char2FoodDisplay = $char2Food>> <<case "char3">> <<set $char3FoodDisplay = $char3Food>> <<case "char4">> <<set $char4FoodDisplay = $char4Food>> <<case "char5">> <<set $char5FoodDisplay = $char5Food>> <</switch>> <<case "clueAppearance">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1AppearanceDisplay = $char1Appearance>> <<case "char2">> <<set $char2AppearanceDisplay = $char2Appearance>> <<case "char3">> <<set $char3AppearanceDisplay = $char3Appearance>> <<case "char4">> <<set $char4AppearanceDisplay = $char4Appearance>> <<case "char5">> <<set $char5AppearanceDisplay = $char5Appearance>> <</switch>> <<case "clueFear">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1FearDisplay = $char1Fear>> <<case "char2">> <<set $char2FearDisplay = $char2Fear>> <<case "char3">> <<set $char3FearDisplay = $char3Fear>> <<case "char4">> <<set $char4FearDisplay = $char4Fear>> <<case "char5">> <<set $char5FearDisplay = $char5Fear>> <</switch>> <<case "clueHabit">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<switch _char>> <<case "char1">> <<set $char1HabitDisplay = $char1Habit>> <<case "char2">> <<set $char2HabitDisplay = $char2Habit>> <<case "char3">> <<set $char3HabitDisplay = $char3Habit>> <<case "char4">> <<set $char4HabitDisplay = $char4Habit>> <<case "char5">> <<set $char5HabitDisplay = $char5Habit>> <</switch>> <<case "clueFamiliar">> <<dialogClue>> <<sfsearch>> <span class="choice"> <<print setup.clues.convo.random()>> </span> <<if _char == "char1">> <<set $char1Trust += 1>> <</if>> <<if _char == "char5">> <<set $char5Trust += 1>> <</if>> <<switch _char>> <<case "char1">> <<set $char1FamiliarDisplay = $char1Familiar>> <<set $char1FamiliarDescDisplay = $char1FamiliarDesc>> <<case "char2">> <<set $char2FamiliarDisplay = $char2Familiar>> <<set $char2FamiliarDescDisplay = $char2FamiliarDesc>> <<case "char3">> <<set $char3FamiliarDisplay = $char3Familiar>> <<set $char3FamiliarDescDisplay = $char3FamiliarDesc>> <<case "char4">> <<set $char4FamiliarDisplay = $char4Familiar>> <<set $char4FamiliarDescDisplay = $char4FamiliarDesc>> <<case "char5">> <<set $char5FamiliarDisplay = $char5Familiar>> <<set $char5FamiliarDescDisplay = $char5FamiliarDesc>> <</switch>> <</switch>> <<include "dialogEnd">> </div> </div> </div>
<<widget "sf">> <<set _click = setup.audio.click.random()>> <<audio _click play>> <</widget>> <<widget "sfsearch">> <<set _search = setup.audio.search.random()>> <<audio _search play>> <</widget>> <<widget "searchChoice">> <<set _search = setup.actions.search.choice.random()>> <</widget>> <<widget "exploreChoice">> <<set _explore = setup.actions.explore.choice.random()>> <</widget>> <<widget "searchClue">> <<sfsearch>> <<set _clue = setup.clues.items.types.random()>> <<set _clueText = setup.clues.items[_clue].random()>> <<set _discovery = setup.actions.search.success.random()>> <<dialog 'searchSuccess 'layout'>> <div class="layout"> <span class="clue"> _discovery _clueText </span> <br><br> <span class="button-1"> <<button Done "explore">><</button>> </span> </div> <<onclose>> <<goto $nextScene>> <<set $rounds +=1 >> <</dialog>> <<run $playerClues.push(_clueText)>> <</widget>> <<widget "gainInsight">> <<sfsearch>> <<set $playerInsight += 1>> <<dialog 'Insight' 'layout'>> <div class="layout"> <span class="skill"> <<print setup.events.insightBuff.random()>> </span> <br><br> <span class="button-1"> <<button Done>><</button>> </span> </div> <</dialog>> <</widget>> <<widget "exploreClue">> <<sfsearch>> <<set _clue = setup.clues.types.random()>> <<set _clueText1 = setup.events.clueFromExplore.random()>> <<set _clueText2 = setup.clues.observations[_clue].random()>> <<run $playerClues.push(_clueText2)>> <<dialog 'Clue' 'layout'>> <div class="layout"> <span class="clue"> _clueText1 _clueText2 </span> <br><br> <span class="button-1"> <<button Done>><</button>> </span> </div> <</dialog>> <</widget>> <<widget "dialogClue">> <<sfsearch>> <<dialog 'Clue' 'layout'>> <div class="layout"> <span class="clue"> You have learned a new secret about $dialogTarget! </span> <br><br> <span class="button-1"> <<button Done>><</button>> </span> </div> <</dialog>> <</widget>> <<widget "familiarClue">> <<sfsearch>> <<set _clue = setup.clues.types.random()>> <<set _clueText1 = setup.events.clueFromFamiliar.random()>> <<set _clueText2 = setup.clues.observations[_clue].random()>> <<run $playerClues.push(_clueText2)>> <<dialog 'Clue' 'layout'>> <div class="layout"> <span class="clue"> _clueText1 _clueText2 </span> <br><br> <span class="button-1"> <<button Done>><</button>> </span> </div> <</dialog>> <</widget>> <<widget "gainTrustPopup">> <<sfsearch>> <<dialog 'Trust' 'layout'>> <div class="layout"> <span class="gainTrust"> <<print setup.events.gainTrust.random()>> </span> <br><br> <span class="button-1"> <<button Done>><</button>> </span> </div> <</dialog>> <</widget>> <<widget "loseTrustPopup">> <<sfsearch>> <<dialog 'Trust' 'layout'>> <div class="layout"> <span class="loseTrust"> <<print setup.events.loseTrust.random()>> </span> <br><br> <span class="button-1"> <<button Done>><</button>> </span> </div> <</dialog>> <</widget>> <<widget "exploreAtmo">> <<set _exploreAtmo = setup.atmos.explore.random()>> <br><br> _exploreAtmo <</widget>> <<widget "busAtmo">> <<set _busAtmo = setup.atmos.bus.random()>> <br><br> _busAtmo <</widget>> <<widget "reBus">> <<set _randomEvent = random(1, 5)>> <<switch _randomEvent>> <<case 1>> <<test123>> <<case 2>> <<busAtmo>> <<case 3>> <<busAtmo>> <<case 4>> <<busAtmo>> <<case 5>> <<busAtmo>> <</switch>> <</widget>> <<widget "reExplore">> <<set _randomEvent = random(1, 10)>> <<switch _randomEvent>> <<case 1>> <<gainInsight>> <<case 2>> <<exploreClue>> <<case 3>> <<exploreClue>> <<case 4>> <<familiarClue>> <<case 5>> <<familiarClue>> <<case 6>> <<gainInsight>> <<case 7>> <<exploreAtmo>> <<case 8>> <<exploreAtmo>> <<case 9>> <<exploreAtmo>> <<case 10>> <<exploreAtmo>> <</switch>> <</widget>>
setup.battle.talk.stuff = { types: ["reason", "encourage"], } setup.battle.talk.stuff.reason = { selectText: ["Reason with $gChar. You know they are still in there!"], answer: ["You catch a glimpse of them through the swirling darkness. It seems like they are listening!"], pickText: ["Don't give up on your dream of..."], choice1: ["$gCharDream"], choice2: ["$gCharDreamFalse1"], choice3: ["$gCharDreamFalse2"], choice4: ["$gCharDreamFalse3"], choice5: ["$gCharDreamFalse4"], } //leaving this out for now, can't think of story logic to make intimidate work setup.battle.talk.stuff.intimidate = { selectText: ["Intimidate $gChar. Threaten to expose their darkest fear."], answer: ["You hear a garbled sound in response - was that the entity or $gChar crying out?"], pickText: [""], } setup.battle.talk.stuff.encourage = { selectText: ["Soothe $gChar and encourage them to fight off their fear."], answer: ["The crawling darkness seems to pause in response - is the entity worried?"], pickText: ["You can do it! Stand up to your fear of..."], choice1: ["$gCharFear"], choice2: ["$gCharFearFalse1"], choice3: ["$gCharFearFalse2"], choice4: ["$gCharFearFalse3"], choice5: ["$gCharFearFalse4"], } //maybe add this in later for more fun, easter eggy endings setup.battle.talk.entity = { choice1: ["Address the entity"], answer1: [""], }
- add credits - clean up intro display - add more intro text variety - add character answers - verify, debug full playthrough - test balance - test victory conditions - add introdone check to main menu for random generation - add flavor text - clean up stats - add log of past games played if time: - add rock/paper/scissors word battle - add achievements - add volume toggle
“According to the spellbook, this requires utmost trust and strong bonds between each caster.”
<<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<dialogclose>> <<set $lastChoice = [""]>> <<set $rounds = 5>> <<set _scene = "arrival">> <<set $scene = "arrival">> <<set $nextScene = "ruins">> <<set $dialogTarget = [""]>> <div class="layout"> <<print setup[_scene].line5.pluck()>><<print setup[_scene].line6.pluck()>><<print setup[_scene].line7.pluck()>><<print setup[_scene].line8.pluck()>> <br><br> <span class="button-1"> <<button Continue "arrival2">> <<sf>> <</button>> </span> </div>
<<set $withPlayer = ["char1", "char2", "char3", "char4", "char5"]>> <<dialogclose>> <<set $lastChoice = [""]>> <<set $rounds = 5>> <<set _scene = "arrival">> <<set $scene = "arrival">> <<set $nextScene = "ruins">> <<set $dialogTarget = [""]>> <div class="layout"> <<print setup[_scene].line9.pluck()>><<print setup[_scene].line10.pluck()>> <br><br> <<print setup[_scene].line11.pluck()>> <<print setup[_scene].line12.pluck()>> <br><br> <<print setup[_scene].sentence1.pluck()>> <br><br> <<set _choice1 = $withPlayer.pluck()>> <<set _choice1text = setup.characters[_choice1]>> <<set _choice2 = $withPlayer.pluck()>> <<set _choice2text = setup.characters[_choice2]>> <<set _choice3 = $withPlayer.pluck()>> <<set _choice3text = setup.characters[_choice3]>> <<set _choice4 = $withPlayer.pluck()>> <<set _choice4text = setup.characters[_choice4]>> <<set _choice5 = $withPlayer.pluck()>> <<set _choice5text = setup.characters[_choice5]>> <<set _text1 = setup[_scene].ctext1.pluck()>> <<set _text2 = setup[_scene].ctext2.pluck()>> <span class="button-1"> <<button "_text1 _choice1text and _choice2text" ruins>> <<sf>> <<set $withPlayer1 = _choice1>> <<set $withPlayer2 = _choice2>> <</button>> </span> <span class="button-1"> <<button "_text2 _choice3text, _choice4text and _choice5text" cliffs>> <<sf>> <<set $withPlayer1 = _choice3>> <<set $withPlayer2 = _choice4>> <<set $withPlayer3 = _choice5>> <</button>> </span> </div>