2019-03-17 18:41:19 +00:00
|
|
|
# intro
|
|
|
|
|
2019-04-18 11:40:22 +00:00
|
|
|
`SceneSetup.intro();`
|
|
|
|
|
|
|
|
# intro-play-button
|
|
|
|
|
2019-09-06 20:25:14 +00:00
|
|
|
(...51)
|
|
|
|
|
2019-09-06 17:34:09 +00:00
|
|
|
```
|
|
|
|
_.PLAYED_BEFORE = !!window.localStorage.continueChapter;
|
|
|
|
```
|
|
|
|
|
|
|
|
{{if !_.PLAYED_BEFORE}}
|
|
|
|
`Game.OVERRIDE_FONT_SIZE=30;`
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if !_.PLAYED_BEFORE}}
|
2019-09-17 14:24:40 +00:00
|
|
|
[#play1# PLAY! #play2#](#intro-start) `publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;`
|
2019-09-06 17:34:09 +00:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act2"}}
|
2019-09-06 20:25:14 +00:00
|
|
|
[_CONTINUE_: The Party](#act2) `publish("LOAD_GAME", ["act2"]); Game.OVERRIDE_CHOICE_LINE=true;`
|
2019-09-06 17:34:09 +00:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act3"}}
|
2019-09-06 20:25:14 +00:00
|
|
|
[_CONTINUE_: The Other Party](#act3) `publish("LOAD_GAME", ["act3"]); Game.OVERRIDE_CHOICE_LINE=true;`
|
2019-09-06 17:34:09 +00:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act4"}}
|
2019-09-06 20:25:14 +00:00
|
|
|
[_CONTINUE_: The Other Sandwich](#act4) `publish("LOAD_GAME", ["act4"]); Game.OVERRIDE_CHOICE_LINE=true;`
|
2019-09-06 17:34:09 +00:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="replay"}}
|
2019-07-30 20:17:36 +00:00
|
|
|
`Game.OVERRIDE_FONT_SIZE=30;`
|
2019-09-06 17:34:09 +00:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="replay"}}
|
2019-09-17 14:24:40 +00:00
|
|
|
[#play1# REPLAY! #play2#](#intro-start) `publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;`
|
2019-09-06 17:34:09 +00:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if _.PLAYED_BEFORE}}
|
|
|
|
[Chapter Select](#chapter-select) `Game.OVERRIDE_CHOICE_LINE=true;`
|
|
|
|
{{/if}}
|
|
|
|
|
2019-09-06 20:25:14 +00:00
|
|
|
[(content notes)](#intro-play-button) `Game.OVERRIDE_CHOICE_LINE=true; publish('show_cn');`
|
2019-09-06 17:34:09 +00:00
|
|
|
|
|
|
|
# chapter-select
|
|
|
|
|
|
|
|
`publish("HACK_chselect");`
|
|
|
|
|
|
|
|
[I. The Sandwich](#intro-start) `publish("HACK_chselect_end"); publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;`
|
|
|
|
|
|
|
|
[II. The Party](#act2) `publish("HACK_chselect_end"); publish("LOAD_GAME", ["act2"]); Game.OVERRIDE_CHOICE_LINE=true;`
|
|
|
|
|
|
|
|
{{if window.localStorage.act3}}
|
|
|
|
[III. The Other Party](#act3) `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](#act4) `publish("HACK_chselect_end"); publish("LOAD_GAME", ["act4"]); Game.OVERRIDE_CHOICE_LINE=true;`
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if !window.localStorage.act4}}
|
|
|
|
[III. The Other Sandwich]()
|
|
|
|
{{/if}}
|
|
|
|
|
2019-09-06 20:25:14 +00:00
|
|
|
{{if window.localStorage.credits}}
|
2019-09-09 16:37:58 +00:00
|
|
|
[V. Credits](#to-credits) `publish("HACK_chselect_end"); Game.OVERRIDE_CHOICE_LINE=true;`
|
2019-09-06 20:25:14 +00:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if !window.localStorage.credits}}
|
|
|
|
[V. Credits]()
|
|
|
|
{{/if}}
|
2019-05-05 19:56:00 +00:00
|
|
|
|
2019-09-06 17:34:09 +00:00
|
|
|
[(main menu)](#intro-play-button) `publish("HACK_chselect_end"); Game.OVERRIDE_CHOICE_LINE=true;`
|
2019-04-18 11:40:22 +00:00
|
|
|
|
2019-09-09 16:37:58 +00:00
|
|
|
# to-credits
|
|
|
|
|
|
|
|
`stopAllSounds();`
|
|
|
|
|
|
|
|
(...101)
|
|
|
|
|
|
|
|
(#credits)
|
|
|
|
|
2019-04-18 11:40:22 +00:00
|
|
|
# intro-start
|
|
|
|
|
2019-04-29 15:35:25 +00:00
|
|
|
(...500)
|
|
|
|
|
|
|
|
`clearText()`
|
|
|
|
|
2019-09-07 21:19:53 +00:00
|
|
|
n3: Welcome! This is less of a "game," more of an interactive story. Hope you like reading, sucka!
|
2019-04-29 15:35:25 +00:00
|
|
|
|
2019-05-02 15:55:41 +00:00
|
|
|
n3: So before we start, how would *you* like to read?
|
2019-04-29 15:35:25 +00:00
|
|
|
|
|
|
|
`publish("show_options_bottom")`
|
|
|
|
|
|
|
|
# intro-start-2
|
|
|
|
|
2019-09-17 14:24:40 +00:00
|
|
|
n3: Great! Note: you can always change options with the ⚙ icon below. Also, game auto-saves at each chapter!
|
2019-04-29 15:35:25 +00:00
|
|
|
|
2019-05-02 15:55:41 +00:00
|
|
|
n3: Now, let's begin our story...
|
2019-04-24 19:42:13 +00:00
|
|
|
|
|
|
|
`clearText()`
|
2019-04-18 11:40:22 +00:00
|
|
|
|
2019-04-29 15:35:25 +00:00
|
|
|
(...1000)
|
|
|
|
|
|
|
|
`publish("intro-to-game-2")`
|
|
|
|
|
|
|
|
n2: THIS IS A HUMAN
|
2019-04-18 11:40:22 +00:00
|
|
|
|
|
|
|
(...600)
|
|
|
|
|
|
|
|
`clearText()`
|
|
|
|
|
|
|
|
(...300)
|
|
|
|
|
2019-05-06 00:53:36 +00:00
|
|
|
`publish("intro-to-game-3")`
|