diff --git a/Content.Client/Light/Visualizers/ExpendableLightVisualizer.cs b/Content.Client/Light/Visualizers/ExpendableLightVisualizer.cs index 59e11983e8..b17f989860 100644 --- a/Content.Client/Light/Visualizers/ExpendableLightVisualizer.cs +++ b/Content.Client/Light/Visualizers/ExpendableLightVisualizer.cs @@ -55,14 +55,21 @@ namespace Content.Client.Light.Visualizers switch (state) { case ExpendableLightState.Lit: + { TryStopStream(expendableLight.PlayingStream); - expendableLight.PlayingStream = SoundSystem.Play(Filter.Local(), expendableLight.LoopedSound, - expendableLight.Owner, SharedExpendableLightComponent.LoopedSoundParams.WithLoop(true)); + if (expendableLight.LoopedSound != null) + { + expendableLight.PlayingStream = SoundSystem.Play(Filter.Local(), + expendableLight.LoopedSound, expendableLight.Owner, + SharedExpendableLightComponent.LoopedSoundParams.WithLoop(true)); + } break; - + } case ExpendableLightState.Dead: + { TryStopStream(expendableLight.PlayingStream); break; + } } } } diff --git a/Content.Client/Trigger/TimerTriggerVisualizer.cs b/Content.Client/Trigger/TimerTriggerVisualizer.cs index c712c88c3c..24051d99dc 100644 --- a/Content.Client/Trigger/TimerTriggerVisualizer.cs +++ b/Content.Client/Trigger/TimerTriggerVisualizer.cs @@ -15,7 +15,7 @@ namespace Content.Client.Trigger { private const string AnimationKey = "priming_animation"; - [DataField("countdown_sound")] + [DataField("countdown_sound", required: true)] private SoundSpecifier _countdownSound = default!; private Animation PrimingAnimation = default!; diff --git a/Content.Server/Crayon/CrayonComponent.cs b/Content.Server/Crayon/CrayonComponent.cs index 97df4f961a..a4ce08b2d6 100644 --- a/Content.Server/Crayon/CrayonComponent.cs +++ b/Content.Server/Crayon/CrayonComponent.cs @@ -29,9 +29,8 @@ namespace Content.Server.Crayon { [Dependency] private readonly IPrototypeManager _prototypeManager = default!; - //TODO: useSound - [DataField("useSound", required: true)] - private SoundSpecifier _useSound = default!; + [DataField("useSound")] + private SoundSpecifier? _useSound = null; [ViewVariables] public Color Color { get; set; } @@ -139,7 +138,8 @@ namespace Content.Server.Crayon appearance.SetData(CrayonVisuals.Rotation, eventArgs.User.Transform.LocalRotation); } - SoundSystem.Play(Filter.Pvs(Owner), _useSound.GetSound(), Owner, AudioHelpers.WithVariation(0.125f)); + if (_useSound != null) + SoundSystem.Play(Filter.Pvs(Owner), _useSound.GetSound(), Owner, AudioHelpers.WithVariation(0.125f)); // Decrease "Ammo" Charges--; diff --git a/Content.Server/Light/Components/ExpendableLightComponent.cs b/Content.Server/Light/Components/ExpendableLightComponent.cs index b60bf0f8b2..1eb5a47b15 100644 --- a/Content.Server/Light/Components/ExpendableLightComponent.cs +++ b/Content.Server/Light/Components/ExpendableLightComponent.cs @@ -100,8 +100,9 @@ namespace Content.Server.Light.Components switch (CurrentState) { case ExpendableLightState.Lit: + { SoundSystem.Play(Filter.Pvs(Owner), LitSound.GetSound(), Owner); - + if (IconStateLit != string.Empty) { sprite.LayerSetState(2, IconStateLit); @@ -110,18 +111,21 @@ namespace Content.Server.Light.Components sprite.LayerSetVisible(1, true); break; - + } case ExpendableLightState.Fading: + { break; - + } default: case ExpendableLightState.Dead: - SoundSystem.Play(Filter.Pvs(Owner), DieSound.GetSound(), Owner); + { + if (DieSound != null) SoundSystem.Play(Filter.Pvs(Owner), DieSound.GetSound(), Owner); sprite.LayerSetState(0, IconStateSpent); sprite.LayerSetShader(0, "shaded"); sprite.LayerSetVisible(1, false); break; + } } } diff --git a/Content.Server/Light/Components/LightReplacerComponent.cs b/Content.Server/Light/Components/LightReplacerComponent.cs index 6a1b90bfd3..fbcf622b1c 100644 --- a/Content.Server/Light/Components/LightReplacerComponent.cs +++ b/Content.Server/Light/Components/LightReplacerComponent.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using Content.Server.Storage.Components; using Content.Shared.Notification.Managers; +using Content.Shared.Sound; using Robust.Server.GameObjects; using Robust.Shared.Audio; using Robust.Shared.Containers; @@ -25,7 +26,7 @@ namespace Content.Server.Light.Components { public override string Name => "LightReplacer"; - [DataField("sound")] private string _sound = "/Audio/Weapons/click.ogg"; + [DataField("sound")] private SoundSpecifier _sound = new SoundPathSpecifier("/Audio/Weapons/click.ogg"); // bulbs that were inside light replacer when it spawned [DataField("contents")] private List _contents = new(); @@ -82,8 +83,8 @@ namespace Content.Server.Light.Components var wasReplaced = fixture.ReplaceBulb(bulb); if (wasReplaced) { - EntitySystem.Get().Play(Filter.Broadcast(), _sound, - Owner, AudioParams.Default.WithVolume(-4f)); + SoundSystem.Play(Filter.Pvs(Owner), _sound.GetSound(), Owner, + AudioParams.Default.WithVolume(-4f)); } diff --git a/Content.Server/Projectiles/Components/ProjectileComponent.cs b/Content.Server/Projectiles/Components/ProjectileComponent.cs index c22f5038a0..990a2da08a 100644 --- a/Content.Server/Projectiles/Components/ProjectileComponent.cs +++ b/Content.Server/Projectiles/Components/ProjectileComponent.cs @@ -27,7 +27,7 @@ namespace Content.Server.Projectiles.Components // Get that juicy FPS hit sound [DataField("soundHit", required: true)] public SoundSpecifier SoundHit = default!; - [DataField("soundHitSpecies", required: true)] public SoundSpecifier SoundHitSpecies = default!; + [DataField("soundHitSpecies")] public SoundSpecifier? SoundHitSpecies = null; public bool DamagedEntity; diff --git a/Content.Server/Projectiles/ProjectileSystem.cs b/Content.Server/Projectiles/ProjectileSystem.cs index d5bf5173a1..7837a728d4 100644 --- a/Content.Server/Projectiles/ProjectileSystem.cs +++ b/Content.Server/Projectiles/ProjectileSystem.cs @@ -32,7 +32,8 @@ namespace Content.Server.Projectiles var coordinates = args.OtherFixture.Body.Owner.Transform.Coordinates; var playerFilter = Filter.Pvs(coordinates); - if (!otherEntity.Deleted && otherEntity.HasComponent()) + if (!otherEntity.Deleted && component.SoundHitSpecies != null && + otherEntity.HasComponent()) { SoundSystem.Play(playerFilter, component.SoundHitSpecies.GetSound(), coordinates); } diff --git a/Content.Server/Weapon/Ranged/Barrels/Components/ServerMagazineBarrelComponent.cs b/Content.Server/Weapon/Ranged/Barrels/Components/ServerMagazineBarrelComponent.cs index fbc6d4fed7..f7bd19cf98 100644 --- a/Content.Server/Weapon/Ranged/Barrels/Components/ServerMagazineBarrelComponent.cs +++ b/Content.Server/Weapon/Ranged/Barrels/Components/ServerMagazineBarrelComponent.cs @@ -133,7 +133,7 @@ namespace Content.Server.Weapon.Ranged.Barrels.Components private SoundSpecifier _soundMagInsert = default!; [DataField("soundMagEject", required: true)] private SoundSpecifier _soundMagEject = default!; - [DataField("soundAutoEject", required: true)] + [DataField("soundAutoEject")] private SoundSpecifier _soundAutoEject = new SoundPathSpecifier("/Audio/Weapons/Guns/EmptyAlarm/smg_empty_alarm.ogg"); private List GetMagazineTypes() diff --git a/Content.Shared/Light/Component/SharedExpendableLightComponent.cs b/Content.Shared/Light/Component/SharedExpendableLightComponent.cs index 000cb5a37b..48dd3b154d 100644 --- a/Content.Shared/Light/Component/SharedExpendableLightComponent.cs +++ b/Content.Shared/Light/Component/SharedExpendableLightComponent.cs @@ -73,11 +73,11 @@ namespace Content.Shared.Light.Component protected SoundSpecifier LitSound { get; set; } = default!; [ViewVariables] - [DataField("loopedSound", required: true)] - public string LoopedSound { get; set; } = string.Empty; + [DataField("loopedSound")] + public string? LoopedSound { get; set; } = null; [ViewVariables] [DataField("dieSound")] - protected SoundSpecifier DieSound { get; set; } = default!; + protected SoundSpecifier? DieSound { get; set; } = null; } } diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/bowl.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/bowl.yml index 3dafbe4a9d..ac2ef427ed 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/bowl.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/bowl.yml @@ -25,7 +25,8 @@ damage: 5 behaviors: - !type:PlaySoundBehavior - collection:: GlassBreak + sound: + collection: GlassBreak - !type:SpillBehavior { } - !type:SpawnEntitiesBehavior spawn: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml index a610a361f4..3904455874 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml @@ -104,7 +104,7 @@ # damage: 10 # behaviors: # - !type:PlaySoundBehavior - # collection:: desecration + # collection: desecration # - !type:SpawnEntitiesBehavior # spawn: # EggBoxBroken: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml index 02d0bc4015..cc73d5b243 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml @@ -28,7 +28,8 @@ damage: 5 behaviors: - !type:PlaySoundBehavior - collection:: GlassBreak + sound: + collection: GlassBreak - !type:SpawnEntitiesBehavior spawn: FoodPlateTrash: @@ -67,7 +68,8 @@ damage: 5 behaviors: - !type:PlaySoundBehavior - collection:: GlassBreak + sound: + collection: GlassBreak - !type:SpawnEntitiesBehavior spawn: FoodPlateSmallTrash: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml index dbb7781c35..7433f49d8c 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml @@ -56,7 +56,8 @@ damage: 6 behaviors: - !type:PlaySoundBehavior - collection:: canOpenSounds + sound: + collection: canOpenSounds - !type:SpawnEntitiesBehavior spawn: FoodTinPeachesOpen: @@ -104,7 +105,8 @@ damage: 6 behaviors: - !type:PlaySoundBehavior - collection:: canOpenSounds + sound: + collection: canOpenSounds - !type:SpawnEntitiesBehavior spawn: FoodTinPeachesMaintOpen: @@ -152,7 +154,8 @@ damage: 6 behaviors: - !type:PlaySoundBehavior - collection:: canOpenSounds + sound: + collection: canOpenSounds - !type:SpawnEntitiesBehavior spawn: FoodTinBeansOpen: @@ -202,7 +205,8 @@ damage: 6 behaviors: - !type:PlaySoundBehavior - collection:: canOpenSounds + sound: + collection: canOpenSounds - !type:SpawnEntitiesBehavior spawn: FoodTinMREOpen: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/egg.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/egg.yml index 1ecdb853b0..d782afa24f 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/egg.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/egg.yml @@ -35,7 +35,8 @@ damage: 1 behaviors: - !type:PlaySoundBehavior - collection:: desecration + sound: + collection: desecration - !type:SpawnEntitiesBehavior spawn: Eggshells: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml index 4f36fbba7e..ff6a976368 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml @@ -60,7 +60,8 @@ damage: 2 behaviors: - !type:PlaySoundBehavior - collection:: desecration + sound: + collection: desecration - !type:SpawnEntitiesBehavior spawn: PuddleFlour: @@ -95,7 +96,8 @@ damage: 2 behaviors: - !type:PlaySoundBehavior - collection:: desecration + sound: + collection: desecration - !type:SpawnEntitiesBehavior spawn: PuddleFlour: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml index 12389559b3..38bdfae05f 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml @@ -258,7 +258,8 @@ damage: 1 behaviors: - !type:PlaySoundBehavior - collection:: desecration + sound: + collection: desecration - !type:SpawnEntitiesBehavior spawn: PuddleTomato: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml index d7c7a4493b..14a0e8e8ae 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml @@ -27,7 +27,8 @@ damage: 5 behaviors: - !type:PlaySoundBehavior - collection:: GlassBreak + sound: + collection: GlassBreak - !type:SpillBehavior { } - !type:SpawnEntitiesBehavior spawn: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/drinks.yml b/Resources/Prototypes/Entities/Objects/Consumable/drinks.yml index fbe99e7b01..61c090a64f 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/drinks.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/drinks.yml @@ -34,7 +34,8 @@ damage: 5 behaviors: - !type:PlaySoundBehavior - collection:: GlassBreak + sound: + collection: GlassBreak - !type:SpillBehavior { } - !type:SpawnEntitiesBehavior spawn: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/drinks_bottles.yml b/Resources/Prototypes/Entities/Objects/Consumable/drinks_bottles.yml index 36106a0d09..9769567b1f 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/drinks_bottles.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/drinks_bottles.yml @@ -29,7 +29,8 @@ damage: 5 behaviors: - !type:PlaySoundBehavior - collection:: GlassBreak + sound: + collection: GlassBreak - !type:SpillBehavior { } - !type:SpawnEntitiesBehavior spawn: diff --git a/Resources/Prototypes/Entities/Objects/Fun/crayons.yml b/Resources/Prototypes/Entities/Objects/Fun/crayons.yml index 9f61b04da0..20392fdd31 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/crayons.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/crayons.yml @@ -15,6 +15,8 @@ interfaces: - key: enum.CrayonUiKey.Key type: CrayonBoundUserInterface + - type: Crayon + capacity: 5 - type: entity parent: Crayon diff --git a/Resources/Prototypes/Entities/Objects/Power/lights.yml b/Resources/Prototypes/Entities/Objects/Power/lights.yml index b888015807..4291e9d061 100644 --- a/Resources/Prototypes/Entities/Objects/Power/lights.yml +++ b/Resources/Prototypes/Entities/Objects/Power/lights.yml @@ -17,7 +17,8 @@ damage: 5 behaviors: - !type:PlaySoundBehavior - collection: GlassBreak + sound: + collection: GlassBreak - !type:DoActsBehavior acts: [ "Breakage" ] - trigger: @@ -25,7 +26,8 @@ damage: 10 behaviors: - !type:PlaySoundBehavior - collection: GlassBreak + sound: + collection: GlassBreak - !type:SpawnEntitiesBehavior spawn: ShardGlass: diff --git a/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml b/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml index 4b65806d9d..bc10f23e37 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml @@ -42,7 +42,8 @@ damage: 5 behaviors: - !type:PlaySoundBehavior - collection:: GlassBreak + sound: + collection: GlassBreak - !type:SpillBehavior { } - !type:SpawnEntitiesBehavior spawn: @@ -55,7 +56,7 @@ amount: 5 - type: DamageOtherOnHit amount: 5 - + - type: entity name: large beaker parent: Beaker diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/toy.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/toy.yml index 8ac1b12612..90bfb7e918 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/toy.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/toy.yml @@ -7,6 +7,8 @@ - type: Projectile damages: Blunt: 1 + soundHit: + path: /Audio/Weapons/Guns/Hits/bullet_hit.ogg - type: entity id: BulletDonkSoft diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml index a6269680b5..4d370ca39a 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml @@ -31,6 +31,10 @@ ammoPrototype: RedLaser soundGunshot: path: /Audio/Weapons/Guns/Gunshots/laser.ogg + soundPowerCellInsert: + path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg + soundPowerCellEject: + path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg - type: Appearance visuals: - type: MagVisualizer @@ -71,6 +75,10 @@ ammoPrototype: RedHeavyLaser soundGunshot: path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg + soundPowerCellInsert: + path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg + soundPowerCellEject: + path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg - type: Appearance visuals: - type: MagVisualizer @@ -93,7 +101,6 @@ - state: mag-unshaded-0 map: ["enum.RangedBarrelVisualLayers.MagUnshaded"] shader: unshaded - - type: Item size: 24 sprite: Objects/Weapons/Guns/Battery/xray.rsi @@ -113,6 +120,10 @@ ammoPrototype: XrayLaser soundGunshot: path: /Audio/Weapons/Guns/Gunshots/laser3.ogg + soundPowerCellInsert: + path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg + soundPowerCellEject: + path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg - type: Appearance visuals: - type: MagVisualizer @@ -160,6 +171,10 @@ ammoPrototype: BulletTaser soundGunshot: path: /Audio/Weapons/Guns/Gunshots/taser.ogg + soundPowerCellInsert: + path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg + soundPowerCellEject: + path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg - type: Appearance visuals: - type: MagVisualizer @@ -200,6 +215,10 @@ ammoPrototype: RedLaser soundGunshot: path: /Audio/Weapons/Guns/Gunshots/laser.ogg + soundPowerCellInsert: + path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg + soundPowerCellEject: + path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg - type: Appearance visuals: - type: MagVisualizer diff --git a/Resources/Prototypes/Entities/Objects/base.yml b/Resources/Prototypes/Entities/Objects/base.yml index 75fa25abf3..e38635dc94 100644 --- a/Resources/Prototypes/Entities/Objects/base.yml +++ b/Resources/Prototypes/Entities/Objects/base.yml @@ -9,6 +9,8 @@ - type: InteractionOutline - type: MovedByPressure - type: DamageOnHighSpeedImpact + soundHit: + path: /Audio/Effects/hit_kick.ogg - type: CollisionWake - type: TileFrictionModifier modifier: 0.5 diff --git a/Resources/Prototypes/Entities/Structures/Machines/Computers/frame.yml b/Resources/Prototypes/Entities/Structures/Machines/Computers/frame.yml index 8c3b3a7836..66fd10f907 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/Computers/frame.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/Computers/frame.yml @@ -36,7 +36,8 @@ damage: 100 behaviors: - !type:PlaySoundBehavior - collection: GlassBreak + sound: + collection: GlassBreak - !type:ChangeConstructionNodeBehavior node: monitorBroken - !type:DoActsBehavior diff --git a/Resources/Prototypes/Entities/Structures/Windows/plasma.yml b/Resources/Prototypes/Entities/Structures/Windows/plasma.yml index b16e990e6c..35fbbe09c8 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/plasma.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/plasma.yml @@ -17,7 +17,8 @@ damage: 200 behaviors: - !type:PlaySoundBehavior - collection: GlassBreak + sound: + collection: GlassBreak - !type:SpawnEntitiesBehavior spawn: ShardGlassPlasma: diff --git a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml index 42ffc0b5f6..67d113e459 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml @@ -18,7 +18,8 @@ damage: 150 behaviors: - !type:PlaySoundBehavior - collection: GlassBreak + sound: + collection: GlassBreak - !type:SpawnEntitiesBehavior spawn: ShardGlassReinforced: diff --git a/Resources/Prototypes/Entities/Structures/Windows/window.yml b/Resources/Prototypes/Entities/Structures/Windows/window.yml index 944683d950..6c7f820119 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/window.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/window.yml @@ -39,7 +39,8 @@ damage: 15 behaviors: - !type:PlaySoundBehavior - collection: GlassBreak + sound: + collection: GlassBreak - !type:SpawnEntitiesBehavior spawn: ShardGlass: