Mercurial > skaapsteker
changeset 197:6696ffd51ac2
Hordes of NPCs.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Wed, 06 Apr 2011 22:07:00 +0200 |
parents | a4c4e2f34162 |
children | 4e7ca5cf57fa |
files | data/npcs/kaneda.json data/npcs/sasuke.json skaapsteker/sprites/npcs.py |
diffstat | 3 files changed, 25 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/data/npcs/kaneda.json Wed Apr 06 22:06:45 2011 +0200 +++ b/data/npcs/kaneda.json Wed Apr 06 22:07:00 2011 +0200 @@ -6,7 +6,6 @@ }, "kumiko" : { "text" : "Ah, here is the fabled beauty, Kumiko.", - "auto_next": "state." "events" : [ { "matches" : "npcs.kumiko.state == 'kaneda'", "next": "state.tear" } ]
--- a/data/npcs/sasuke.json Wed Apr 06 22:06:45 2011 +0200 +++ b/data/npcs/sasuke.json Wed Apr 06 22:07:00 2011 +0200 @@ -10,7 +10,7 @@ }, "huh" : { "text" : "Huh? What was that noise? Did I hear a- AI! What’s this? My cannon – destroyed! When Hattori hears about this, he’s going to be livid. Erm, it might be best if I, uh, hide out for a bit...", - "auto_next": "state.gone", + "auto_next": "state.gone" }, "gone" : { }
--- a/skaapsteker/sprites/npcs.py Wed Apr 06 22:06:45 2011 +0200 +++ b/skaapsteker/sprites/npcs.py Wed Apr 06 22:07:00 2011 +0200 @@ -7,3 +7,27 @@ class Guard(NPC): image_file = 'guard/guard_standing.png' + + +class Hattori(NPC): + image_file = 'hattori/hattori_standing.png' + + +class Ichiro(NPC): + image_file = 'ichiro/ichiro_standing.png' + + +class Kaneda(NPC): + image_file = 'kaneda/kaneda_standing.png' + + +class Kumiko(NPC): + image_file = 'geisha/geisha_01.png' + + +class Actor(NPC): + image_file = 'dummy.png' + + +class Sasuke(NPC): + image_file = 'sasuke/sasuke_standing.png'