aboutsummaryrefslogtreecommitdiff
path: root/client/map/items/plate.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items/plate.gd')
-rw-r--r--client/map/items/plate.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd
index ac6a6c00..88403b55 100644
--- a/client/map/items/plate.gd
+++ b/client/map/items/plate.gd
@@ -19,6 +19,11 @@ extends Item
func _init(owned_by_: Node3D):
super(owned_by_)
add_child(load("res://map/items/plate.tscn").instantiate())
+ sound_instance.setup([preload("res://map/sounds/plate_up.ogg")])
+
+func take():
+ sound_instance.play_random()
+ super()
static func base_position() -> Vector3:
return Vector3(0., 0.05, 0.)