namespace Content.Server.Speech.Components
{
[RegisterComponent]
public sealed partial class StutteringAccentComponent : Component
{
///
/// Percentage chance that a stutter will occur if it matches.
///
[DataField("matchRandomProb")]
[ViewVariables(VVAccess.ReadWrite)]
public float MatchRandomProb = 0.8f;
///
/// Percentage chance that a stutter occurs f-f-f-f-four times.
///
[DataField("fourRandomProb")]
[ViewVariables(VVAccess.ReadWrite)]
public float FourRandomProb = 0.1f;
///
/// Percentage chance that a stutter occurs t-t-t-three times.
///
[DataField("threeRandomProb")]
[ViewVariables(VVAccess.ReadWrite)]
public float ThreeRandomProb = 0.2f;
///
/// Percentage chance that a stutter cut off.
///
[DataField("cutRandomProb")]
[ViewVariables(VVAccess.ReadWrite)]
public float CutRandomProb = 0.05f;
}
}