# HG changeset patch # User Simon Cross # Date 1302298195 -7200 # Node ID fed9689803aefb512b312e43cd73186634fe6999 # Parent e94f89b7ec5b239a2cde7efe64435553aebe89df Start adding switch_to to ichiro. diff -r e94f89b7ec5b -r fed9689803ae data/npcs/ichiro.json --- a/data/npcs/ichiro.json Fri Apr 08 23:29:37 2011 +0200 +++ b/data/npcs/ichiro.json Fri Apr 08 23:29:55 2011 +0200 @@ -9,7 +9,8 @@ "text" : "It doesn’t hurt to be prepared.", "events" : [ { "matches" : "npcs.hattori.state == 'wait'", "next": "state.sitting" } - ] + ], + "on_exit" : "switch_to('hattori')" }, "sitting" : { "text" : "I just don’t like sitting out in the open like this.",