Mercurial > skaapsteker
view data/npcs/maneki.json @ 270:e47efa33903b
Fixed key sequence handling.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Fri, 08 Apr 2011 17:13:25 +0200 |
parents | e27c45d38605 |
children | 2844edb6c1cc |
line wrap: on
line source
{ "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" : { } }