annotate data/npcs/ichiro.json @ 193:897eec397cbb

Fix state checks for hattori, ichiro, kaneda and kumiko. In the process provide easier access to other npcs.
author Simon Cross <hodgestar@gmail.com>
date Wed, 06 Apr 2011 21:44:54 +0200
parents a7cdf8458edd
children 74c875f7b1f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
179
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
1 {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
2 "start" : {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
3 "text" : "I’m telling you, Hattori. The Hayashi clan will arrive any minute now.",
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
4 "events" : [
193
897eec397cbb Fix state checks for hattori, ichiro, kaneda and kumiko. In the process provide easier access to other npcs.
Simon Cross <hodgestar@gmail.com>
parents: 179
diff changeset
5 { "matches" : "world.npcs.hattori.state == 'start'", "next": "state.prepared" }
179
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
6 ]
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
7 },
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
8 "prepared" : {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
9 "text" : "It doesn’t hurt to be prepared.",
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
10 "events" : [
193
897eec397cbb Fix state checks for hattori, ichiro, kaneda and kumiko. In the process provide easier access to other npcs.
Simon Cross <hodgestar@gmail.com>
parents: 179
diff changeset
11 { "matches" : "npcs.hattori.state == 'wait'", "next": "state.sitting" }
179
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
12 ]
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
13 },
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
14 "sitting" : {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
15 "text" : "I just don’t like sitting out in the open like this.",
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
16 "events" : [
193
897eec397cbb Fix state checks for hattori, ichiro, kaneda and kumiko. In the process provide easier access to other npcs.
Simon Cross <hodgestar@gmail.com>
parents: 179
diff changeset
17 { "matches" : "npcs.hattori.state == 'relax'", "next": "state.but" }
179
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
18 ]
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
19 },
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
20 "but" : {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
21 "text" : "But-",
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
22 "events" : [
193
897eec397cbb Fix state checks for hattori, ichiro, kaneda and kumiko. In the process provide easier access to other npcs.
Simon Cross <hodgestar@gmail.com>
parents: 179
diff changeset
23 { "matches" : "npcs.hattori.state == 'omm'", "next": "state.sigh" }
179
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
24 ]
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
25 },
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
26 "sigh" : {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
27 "text" : "Sigh.",
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
28 "events" : [
193
897eec397cbb Fix state checks for hattori, ichiro, kaneda and kumiko. In the process provide easier access to other npcs.
Simon Cross <hodgestar@gmail.com>
parents: 179
diff changeset
29 { "matches" : "world.fire_started", "next": "state.wakeup" }
179
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
30 ]
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
31 },
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
32 "wakeup" : {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
33 "text" : "Hattori, wake up! Look! Smoke coming over the rise.",
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
34 "events" : [
193
897eec397cbb Fix state checks for hattori, ichiro, kaneda and kumiko. In the process provide easier access to other npcs.
Simon Cross <hodgestar@gmail.com>
parents: 179
diff changeset
35 { "matches" : "npcs.hattori.state == 'letsgo'", "next": "state.cannon" }
179
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
36 ]
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
37 },
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
38 "cannon" : {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
39 "text" : "What about the cannon?",
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
40 "events" : [
193
897eec397cbb Fix state checks for hattori, ichiro, kaneda and kumiko. In the process provide easier access to other npcs.
Simon Cross <hodgestar@gmail.com>
parents: 179
diff changeset
41 { "matches" : "npcs.hattori.state == 'attack'", "next": "state.gone" }
179
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
42 ]
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
43 },
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
44 "gone" : {
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
45 }
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
46 }