comparison data/npcs/tetsuo.json @ 569:8f7bd983e394

Fix dialogue tree bug.
author Simon Cross <hodgestar@gmail.com>
date Sun, 10 Apr 2011 02:32:42 +0200
parents 354f84b945f8
children 75e955c11154
comparison
equal deleted inserted replaced
568:1ccb90397c4a 569:8f7bd983e394
15 "auto_next" : "state.inspecting", 15 "auto_next" : "state.inspecting",
16 "on_exit" : "switch_to('kaneda2')" 16 "on_exit" : "switch_to('kaneda2')"
17 }, 17 },
18 "inspecting" : { 18 "inspecting" : {
19 "events" : [ 19 "events" : [
20 { "matches" : "npcs.kaneda2.state == 'preposterous'", "next": "state.shoddy" } 20 { "matches" : "npcs.kaneda2.state != 'inspecting'", "next": "state.shoddy" }
21 ] 21 ]
22 }, 22 },
23 "shoddy" : { 23 "shoddy" : {
24 "text" : "You should speak! The shoddy nature of your goods is simply unacceptable.", 24 "text" : "You should speak! The shoddy nature of your goods is simply unacceptable.",
25 "auto_next" : "state.cheat", 25 "auto_next" : "state.cheat",