Changeset 191:993f4f55eb93


Ignore:
Timestamp:
04/06/11 19:35:30 (12 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

Minor item changes.

Location:
skaapsteker/sprites
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/base.py

    r189 r191  
    7777    collides_with = set([PC_LAYER])
    7878
    79     debug_color = (240, 0, 240)
     79    portable = True
    8080
    8181    def __init__(self, pos, **opts):
     
    9191    def setup(self):
    9292        pass
     93
     94
     95    def get_debug_color(self):
     96        if self.portable:
     97            return (240, 0, 240)
     98        return (0, 0, 240)
    9399
    94100
  • skaapsteker/sprites/items.py

    r189 r191  
    1010
    1111
     12class TeaCupFull(Item):
     13    image_file = 'teacup_full.png'
     14
     15
    1216class TeaPot(Item):
    1317    image_file = 'teapot.png'
     18    portable = False
Note: See TracChangeset for help on using the changeset viewer.