grunk/src/equipment/mp3_player/mp3_player.gd

19 lines
309 B
GDScript3
Raw Normal View History

2025-06-20 12:42:04 -06:00
extends Tool
## Pump up the jamz!
2025-06-26 23:34:01 -06:00
@onready var mp3_controller: MP3Controller = %MP3Controller
2025-06-20 12:42:04 -06:00
func unlocked() -> bool:
return World.instance.manager.mp3_player_unlocked
2025-06-26 23:34:01 -06:00
func fire() -> void:
if not firing:
firing = true
mp3_controller.select()
func switch_mode() -> void:
mp3_controller.cancel()