CatStation/Content.Shared/Speech/Components/SlurredAccentComponent.cs
Pok 7a8fab78e3
Move Accents to Shared v2 (#44772)
* move-accents-to-shared

* Update AccentSystem.cs

* Update ListeningSystem.cs

* aaaaaa

* Update AccentSystem.cs

* oh god

* aaooao

* //

* review

* fix

* Update VocalSystem.cs
2026-07-25 22:29:39 +00:00

24 lines
696 B
C#

using Content.Shared.Speech.EntitySystems;
using Robust.Shared.GameStates;
namespace Content.Shared.Speech.Components;
/// <summary>
/// Go houhhm... yo'r drrunkk...
/// </summary>
[RegisterComponent, NetworkedComponent]
[Access(typeof(SlurredSystem))]
public sealed partial class SlurredAccentComponent : BaseAccentComponent
{
/// <summary>
/// Divisor applied to total seconds used to get the odds of slurred speech occuring.
/// </summary>
[DataField]
public float SlurredModifier = 1100f;
/// <summary>
/// Minimum amount of time on the slurred accent for it to start taking effect.
/// </summary>
[DataField]
public float SlurredThreshold = 80f;
}