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
This commit is contained in:
Raitononai
2023-07-05 01:32:22 +01:00
committed by GitHub
parent b7ff79c1fb
commit c8569d906c
6 changed files with 502 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
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"
};
}