summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/map/items/plate.gd5
-rw-r--r--client/map/sounds/plate_up.oggbin0 -> 11020 bytes
-rw-r--r--client/map/sounds/plate_up.ogg.import19
3 files changed, 24 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.)
diff --git a/client/map/sounds/plate_up.ogg b/client/map/sounds/plate_up.ogg
new file mode 100644
index 00000000..08ce5bb6
--- /dev/null
+++ b/client/map/sounds/plate_up.ogg
Binary files differ
diff --git a/client/map/sounds/plate_up.ogg.import b/client/map/sounds/plate_up.ogg.import
new file mode 100644
index 00000000..5f2128e4
--- /dev/null
+++ b/client/map/sounds/plate_up.ogg.import
@@ -0,0 +1,19 @@
+[remap]
+
+importer="oggvorbisstr"
+type="AudioStreamOggVorbis"
+uid="uid://dyt45wi23lmmh"
+path="res://.godot/imported/plate_up.ogg-321cdd38fc6e820b2112fd77d567bcc9.oggvorbisstr"
+
+[deps]
+
+source_file="res://map/sounds/plate_up.ogg"
+dest_files=["res://.godot/imported/plate_up.ogg-321cdd38fc6e820b2112fd77d567bcc9.oggvorbisstr"]
+
+[params]
+
+loop=false
+loop_offset=0
+bpm=0
+beat_count=0
+bar_beats=4