Required for https://github.com/space-wizards/RobustToolbox/pull/4885 to not kill content
22 lines
541 B
C#
22 lines
541 B
C#
using Content.Server.Speech.EntitySystems;
|
|
|
|
namespace Content.Server.Speech.Components;
|
|
|
|
[RegisterComponent]
|
|
[Access(typeof(PirateAccentSystem))]
|
|
public sealed partial class PirateAccentComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("yarrChance")]
|
|
public float YarrChance = 0.5f;
|
|
|
|
[ViewVariables]
|
|
public readonly List<string> PirateWords = new()
|
|
{
|
|
"accent-pirate-prefix-1",
|
|
"accent-pirate-prefix-2",
|
|
"accent-pirate-prefix-3",
|
|
"accent-pirate-prefix-4",
|
|
};
|
|
}
|