sfx de minage fonctionnels #109

This commit is contained in:
2026-02-07 00:24:23 +01:00
committed by zacharie
parent 9dbc3ffb49
commit 99a0522e9e
@@ -33,6 +33,7 @@ func can_use(_player : Player, zone : Player.ActionZone) -> bool:
return false return false
func use(player : Player, zone : Player.ActionZone) -> bool: func use(player : Player, zone : Player.ActionZone) -> bool:
AudioManager.play_sfx("Pickaxe")
for area in zone.get_affected_areas(): for area in zone.get_affected_areas():
if area and area is Plant: if area and area is Plant:
harvest(area, player) harvest(area, player)