]> git.smokeofanarchy.ru Git - space-station-14.git/blob
e2f00f9ebd8419e91aba24b79f69d461fc309fb5
[space-station-14.git] /
1 namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components;
2
3 /// <summary>
4 ///     Activate artifact by touching, attacking or pulling it.
5 /// </summary>
6 [RegisterComponent]
7 public sealed partial class ArtifactInteractionTriggerComponent : Component
8 {
9     /// <summary>
10     ///     Should artifact be activated just by touching with empty hand?
11     /// </summary>
12     [DataField("emptyHandActivation")]
13     [ViewVariables(VVAccess.ReadWrite)]
14     public bool EmptyHandActivation = true;
15
16     /// <summary>
17     ///     Should artifact be activated by melee attacking?
18     /// </summary>
19     [DataField("attackActivation")]
20     [ViewVariables(VVAccess.ReadWrite)]
21     public bool AttackActivation = true;
22
23     /// <summary>
24     ///     Should artifact be activated by starting pulling it?
25     /// </summary>
26     [DataField("pullActivation")]
27     [ViewVariables(VVAccess.ReadWrite)]
28     public bool PullActivation = true;
29 }