#4219 emit sound system add single sound support (#4237)

* Revert "#3935 implemented suggestions from PR"

This reverts commit a9b1c7b96333ca570067d6a9df1954481005892a.

* #4219 revert of single sound removal in EmitSoundSystem

* #4219 single sounds in EmitSoundSystem should work now

* #4219 some small project tweaks

* #4219 upgraded EmitSoundSystem to use SoundSpecifier

* #4219 pr tweaks

* #4219 pr tweak

* #4219 missing bike horn .yaml change
This commit is contained in:
Galactic Chimp
2021-07-25 13:37:01 +02:00
committed by GitHub
parent ef5e6a754c
commit 10af8efc0e
13 changed files with 97 additions and 122 deletions

View File

@@ -14,7 +14,8 @@
QuickEquip: false
- type: ItemCooldown
- type: EmitSoundOnUse
soundCollection: BikeHorn
sound:
collection: BikeHorn
semitoneVariation: 6
- type: UseDelay
delay: 0.5

View File

@@ -12,6 +12,7 @@
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/skub.ogg
sound:
path: /Audio/Items/skub.ogg
- type: UseDelay
delay: 2.0

View File

@@ -5,11 +5,14 @@
id: BasePlushie
components:
- type: EmitSoundOnUse
soundCollection: ToySqueak
sound:
collection: ToySqueak
- type: EmitSoundOnLand
soundCollection: ToySqueak
sound:
collection: ToySqueak
- type: EmitSoundOnActivate
soundCollection: ToySqueak
sound:
collection: ToySqueak
- type: LoopingSound
- type: ItemCooldown
- type: UseDelay
@@ -90,7 +93,8 @@
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/Toys/rattle.ogg
sound:
path: /Audio/Items/Toys/rattle.ogg
- type: UseDelay
delay: 1.0
@@ -106,7 +110,8 @@
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/Toys/mousesqueek.ogg
sound:
path: /Audio/Items/Toys/mousesqueek.ogg
- type: UseDelay
delay: 1.0
@@ -122,7 +127,8 @@
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Voice/Vox/shriek1.ogg
sound:
path: /Audio/Voice/Vox/shriek1.ogg
- type: UseDelay
delay: 1.0
@@ -142,11 +148,13 @@
- type: Item
sprite: Objects/Misc/carvings.rsi
- type: EmitSoundOnThrow
sound: /Audio/Items/Toys/helpme.ogg
sound:
path: /Audio/Items/Toys/helpme.ogg
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/Toys/helpme.ogg
sound:
path: /Audio/Items/Toys/helpme.ogg
- type: UseDelay
delay: 1.0
@@ -162,11 +170,13 @@
- type: Item
sprite: Objects/Misc/carvings.rsi
- type: EmitSoundOnThrow
sound: /Audio/Items/Toys/hellothere.ogg
sound:
path: /Audio/Items/Toys/hellothere.ogg
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/Toys/hellothere.ogg
sound:
path: /Audio/Items/Toys/hellothere.ogg
- type: UseDelay
delay: 1.0
@@ -182,11 +192,13 @@
- type: Item
sprite: Objects/Misc/carvings.rsi
- type: EmitSoundOnThrow
sound: /Audio/Items/Toys/thankyou.ogg
sound:
path: /Audio/Items/Toys/thankyou.ogg
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/Toys/thankyou.ogg
sound:
path: /Audio/Items/Toys/thankyou.ogg
- type: UseDelay
delay: 1.0
@@ -202,11 +214,13 @@
- type: Item
sprite: Objects/Misc/carvings.rsi
- type: EmitSoundOnThrow
sound: /Audio/Items/Toys/verygood.ogg
sound:
path: /Audio/Items/Toys/verygood.ogg
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/Toys/verygood.ogg
sound:
path: /Audio/Items/Toys/verygood.ogg
- type: UseDelay
delay: 1.0
@@ -222,11 +236,13 @@
- type: Item
sprite: Objects/Misc/carvings.rsi
- type: EmitSoundOnThrow
sound: /Audio/Items/Toys/imsorry.ogg
sound:
path: /Audio/Items/Toys/imsorry.ogg
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/Toys/imsorry.ogg
sound:
path: /Audio/Items/Toys/imsorry.ogg
- type: UseDelay
delay: 1.0
@@ -297,7 +313,8 @@
- type: ItemCooldown
- type: LoopingSound
- type: EmitSoundOnUse
sound: /Audio/Items/Toys/ian.ogg
sound:
path: /Audio/Items/Toys/ian.ogg
- type: UseDelay
delay: 1.0