aboutsummaryrefslogtreecommitdiff
path: root/client/map/items/raw_steak_pot.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items/raw_steak_pot.gd')
-rw-r--r--client/map/items/raw_steak_pot.gd11
1 files changed, 10 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
+ )