Muzzles reduce emote sound (#34444)
* Muzzles reduce emote sound * update based on review comments * review comments
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user