view data/npcs/kaneda.json @ 197:6696ffd51ac2

Hordes of NPCs.
author Simon Cross <hodgestar@gmail.com>
date Wed, 06 Apr 2011 22:07:00 +0200
parents 897eec397cbb
children b244d01a8881
line wrap: on
line source

{
    "start" : {
        "events" : [
            { "matches" : "npcs.kumiko.state ==  'torn'", "next": "state.kumiko" }
        ]
    },
    "kumiko" : {
        "text" : "Ah, here is the fabled beauty, Kumiko.",
        "events" : [
            { "matches" : "npcs.kumiko.state ==  'kaneda'", "next": "state.tear" }
        ]
    },
    "tear" : {
        "text" : "When I heard of your legendary charm, I rushed to your home right away. It is true what they say about your radiant glow. Ah, but what’s this? A tear?",
        "events" : [
            { "matches" : "npcs.kumiko.state ==  'jumped'", "next": "state.vase" }
        ]
    },
    "vase" : {
        "text" : "Hmm, well, never mind that. Do show me around your charming home. Hmm? Is that a broken vase I see?",
        "events" : [
            { "matches" : "npcs.kumiko.state ==  'fallen'", "next": "state.hmm" }
        ]
    },
    "hmm" : {
        "text" : "Hmm.",
        "events" : [
            { "matches" : "npcs.kumiko.state ==  'shallwe'", "next": "state.smell" }
        ]
    },
    "smell" : {
        "text" : "Yes. But only if you explain that horrible smell!",
        "events" : [
            { "matches" : "npcs.kumiko.state ==  'dropped'", "next": "state.wontstand" }
        ]
    },
    "wontstand" : {
        "text" : "Kumiko-san, I won’t stand for this! A torn kimono, a house in disarray, dirt everywhere and that pungent stench. You are clearly no home maker! And to blame it all on a fox?",
        "events" : [
            { "matches" : "npcs.kumiko.state ==  'but'", "next": "state.wonthear" }
        ]
    },
    "wonthear" : {
        "text" : "I won’t hear any more from you.",
        "auto_next": "state.gone"
    },
    "gone" : {
    }
}