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:
21
Content.Server/Speech/Components/ArchaicAccentComponent.cs
Normal file
21
Content.Server/Speech/Components/ArchaicAccentComponent.cs
Normal 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"
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user