Mercurial > skaapsteker
comparison skaapsteker/sprites/items.py @ 559:c4b14a517500
Parital geisha mission
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sun, 10 Apr 2011 01:59:40 +0200 |
parents | 40a104ca0a69 |
children | 488cad3bd62b |
comparison
equal
deleted
inserted
replaced
558:aa01ca54dce2 | 559:c4b14a517500 |
---|---|
220 broken_image_file = 'props/vase-broken.png' | 220 broken_image_file = 'props/vase-broken.png' |
221 breaking_sound = 'sounds/vase breaking.ogg', 0.1 | 221 breaking_sound = 'sounds/vase breaking.ogg', 0.1 |
222 | 222 |
223 liftable = False | 223 liftable = False |
224 | 224 |
225 def smash(self): | |
226 if not self._me.broken: | |
227 notify('Oh no, my beautiful vase! What will the businessman think ' | |
228 'to see it broken on the floor?') | |
229 super(Vase, self).smash() | |
230 | |
225 | 231 |
226 class Salmon(Item): | 232 class Salmon(Item): |
227 image_file = 'props/fish.png' | 233 image_file = 'props/fish.png' |
228 | 234 |
229 | 235 |