# HG changeset patch # User Adrianna Pińska # Date 1302121978 -7200 # Node ID e27c45d38605c51f287029b37166c3faf799f1bd # Parent 4e3f9cb49489e32fbabc51d028dd6c9860f0caed maneki and fishmonger diff -r 4e3f9cb49489 -r e27c45d38605 data/npcs/fishmonger.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/npcs/fishmonger.json Wed Apr 06 22:32:58 2011 +0200 @@ -0,0 +1,17 @@ +{ + "start" : { + "events" : [ + { "matches" : "world.all_fishmonger_demons_dead", "next": "state.saved" } + ] + }, + "saved" : { + "text" : "Thank the deities, I am saved! If you ever need some fish, my fox friend, I’m your man.", + "auto_next": "state.salmon" + }, + "salmon" : { + "text" : "Here you go, fox. A delicious fresh salmon – I caught it just this morning.", + "auto_next": "state.done" + }, + "done" : { + } +} \ No newline at end of file diff -r 4e3f9cb49489 -r e27c45d38605 data/npcs/maneki.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/npcs/maneki.json Wed Apr 06 22:32:58 2011 +0200 @@ -0,0 +1,37 @@ +{ + "start" : { + "text" : "Greetings, fox. Ah, but you are no ordinary fox, are you?", + "events" : [ + { "matches" : "I am a kitsune.", "next": "state.thoughtasmuch" }, + { "matches" : "I’m perfectly normal.", "next": "state.sure" }, + { "matches" : "You’re not even a real cat!", "next": "state.unkind" } + ] + }, + "thoughtasmuch" : { + "text" : "Ah, I thought as much, and I bet you’ve been causing lots of trouble already.", + "auto_next": "state.anycase" + }, + "sure" : { + "text" : "Sure you are.", + "auto_next": "state.anycase" + }, + "unkind" : { + "text" : "Oh, that’s very unkind! Be careful or you might just hurt my feelings!", + "auto_next": "state.anycase" + }, + "anycase" : { + "text" : "In any case, I think somebody like you could help me out. The fishmonger’s house has been infested by demons and he can’t get out. What’s a poor cat without a delectable fish? Rescue him and I’ll give you this ratty old fox tail. I have a feeling you could use it.", + "auto_next": "state.waiting" + }, + "waiting" : { + "events" : [ + { "matches" : "world.got_salmon", "next": "state.goodjob" } + ] + }, + "goodjob" : { + "text" : "Good job, kitsune! You’re far braver than I am. And here, as promised – a fox tail!", + "auto_next": "state.yum" + }, + "yum" : { + } +} \ No newline at end of file