* 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
22 lines
557 B
C#
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"
|
|
};
|
|
}
|