using Content.Server.Speech.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Speech.Components; /// /// Applies accent to user while they wear entity as a clothing. /// [RegisterComponent] public sealed partial class AddAccentClothingComponent : Component { /// /// Component name for accent that will be applied. /// [DataField("accent", required: true)] public string Accent = default!; /// /// What to use. /// Will be applied only with . /// [DataField("replacement", customTypeSerializer: typeof(PrototypeIdSerializer))] public string? ReplacementPrototype; /// /// Is that clothing is worn and affecting someones accent? /// public bool IsActive = false; }