anxiety/scenes/intro.md

2.9 KiB

intro

SceneSetup.intro();

intro-play-button

(...51)

_.PLAYED_BEFORE = !!window.localStorage.continueChapter;

{{if !_.PLAYED_BEFORE}}
Game.OVERRIDE_FONT_SIZE=30;
{{/if}}

{{if !_.PLAYED_BEFORE}}
#play1# PLAY! #play2# publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act2"}}
CONTINUE: The Party publish("LOAD_GAME", ["act2"]); Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act3"}}
CONTINUE: The Other Party publish("LOAD_GAME", ["act3"]); Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act4"}}
CONTINUE: The Other Sandwich publish("LOAD_GAME", ["act4"]); Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="replay"}}
Game.OVERRIDE_FONT_SIZE=30;
{{/if}}

{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="replay"}}
#play1# REPLAY! #play2# publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

{{if _.PLAYED_BEFORE}}
Chapter Select Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

(content notes) Game.OVERRIDE_CHOICE_LINE=true; publish('show_cn');

chapter-select

publish("HACK_chselect");

I. The Sandwich publish("HACK_chselect_end"); publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;

II. The Party publish("HACK_chselect_end"); publish("LOAD_GAME", ["act2"]); Game.OVERRIDE_CHOICE_LINE=true;

{{if window.localStorage.act3}}
III. The Other Party publish("HACK_chselect_end"); publish("LOAD_GAME", ["act3"]); Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

{{if !window.localStorage.act3}}
III. The Other Party
{{/if}}

{{if window.localStorage.act4}}
IV. The Other Sandwich publish("HACK_chselect_end"); publish("LOAD_GAME", ["act4"]); Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

{{if !window.localStorage.act4}}
III. The Other Sandwich
{{/if}}

{{if window.localStorage.credits}}
V. Credits publish("HACK_chselect_end"); Game.OVERRIDE_CHOICE_LINE=true;
{{/if}}

{{if !window.localStorage.credits}}
V. Credits
{{/if}}

(main menu) publish("HACK_chselect_end"); Game.OVERRIDE_CHOICE_LINE=true;

to-credits

stopAllSounds();

(...101)

(#credits)

intro-start

(...500)

clearText()

n3: Welcome! This is less of a "game," more of an interactive story. Hope you like reading, sucka!

n3: So before we start, how would you like to read?

publish("show_options_bottom")

intro-start-2

n3: Great! Note: you can always change options with the ⚙ icon below. Also, game auto-saves at each chapter!

n3: Now, let's begin our story...

clearText()

(...1000)

publish("intro-to-game-2")

n2: THIS IS A HUMAN

(...600)

clearText()

(...300)

publish("intro-to-game-3")