From d64b708096b328e1af0623132a6791685e096e73 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 14 Apr 2020 19:40:38 -0400 Subject: [PATCH] Let the player run out into the open --- stories/geta-unaware.js | 67 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/stories/geta-unaware.js b/stories/geta-unaware.js index 7038e44..13cc041 100644 --- a/stories/geta-unaware.js +++ b/stories/geta-unaware.js @@ -81,7 +81,7 @@ }, "intro": state => { - print(["Game started", "", "Exposition goes here later."]); + print(["Game started", newline, "Exposition goes here later."]); } }, "sounds": [ @@ -150,6 +150,19 @@ ] }, + "left": { + "target": "table", + "desc": "Run out into the open", + "show": [ + + ], + "conditions": [ + + ], + "hooks": [ + + ] + }, }, "hooks": [ @@ -213,6 +226,58 @@ } } }, + "table": { + "id": "table", + "name": "Table", + "desc": "You're out in the open!", + "move": (room, state) => { + + }, + "enter": (room, state) => { + startTimer({ + id: "table-suspicion", + func: state => { + checkSuspicion(state, 1.5); + return true; + }, + delay: 100, + loop: true, + classes: [ + "free" + ] + }, state); + + }, + "exit": (room, state) => { + stopTimer("table-suspicion", state); + }, + "actions": [ + + ], + "exits": { + "right": { + "target": "pepper-grinder", + "desc": "Run back to cover", + "show": [ + + ], + "conditions": [ + + ], + "hooks": [ + + ] + }, + }, + "hooks": [ + + ], + "data": { + "stats": { + + } + } + }, "in-bowl": { "id": "in-bowl", "name": "Bowl",