view data/npcs/kaneda2.json @ 274:e006ec7b3d8f

proper levels
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Fri, 08 Apr 2011 19:12:44 +0200
parents d2e4fb016627
children 2844edb6c1cc
line wrap: on
line source

{
    "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" : {
    }
}