aboutsummaryrefslogtreecommitdiff
path: root/client/map/items/item.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items/item.gd')
-rw-r--r--client/map/items/item.gd8
1 files changed, 6 insertions, 2 deletions
diff --git a/client/map/items/item.gd b/client/map/items/item.gd
index 7ab80fab..d1bb71f7 100644
--- a/client/map/items/item.gd
+++ b/client/map/items/item.gd
@@ -48,11 +48,15 @@ func progress(p: float, warn: bool):
func finish(_warn: bool):
progress_instance.visible = false
+func setup_sounds():
+ take_sound.setup([preload("res://map/sounds/generic_up.ogg")])
+ put_sound.setup([preload("res://map/sounds/plate_down.ogg")])
+
func take():
- pass
+ take_sound.play_random()
func put():
- pass
+ put_sound.play_random()
static func base_position() -> Vector3:
return Vector3(0., 0., 0.)