| 1234567891011121314151617181920212223242526272829 |
- namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components;
- /// <summary>
- /// Activate artifact by touching, attacking or pulling it.
- /// </summary>
- [RegisterComponent]
- public sealed partial 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;
- }
|