aboutsummaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/raw_steak_pot.gd11
-rw-r--r--client/map/items/sounds/frying.oggbin0 -> 83502 bytes
-rw-r--r--client/map/items/sounds/frying.ogg.import19
3 files changed, 29 insertions, 1 deletions
diff --git a/client/map/items/raw_steak_pot.gd b/client/map/items/raw_steak_pot.gd
index 992554ea..437ba5de 100644
--- a/client/map/items/raw_steak_pot.gd
+++ b/client/map/items/raw_steak_pot.gd
@@ -18,4 +18,13 @@ extends Pot
func _init(owned_by_: Node3D):
super(owned_by_)
- base.add_child(load("res://map/items/raw_steak.tscn").instantiate())
+ base.add_child(preload("res://map/items/raw_steak.tscn").instantiate())
+
+func progress(p: float, warn: bool):
+ super(p, warn)
+ if sound_id == null:
+ sound_id = Sound.item_progress(
+ self,
+ preload("res://map/items/sounds/frying.ogg"),
+ null
+ )
diff --git a/client/map/items/sounds/frying.ogg b/client/map/items/sounds/frying.ogg
new file mode 100644
index 00000000..f28c2b5d
--- /dev/null
+++ b/client/map/items/sounds/frying.ogg
Binary files differ
diff --git a/client/map/items/sounds/frying.ogg.import b/client/map/items/sounds/frying.ogg.import
new file mode 100644
index 00000000..c1a2f08d
--- /dev/null
+++ b/client/map/items/sounds/frying.ogg.import
@@ -0,0 +1,19 @@
+[remap]
+
+importer="oggvorbisstr"
+type="AudioStreamOggVorbis"
+uid="uid://dwxmp68tcimxm"
+path="res://.godot/imported/frying.ogg-753cdb19c878434ad9938a863ed9efd3.oggvorbisstr"
+
+[deps]
+
+source_file="res://map/items/sounds/frying.ogg"
+dest_files=["res://.godot/imported/frying.ogg-753cdb19c878434ad9938a863ed9efd3.oggvorbisstr"]
+
+[params]
+
+loop=true
+loop_offset=0.0
+bpm=0.0
+beat_count=0
+bar_beats=4