Finally remembered to remove some debug statements. Added a finish level fanfare for the skeleton, complete with wicked laugh. Work on level 8, it used to be a tiny level, now it's better and has a ghost boss.
This commit is contained in:
@@ -102,8 +102,6 @@ class PowerUp(Object):
|
||||
|
||||
def check_for_nunchucks(self, player):
|
||||
"""Check if player has materials for nunchucks and create if conditions are met"""
|
||||
print("Checking for nunchucks.")
|
||||
print(f"Player has {player.shinBoneCount} shin bones and {player.collectedItems}.")
|
||||
if (player.shinBoneCount >= 2 and
|
||||
'guts' in player.collectedItems and
|
||||
not any(weapon.name == "nunchucks" for weapon in player.weapons)):
|
||||
|
Reference in New Issue
Block a user