| @@ -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", | |||