Alternate throw jack-o-lantern keys moved to z or /
This commit is contained in:
		| @@ -18,7 +18,7 @@ s or down arrow: Duck. | |||||||
| tab or capslock: Toggle run lock. | tab or capslock: Toggle run lock. | ||||||
| Control: Attack. | Control: Attack. | ||||||
| Space or shift: Hold to run if runlock is disabled. If run lock is enabled, hold to walk. | Space or shift: Hold to run if runlock is disabled. If run lock is enabled, hold to walk. | ||||||
| f or enter: Throw jack O'lantern. | f, z, or /: Throw jack O'lantern. | ||||||
| c: Check bone dust. | c: Check bone dust. | ||||||
| e: Check currently wielded weapon. | e: Check currently wielded weapon. | ||||||
| h: Check health. | h: Check health. | ||||||
|   | |||||||
| @@ -113,7 +113,7 @@ class WickedQuest: | |||||||
|             speak(f"{player.get_lives()} lives") |             speak(f"{player.get_lives()} lives") | ||||||
|         if keys[pygame.K_j]:  # Check jack o'lanterns |         if keys[pygame.K_j]:  # Check jack o'lanterns | ||||||
|             speak(f"{player.get_jack_o_lanterns()} jack o'lanterns") |             speak(f"{player.get_jack_o_lanterns()} jack o'lanterns") | ||||||
|         if keys[pygame.K_f]  or keys[pygame.K_RETURN]: |         if keys[pygame.K_f]  or keys[pygame.K_z] or keys[pygame.K_SLASH]: | ||||||
|             currentTime = pygame.time.get_ticks() |             currentTime = pygame.time.get_ticks() | ||||||
|             if currentTime - self.lastThrowTime >= self.throwDelay: |             if currentTime - self.lastThrowTime >= self.throwDelay: | ||||||
|                 self.currentLevel.throw_projectile() |                 self.currentLevel.throw_projectile() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user