Files
tbd-station-14/Content.Server/Speech/Components/ArchaicAccentComponent.cs
Raitononai c8569d906c Archaic Accent Trait (#17794)
* Adds the component, system and .ftl file for the Early English accent. Updates word_replacements.yml with the new accent stuff.

* -Renamed to Archaic accent
-Added more word replacements
-Fixed "ed" -> " 'd" only happening when prefix chance happened

* - Adds "Archaic Accent" as a character trait.

* - Added over 60 new word replacements and 3 new prefixes.
- Increased prefix chance to 15%.

* - MINOR SPELLING MISTAKE IN DESCRIPTION FIXED THIS IS A TRAVESTY
2023-07-04 18:32:22 -06:00

22 lines
557 B
C#

using Content.Server.Speech.EntitySystems;
namespace Content.Server.Speech.Components;
[RegisterComponent]
[Access(typeof(ArchaicAccentSystem))]
public sealed class ArchaicAccentComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("forsoothChance")]
public readonly float ForsoothChance = 0.15f;
[ViewVariables]
public readonly List<string> ArchaicWords = new()
{
"accent-archaic-prefix-1",
"accent-archaic-prefix-2",
"accent-archaic-prefix-3",
"accent-archaic-prefix-4"
};
}