Changeset 567:488cad3bd62b


Ignore:
Timestamp:
04/10/11 00:28:46 (12 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

Finish geisha fish subplot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/items.py

    r559 r567  
    233233    image_file = 'props/fish.png'
    234234
     235    def __init__(self, *args, **kw):
     236        super(Salmon, self).__init__(*args, **kw)
     237        if self._me.level == 'geisha_room':
     238            self.wants_updates = True
     239
     240    def update(self):
     241        self.world.missions.fish_in_room = True
     242        self.remove()
     243        notify("What's that horrible smell?")
     244
    235245
    236246
Note: See TracChangeset for help on using the changeset viewer.