changeset 500:906fae3d3688

Hook up three more tails.
author Simon Cross <hodgestar@gmail.com>
date Sat, 09 Apr 2011 22:58:32 +0200
parents 069fc6312ab8
children 9a16483e49cb
files data/npcs/guard.json data/npcs/hattori.json data/npcs/sasuke.json
diffstat 3 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/npcs/guard.json	Sat Apr 09 22:56:02 2011 +0200
+++ b/data/npcs/guard.json	Sat Apr 09 22:58:32 2011 +0200
@@ -69,6 +69,6 @@
         "auto_next": "state.agreed"
     },
     "agreed" : {
-       "on_entry" : "npcs.guard.block = False"
+       "on_entry" : "npcs.guard.block = False; drop_item('tail_fireball')"
     }
 }
--- a/data/npcs/hattori.json	Sat Apr 09 22:56:02 2011 +0200
+++ b/data/npcs/hattori.json	Sat Apr 09 22:58:32 2011 +0200
@@ -40,5 +40,6 @@
         "auto_next": "state.gone"
     },
     "gone" : {
+        "on_entry" : "drop_item('tail_sprint')"
     }
 }
--- a/data/npcs/sasuke.json	Sat Apr 09 22:56:02 2011 +0200
+++ b/data/npcs/sasuke.json	Sat Apr 09 22:58:32 2011 +0200
@@ -4,6 +4,7 @@
         "auto_next": "state.napping"
     },
     "napping" : {
+        "text" : "Yaaawwwn!",
         "events" : [
             { "matches" : "world.missions.cannon_destroyed", "next": "state.huh" }
         ]
@@ -13,5 +14,6 @@
         "auto_next": "state.gone"
     },
     "gone" : {
+        "on_entry": "drop_item('tail_invisibility')"
     }
 }