# HG changeset patch # User Simon Cross # Date 1302120420 -7200 # Node ID 6696ffd51ac2bc2cd00eb3d15a573fd33218451b # Parent a4c4e2f34162d115c30d886f7d142ed9ee9acbf8 Hordes of NPCs. diff -r a4c4e2f34162 -r 6696ffd51ac2 data/npcs/kaneda.json --- 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" } ] diff -r a4c4e2f34162 -r 6696ffd51ac2 data/npcs/sasuke.json --- 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" : { } diff -r a4c4e2f34162 -r 6696ffd51ac2 skaapsteker/sprites/npcs.py --- 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'