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:
Storm Dragon
2025-02-14 03:12:05 -05:00
parent 5953369440
commit c17d19fb6b
6 changed files with 94 additions and 8 deletions

View File

@@ -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)):