view data/npcs/hattori.json @ 628:1fdfc7f03d98

Stop flying when you land.
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 07 May 2011 20:30:25 +0200
parents 9a16483e49cb
children
line wrap: on
line source

{
    "start": {
         "events" : [
             { "matches": "npcs.ichiro.state != 'start'", "next": "state.nofear" }
         ]
    },
    "nofear" : {
        "text" : "Ichiro, there is nothing to fear. Uesugi will light the signal fire if they come close.",
        "auto_next" : "state.wait",
        "on_exit" : "switch_to('ichiro')"
    },
    "wait" : {
        "text" : "There’s nothing more for us to do but sit and wait. Sasuke will arrive with our cannon in a while. We can’t take on the entire Hayashi clan without it.",
        "auto_next" : "state.relax",
        "on_exit" : "switch_to('ichiro')"
    },
    "relax" : {
        "text" : "Relax! You’re with me, the most fearsome katana in the East. We’re not moving from this spot until we have to. Besides, I need to meditate.",
        "auto_next" : "state.omm",
        "on_exit" : "switch_to('ichiro')"
    },
    "omm" : {
        "text" : "Ommmmm...",
        "auto_next" : "state.omm2",
        "on_exit" : "switch_to('ichiro')"
    },
    "omm2" : {
        "text" : "Ommmmmmmmmm....",
        "events" : [
            { "matches" : "world.missions.fire_started_on_road and npcs.ichiro.state != 'sigh'", "next": "state.letsgo" }
        ]
    },
    "letsgo" : {
        "text" : "Ha- huh? Uesugi’s fire! Let’s go!",
        "auto_next" : "state.attack",
        "on_exit" : "switch_to('ichiro')"
    },
    "attack" : {
        "text" : "It will have to catch up. Attack!",
        "auto_next": "state.gone"
    },
    "gone" : {
        "on_entry" : "drop_item('tail_sprint'); npcs.hattori.block = False"
    }
}