view data/npcs/maneki.json @ 297:2844edb6c1cc

Hook up maneki, kaneda2 and the fishmonger who were hiding in limbo (i.e. not in game.json).
author Simon Cross <hodgestar@gmail.com>
date Fri, 08 Apr 2011 22:36:03 +0200
parents e27c45d38605
children e1436dacca69
line wrap: on
line source

{
    "start" : {
        "text" : "Greetings, fox. Ah, but you are no ordinary fox, are you?",
        "choices" : [
            { "text" : "I am a kitsune.", "next": "state.thoughtasmuch" },
            { "text" : "I’m perfectly normal.", "next": "state.sure" },
            { "text" : "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.fox.item == '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" : {
    }
}