Add e keybinding to see your cdurrent weapon. Hopefully item tracking works correctly now.
This commit is contained in:
@@ -91,6 +91,8 @@ class WickedQuest:
|
||||
if currentTime - self.lastThrowTime >= self.throwDelay:
|
||||
self.currentLevel.throw_projectile()
|
||||
self.lastThrowTime = currentTime
|
||||
if keys[pygame.K_e]:
|
||||
speak(f"Wielding {self.currentLevel.player.currentWeapon.name.replace('_', ' ')}")
|
||||
|
||||
# Handle attack with either CTRL key
|
||||
if (keys[pygame.K_LCTRL] or keys[pygame.K_RCTRL]) and player.start_attack(currentTime):
|
||||
|
Reference in New Issue
Block a user