From 0ae9bc088fe393b69a81b3dff1f2390081e9bd01 Mon Sep 17 00:00:00 2001 From: Swept Date: Thu, 15 Jul 2021 08:47:35 -0700 Subject: [PATCH] Fixes bike horn --- Resources/Prototypes/Entities/Objects/Fun/bike_horn.yml | 2 +- Resources/Prototypes/SoundCollections/bike_horn.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/SoundCollections/bike_horn.yml diff --git a/Resources/Prototypes/Entities/Objects/Fun/bike_horn.yml b/Resources/Prototypes/Entities/Objects/Fun/bike_horn.yml index 29b4d5647e..43f8a2db91 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/bike_horn.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/bike_horn.yml @@ -14,7 +14,7 @@ QuickEquip: false - type: ItemCooldown - type: EmitSoundOnUse - sound: /Audio/Items/bikehorn.ogg + soundCollection: BikeHorn semitoneVariation: 6 - type: UseDelay delay: 0.5 diff --git a/Resources/Prototypes/SoundCollections/bike_horn.yml b/Resources/Prototypes/SoundCollections/bike_horn.yml new file mode 100644 index 0000000000..ff6c75ff53 --- /dev/null +++ b/Resources/Prototypes/SoundCollections/bike_horn.yml @@ -0,0 +1,4 @@ +- type: soundCollection + id: BikeHorn + files: + - /Audio/Items/bikehorn.ogg