Changeset 434:827c5d045cf5


Ignore:
Timestamp:
04/09/11 17:14:19 (12 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
61643238666330323361356633663661393937333334643231363339336636393435653931363561
Message:

Don't allow the cannon to be picked up

Location:
skaapsteker/sprites
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/base.py

    r412 r434  
    330330    gravitates = False
    331331    actionable = True
     332    liftable = True
    332333
    333334    collision_layer = NPC_LAYER
     
    347348
    348349    def player_action(self, player):
    349         player.take_item(self)
     350        if self.liftable:
     351            player.take_item(self)
    350352
    351353
  • skaapsteker/sprites/items.py

    r432 r434  
    169169    broken_image_file = 'props/cannon-broken.png'
    170170
     171    liftable = False
     172
    171173
    172174
Note: See TracChangeset for help on using the changeset viewer.