#40 developpement de l'enclenchement des sfx

This commit is contained in:
2025-08-21 14:56:48 +02:00
parent 49e16d12f8
commit 5d0104d029
6 changed files with 48 additions and 23 deletions

View File

@@ -22,6 +22,7 @@ func interact(p : Player) -> bool:
if not can_interact(p):
return false
p.play_sfx("harvest")
p.delete_item()
fill_value += value_per_seed
if fill_value >= 1.: