view data/npcs/ichiro.json @ 305:691278e89399

Link up hattori's and ichiro's conversation.
author Simon Cross <hodgestar@gmail.com>
date Fri, 08 Apr 2011 23:51:20 +0200
parents fed9689803ae
children 9a16483e49cb
line wrap: on
line source

{
    "start" : {
        "text" : "I’m telling you, Hattori. The Hayashi clan will arrive any minute now.",
        "auto_next" : "state.prepared",
        "on_exit" : "switch_to('hattori')"
    },
    "prepared" : {
        "text" : "It doesn’t hurt to be prepared.",
        "auto_next" : "state.sitting",
        "on_exit" : "switch_to('hattori')"
    },
    "sitting" : {
        "text" : "I just don’t like sitting out in the open like this.",
        "auto_next" : "state.but",
        "on_exit" : "switch_to('hattori')"
    },
    "but" : {
        "text" : "But-",
        "auto_next" : "state.sigh",
        "on_exit": "switch_to('hattori')"
    },
    "sigh" : {
        "text" : "Sigh.",
        "events" : [
            { "matches" : "world.missions.fire_started_on_road", "next": "state.wakeup" }
        ]
    },
    "wakeup" : {
        "text" : "Hattori, wake up! Look! Smoke coming over the rise.",
        "auto_next" : "state.cannon",
        "on_exit" : "switch_to('hattori')"
    },
    "cannon" : {
        "text" : "What about the cannon?",
        "auto_next" : "state.gone",
        "on_exit" : "switch_to('hattori')"
    },
    "gone" : {
    }
}