diff options
Diffstat (limited to 'client/map/items/plate.gd')
-rw-r--r-- | client/map/items/plate.gd | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd index 9b462e5c..9d2fe538 100644 --- a/client/map/items/plate.gd +++ b/client/map/items/plate.gd @@ -19,16 +19,10 @@ extends Item func _init(owned_by_: Node3D): super(owned_by_) add_child(load("res://map/items/plate.tscn").instantiate()) + +func setup_sounds(): take_sound.setup([preload("res://map/sounds/plate_up.ogg")]) put_sound.setup([preload("res://map/sounds/plate_down.ogg")]) -func take(): - take_sound.play_random() - super() - -func put(): - put_sound.play_random() - super() - static func base_position() -> Vector3: return Vector3(0., 0.05, 0.) |