sfx de minage fonctionnels #109
This commit is contained in:
parent
65c6b61c64
commit
a3a665118f
@ -33,6 +33,7 @@ func can_use(_player : Player, zone : Player.ActionZone) -> bool:
|
||||
return false
|
||||
|
||||
func use(player : Player, zone : Player.ActionZone) -> bool:
|
||||
AudioManager.play_sfx("Pickaxe")
|
||||
for area in zone.get_affected_areas():
|
||||
if area and area is Plant:
|
||||
harvest(area, player)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user