using Content.Shared.Speech; using Robust.Shared.Prototypes; namespace Content.Server.VoiceMask; /// /// This component is for voice mask items! Adding this component to clothing will give the the voice mask UI /// and allow the wearer to change their voice and verb at will. /// /// /// DO NOT use this if you do not want the interface. /// The VoiceOverrideSystem is probably what your looking for (Or you might have to make something similar)! /// [RegisterComponent] public sealed partial class VoiceMaskComponent : Component { /// /// The name that will override an entities default name. If null, it will use the default override. /// [DataField] public string? VoiceMaskName = null; /// /// The speech verb that will override an entities default one. If null, it will use the entities default verb. /// [DataField] public ProtoId? VoiceMaskSpeechVerb; /// /// The action that gets displayed when the voice mask is equipped. /// [DataField] public EntProtoId Action = "ActionChangeVoiceMask"; /// /// Reference to the action. /// [DataField] public EntityUid? ActionEntity; }