annotate data/npcs/hattori.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 691278e89399
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" : "Ichiro, there is nothing to fear. Uesugi will light the signal fire if they come close.",
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" : "npcs.ichiro.state == 'prepared'", "next": "state.wait" }
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 "wait" : {
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" : "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.",
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.ichiro.state == 'sitting'", "next": "state.relax" }
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 "relax" : {
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" : "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.",
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.ichiro.state == 'but'", "next": "state.omm" }
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 "omm" : {
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" : "Ommmmm...",
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.ichiro.state == 'wakeup'", "next": "state.letsgo" }
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 "letsgo" : {
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" : "Ha- huh? Uesugi’s fire! Let’s go!",
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" : "npcs.ichiro.state == 'cannon'", "next": "state.attack" }
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 "attack" : {
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" : "It will have to catch up. Attack!",
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
34 "auto_next": "state.gone"
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
35 },
a7cdf8458edd ichiro and hattori, plus stuff for querying npc state from the world
Adrianna Pińska <adrianna.pinska@gmail.com>
parents:
diff changeset
36 "gone" : {
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 }