# HG changeset patch # User Simon Cross # Date 1302393324 -7200 # Node ID 354f84b945f83460388f9d146a8c27f4b47f6633 # Parent b83ca72063ea7709cdf41d966bad9b4cf718e3c4 Allow interacting with tetsuo to trigger the start of the conversation. diff -r b83ca72063ea -r 354f84b945f8 data/npcs/tetsuo.json --- 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.",