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