# HG changeset patch # User Adrianna Pińska # Date 1302124889 -7200 # Node ID d2e4fb0166279e76fe50b22769bc06ea7155e670 # Parent e2acf4663065a62922f9ddbba1e5007563da5f6a TETSUUUUUOOOOOOOOOOOOOO diff -r e2acf4663065 -r d2e4fb016627 data/npcs/kaneda2.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/npcs/kaneda2.json Wed Apr 06 23:21:29 2011 +0200 @@ -0,0 +1,43 @@ +{ + "start" : { + "text" : "Tetsuo-san, I would be delighted to conclude our business negotiation!", + "events" : [ + { "matches" : "npcs.tetsuo.state == 'joy'", "next": "state.signing" } + ] + }, + "signing" : { + "text" : "Of course, it’s just a matter of me signing the agreement.", + "events" : [ + { "matches" : "npcs.tetsuo.state == 'inspect'", "next": "state.ofcourse" } + ] + }, + "ofcourse" : { + "text" : "But of course!", + "auto_next": "state.inspecting" + }, + "inspecting" : { + "events" : [ + { "matches" : "world.agreement_disrupted", "next": "state.preposterous" } + ] + }, + "preposterous" : { + "text" : "Preposterous terms! What do you take me for, a fool?", + "events" : [ + { "matches" : "npcs.tetsuo.state == 'shoddy'", "next": "state.pah" } + ] + }, + "pah" : { + "text" : "Pah, is this how you conduct business in the country?", + "events" : [ + { "matches" : "npcs.tetsuo.state == 'cheat'", "next": "state.insult" } + ] + }, + "insult" : { + "text" : "Such insult! The deal is off!", + "events" : [ + { "matches" : "npcs.tetsuo.state == 'riddance'", "next": "state.gone" } + ] + }, + "gone" : { + } +} \ No newline at end of file diff -r e2acf4663065 -r d2e4fb016627 data/npcs/tetsuo.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/npcs/tetsuo.json Wed Apr 06 23:21:29 2011 +0200 @@ -0,0 +1,44 @@ +{ + "start" : { + "events" : [ + { "matches" : "npcs.kaneda2.state == 'start'", "next": "state.joy" } + ] + }, + "joy" : { + "text" : "Kaneda-san, nothing would bring me more joy.", + "events" : [ + { "matches" : "npcs.kaneda2.state == 'signing'", "next": "state.inspect" } + ] + }, + "inspect" : { + "text" : "Naturally, as soon as I inspect the goods.", + "events" : [ + { "matches" : "npcs.kaneda2.state == 'ofcourse'", "next": "state.inspecting" } + ] + }, + "inspecting" : { + "events" : [ + { "matches" : "npcs.kaneda2.state == 'preposterous'", "next": "state.shoddy" } + ] + }, + "shoddy" : { + "text" : "You should speak! The shoddy nature of your goods is simply unacceptable.", + "events" : [ + { "matches" : "npcs.kaneda2.state == 'pah'", "next": "state.cheat" } + ] + }, + "cheat" : { + "text" : "At least we don’t cheat our buyers with damaged goods like you city folk!", + "events" : [ + { "matches" : "npcs.kaneda2.state == 'insult'", "next": "state.riddance" } + ] + }, + "riddance" : { + "text" : "Good riddance.", + "events" : [ + { "matches" : "npcs.kaneda2.state == 'gone'", "next": "state.done" } + ] + }, + "done" : { + } +} \ No newline at end of file