2023-07-05 01:32:22 +01:00
|
|
|
using Content.Server.Speech.EntitySystems;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Speech.Components;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
[Access(typeof(ArchaicAccentSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class ArchaicAccentComponent : Component
|
2023-07-05 01:32:22 +01:00
|
|
|
{
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("forsoothChance")]
|
2023-08-22 18:14:33 -07:00
|
|
|
public float ForsoothChance = 0.15f;
|
2023-07-05 01:32:22 +01:00
|
|
|
|
|
|
|
|
[ViewVariables]
|
|
|
|
|
public readonly List<string> ArchaicWords = new()
|
|
|
|
|
{
|
|
|
|
|
"accent-archaic-prefix-1",
|
|
|
|
|
"accent-archaic-prefix-2",
|
|
|
|
|
"accent-archaic-prefix-3",
|
|
|
|
|
"accent-archaic-prefix-4"
|
|
|
|
|
};
|
|
|
|
|
}
|