namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components;

/// <summary>
///     Activate artifact by touching, attacking or pulling it.
/// </summary>
[RegisterComponent]
public sealed class ArtifactInteractionTriggerComponent : Component
{
    /// <summary>
    ///     Should artifact be activated just by touching with empty hand?
    /// </summary>
    [DataField("emptyHandActivation")]
    [ViewVariables(VVAccess.ReadWrite)]
    public bool EmptyHandActivation = true;

    /// <summary>
    ///     Should artifact be activated by melee attacking?
    /// </summary>
    [DataField("attackActivation")]
    [ViewVariables(VVAccess.ReadWrite)]
    public bool AttackActivation = true;

    /// <summary>
    ///     Should artifact be activated by starting pulling it?
    /// </summary>
    [DataField("pullActivation")]
    [ViewVariables(VVAccess.ReadWrite)]
    public bool PullActivation = true;
}
