Delta-v/Content.Server/Speech/Components/MumbleAccentComponent.cs

15 lines
468 B
C#

using Robust.Shared.Audio;
namespace Content.Server.Speech.Components;
[RegisterComponent]
public sealed partial class MumbleAccentComponent : Component
{
/// <summary>
/// This modifies the audio parameters of emote sounds, screaming, laughing, etc.
/// By default, it reduces the volume and distance of emote sounds.
/// </summary>
[DataField]
public AudioParams EmoteAudioParams = AudioParams.Default.WithVolume(-8f).WithMaxDistance(5);
}