| @@ -75,7 +75,7 @@ function init(story) { | |||||
| }, | }, | ||||
| flags: { | flags: { | ||||
| } | } | ||||
| }, | }, | ||||
| }; | }; | ||||
| @@ -90,6 +90,8 @@ function init(story) { | |||||
| refreshHook = story.refresh; | refreshHook = story.refresh; | ||||
| story.intro.intro(state); | |||||
| goToRoom(story.intro.start, state); | goToRoom(story.intro.start, state); | ||||
| } | } | ||||
| @@ -5,6 +5,9 @@ stories.push({ | |||||
| "start": "Home", | "start": "Home", | ||||
| "setup": state => { | "setup": state => { | ||||
| }, | |||||
| "intro": state => { | |||||
| print(["don't fall down the stairs ok"]); | |||||
| } | } | ||||
| }, | }, | ||||
| "sounds": [ | "sounds": [ | ||||
| @@ -76,6 +76,9 @@ stories.push({ | |||||
| "alive" | "alive" | ||||
| ] | ] | ||||
| }, state); | }, state); | ||||
| }, | |||||
| intro: state => { | |||||
| print(["Hot, slimy walls ripple and squeeze, the stomach of your captor stewing you in a churning stew of chyme and acid. You've only been trapped under the crux's pelt for a few minutes...and it doesn't seem like you'll last much longer than that, either."]); | |||||
| } | } | ||||
| }, | }, | ||||
| refresh: state => { | refresh: state => { | ||||