2023-04-10 06:47:40 +01:00
|
|
|
using Content.Server.Speech.EntitySystems;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Speech.Components;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
[Access(typeof(PirateAccentSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class PirateAccentComponent : Component
|
2023-04-10 06:47:40 +01:00
|
|
|
{
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("yarrChance")]
|
2023-08-22 18:14:33 -07:00
|
|
|
public float YarrChance = 0.5f;
|
2023-04-10 06:47:40 +01:00
|
|
|
|
|
|
|
|
[ViewVariables]
|
|
|
|
|
public readonly List<string> PirateWords = new()
|
|
|
|
|
{
|
|
|
|
|
"accent-pirate-prefix-1",
|
|
|
|
|
"accent-pirate-prefix-2",
|
2024-04-25 11:19:17 +10:00
|
|
|
"accent-pirate-prefix-3",
|
|
|
|
|
"accent-pirate-prefix-4",
|
2023-04-10 06:47:40 +01:00
|
|
|
};
|
|
|
|
|
}
|