changeset 310:50b8c8372ff2

Conversations needs dummy start states for the responding party so that things can be kicked off directly.
author Simon Cross <hodgestar@gmail.com>
date Sat, 09 Apr 2011 00:26:24 +0200
parents 342e30c92a85
children 5250c77b352a
files data/npcs/hattori.json
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/npcs/hattori.json	Sat Apr 09 00:20:11 2011 +0200
+++ b/data/npcs/hattori.json	Sat Apr 09 00:26:24 2011 +0200
@@ -1,5 +1,10 @@
 {
-    "start" : {
+    "start": {
+         "events" : [
+             { "matches": "npcs.ichiro.state != 'start'", "next": "state.nofear" }
+         ]
+    },
+    "nofear" : {
         "text" : "Ichiro, there is nothing to fear. Uesugi will light the signal fire if they come close.",
         "auto_next" : "state.wait",
         "on_exit" : "switch_to('ichiro')"