Mercurial > skaapsteker
diff skaapsteker/sprites/items.py @ 490:0eade58a71b9
Support item dropping (specifically tails). Have monk drop tail.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 09 Apr 2011 22:28:03 +0200 |
parents | e5c060dda22a |
children | 6c21ba7de1e6 |
line wrap: on
line diff
--- a/skaapsteker/sprites/items.py Sat Apr 09 22:25:43 2011 +0200 +++ b/skaapsteker/sprites/items.py Sat Apr 09 22:28:03 2011 +0200 @@ -237,6 +237,7 @@ class Tail(Item): + image_dir = 'icons/tails/' image_file = None tail_type = None help_msg = None @@ -248,54 +249,54 @@ class ShapeshiftTail(Tail): - image_file = 'icons/tails/shapeshifted.png' + image_file = 'shapeshift.png' tail_type = 'shapeshift' help_msg = "Shapeshifting tail. Press C to shape shift." \ " Your powers are more limited while in human form." class FireballTail(Tail): - image_file = 'icons/tails/fireball.png' + image_file = 'fireball.png' tail_type = 'fireball' help_msg = "Fireball tail. The X attack key now shoots fireballs." class SprintTail(Tail): - image_file = 'icons/tails/sprint.png' + image_file = 'sprint.png' tail_type = 'sprint' help_msg = "Sprint tail. Double-tap the left or right arrow key to" \ " sprint for a few seconds." class InvisibilityTail(Tail): - image_file = 'icons/tails/invisibility.png' + image_file = 'invisibility.png' tail_type = 'invisibility' help_msg = "Invisibility tail. Press V to become invisible for a few seconds." \ " You become visible again if you attack or interact with others." class FlightTail(Tail): - image_file = 'icons/tails/flight.png' + image_file = 'flight.png' tail_type = 'flight' help_msg = "Flight tail. Double-tap up to fly. Press down while on the ground to land." \ " If you stay in the air too long you'll tire and fall." class ShieldTail(Tail): - image_file = 'icons/tails/shield.png' + image_file = 'shield.png' tail_type = 'shield' help_msg = "Shield tail. If you get hit, your mystical shield will protect you for" \ " one second. After that it'll need a little time to recharge." class StealTail(Tail): - image_file = 'icons/tails/steal.png' + image_file = 'steal.png' tail_type = 'steal' help_msg = "Life-stealing tail. If you projectiles hit your enemies, you steal some" \ " of their life." class LightningTail(Tail): - image_file = 'icons/tails/lightning.png' + image_file = 'lightning.png' tail_type = 'lightning' help_msg = "Lightning tail. The Z attack now shoots lightning bolts."