namespace Content.Shared.Language.Components.Translators;
///
/// A translator that must be held in a hand or a pocket of an entity in order ot have effect.
///
[RegisterComponent]
public sealed partial class HandheldTranslatorComponent : BaseTranslatorComponent
{
///
/// Whether interacting with this translator toggles it on and off.
///
[DataField]
public bool ToggleOnInteract = true;
///
/// If true, when this translator is turned on, the entities' current spoken language will be set
/// to the first new language added by this translator.
///
///
/// This should generally be used for translators that translate speech between two languages.
///
[DataField]
public bool SetLanguageOnInteract = true;
}