New items added..
This commit is contained in:
@@ -44,8 +44,12 @@ class PowerUp(Object):
|
||||
"""Apply the item's effect when collected"""
|
||||
if self.item_type == 'hand_of_glory':
|
||||
player.start_invincibility()
|
||||
elif self.item_type == 'guts':
|
||||
player.add_guts()
|
||||
elif self.item_type == 'jack_o_lantern':
|
||||
player.add_jack_o_lantern()
|
||||
elif self.item_type == 'extra_life':
|
||||
player.extra_life()
|
||||
|
||||
# Stop movement sound when collected
|
||||
if self.channel:
|
||||
|
Reference in New Issue
Block a user