Files
wwdpublic/Content.Server/_White/MobThresholdSounds/MobThresholdSoundsComponent.cs
vanx ec683c3c0c [Add] Death/Crit Sounds (#915)
* death crit sounds

* no meow

* improve

* Revert "Automatic Changelog Update (#895)"

This reverts commit 87aec9c239.

* Update Resources/Prototypes/Entities/Mobs/Species/base.yml

---------

Co-authored-by: WWDP Changelogs <riddleridou@users.noreply.github.com>
Co-authored-by: vanx <vanxxxx@discord>
Co-authored-by: Spatison <137375981+Spatison@users.noreply.github.com>
2025-12-26 12:49:25 +03:00

19 lines
471 B
C#

using Robust.Shared.Audio;
namespace Content.Server._White.MobThresholdSounds;
[RegisterComponent]
public sealed partial class MobThresholdSoundsComponent : Component
{
[DataField]
public SoundSpecifier DeathSounds = new SoundCollectionSpecifier("deathSounds");
[DataField]
public SoundSpecifier HeartSounds = new SoundCollectionSpecifier("heartSounds");
[DataField]
public bool CanOtherHearDeathSound;
public EntityUid AudioStream;
}