pass sound to gun
authorNeil <neil@dip.sun.ac.za>
Sat, 5 Mar 2016 20:21:34 +0000 (22:21 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 5 Mar 2016 20:21:34 +0000 (22:21 +0200)
koperkapel/weapons.py

index 0050879b068b4b22d6a7903528d4f59cfb269f6a..3962ecc96917cd14a3e7908af3dbe03485d40ea1 100644 (file)
@@ -22,7 +22,7 @@ WEAPONS = [
            image_name="blank", frames=("",), sound="fire_spit"),
     Weapon("butter_knife", damage=2),
     Weapon("crowbar", damage=4),
-    Weapon("gun", damage=4, bullet_range=4),
+    Weapon("gun", damage=4, bullet_range=4, sound='gun_fire'),
 ]
 
 WEAPON_LOOKUP = {w.name: w for w in WEAPONS}