grunk/src/equipment/mp3_player/mp3_player.gd
2025-06-26 23:36:00 -06:00

19 lines
309 B
GDScript

extends Tool
## Pump up the jamz!
@onready var mp3_controller: MP3Controller = %MP3Controller
func unlocked() -> bool:
return World.instance.manager.mp3_player_unlocked
func fire() -> void:
if not firing:
firing = true
mp3_controller.select()
func switch_mode() -> void:
mp3_controller.cancel()