Mercurial > skaapsteker
comparison data/npcs/ichiro.json @ 179:a7cdf8458edd
ichiro and hattori, plus stuff for querying npc state from the world
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Wed, 06 Apr 2011 19:39:46 +0200 |
parents | |
children | 897eec397cbb |
comparison
equal
deleted
inserted
replaced
178:164c30a7b776 | 179:a7cdf8458edd |
---|---|
1 { | |
2 "start" : { | |
3 "text" : "I’m telling you, Hattori. The Hayashi clan will arrive any minute now.", | |
4 "events" : [ | |
5 { "matches" : "world.npc_is('hattori', 'start')", "next": "state.prepared" } | |
6 ] | |
7 }, | |
8 "prepared" : { | |
9 "text" : "It doesn’t hurt to be prepared.", | |
10 "events" : [ | |
11 { "matches" : "world.npc_is('hattori', 'wait')", "next": "state.sitting" } | |
12 ] | |
13 }, | |
14 "sitting" : { | |
15 "text" : "I just don’t like sitting out in the open like this.", | |
16 "events" : [ | |
17 { "matches" : "world.npc_is('hattori', 'relax')", "next": "state.but" } | |
18 ] | |
19 }, | |
20 "but" : { | |
21 "text" : "But-", | |
22 "events" : [ | |
23 { "matches" : "world.npc_is('hattori', 'omm')", "next": "state.sigh" } | |
24 ] | |
25 }, | |
26 "sigh" : { | |
27 "text" : "Sigh.", | |
28 "events" : [ | |
29 { "matches" : "world.fire_started()", "next": "state.wakeup" } | |
30 ] | |
31 }, | |
32 "wakeup" : { | |
33 "text" : "Hattori, wake up! Look! Smoke coming over the rise.", | |
34 "events" : [ | |
35 { "matches" : "world.npc_is('hattori', 'letsgo')", "next": "state.cannon" } | |
36 ] | |
37 }, | |
38 "cannon" : { | |
39 "text" : "What about the cannon?", | |
40 "events" : [ | |
41 { "matches" : "world.npc_is('hattori', 'attack')", "next": "state.gone" } | |
42 ] | |
43 }, | |
44 "gone" : { | |
45 } | |
46 } |