changeset 556:354f84b945f8

Allow interacting with tetsuo to trigger the start of the conversation.
author Simon Cross <hodgestar@gmail.com>
date Sun, 10 Apr 2011 01:55:24 +0200
parents b83ca72063ea
children e648501c2eea
files data/npcs/tetsuo.json
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/npcs/tetsuo.json	Sun Apr 10 01:54:58 2011 +0200
+++ b/data/npcs/tetsuo.json	Sun Apr 10 01:55:24 2011 +0200
@@ -1,8 +1,9 @@
 {
     "start" : {
         "events" : [
-            { "matches" : "npcs.kaneda2.state !=  'start'", "next": "state.joy" }
-        ]
+            { "matches" : "True", "next": "state.joy" }
+        ],
+        "on_exit": "if npcs.kaneda2.state == 'start': switch_to('kaneda2')"
     },
     "joy" : {
         "text" : "Kaneda-san, nothing would bring me more joy.",