Mercurial > skaapsteker
view data/npcs/ichiro.json @ 304:fed9689803ae
Start adding switch_to to ichiro.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Fri, 08 Apr 2011 23:29:55 +0200 |
parents | 74c875f7b1f5 |
children | 691278e89399 |
line wrap: on
line source
{ "start" : { "text" : "I’m telling you, Hattori. The Hayashi clan will arrive any minute now.", "events" : [ { "matches" : "world.npcs.hattori.state == 'start'", "next": "state.prepared" } ] }, "prepared" : { "text" : "It doesn’t hurt to be prepared.", "events" : [ { "matches" : "npcs.hattori.state == 'wait'", "next": "state.sitting" } ], "on_exit" : "switch_to('hattori')" }, "sitting" : { "text" : "I just don’t like sitting out in the open like this.", "events" : [ { "matches" : "npcs.hattori.state == 'relax'", "next": "state.but" } ] }, "but" : { "text" : "But-", "events" : [ { "matches" : "npcs.hattori.state == 'omm'", "next": "state.sigh" } ] }, "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.", "events" : [ { "matches" : "npcs.hattori.state == 'letsgo'", "next": "state.cannon" } ] }, "cannon" : { "text" : "What about the cannon?", "events" : [ { "matches" : "npcs.hattori.state == 'attack'", "next": "state.gone" } ] }, "gone" : { } }