comparison data/npcs/tetsuo.json @ 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 e1436dacca69
children 8f7bd983e394
comparison
equal deleted inserted replaced
555:b83ca72063ea 556:354f84b945f8
1 { 1 {
2 "start" : { 2 "start" : {
3 "events" : [ 3 "events" : [
4 { "matches" : "npcs.kaneda2.state != 'start'", "next": "state.joy" } 4 { "matches" : "True", "next": "state.joy" }
5 ] 5 ],
6 "on_exit": "if npcs.kaneda2.state == 'start': switch_to('kaneda2')"
6 }, 7 },
7 "joy" : { 8 "joy" : {
8 "text" : "Kaneda-san, nothing would bring me more joy.", 9 "text" : "Kaneda-san, nothing would bring me more joy.",
9 "auto_next" : "state.inspect", 10 "auto_next" : "state.inspect",
10 "on_exit" : "switch_to('kaneda2')" 11 "on_exit" : "switch_to('kaneda2')"