Files
OldThink/Content.Server/Xenoarchaeology/XenoArtifacts/Triggers/Components/ArtifactElectricityTriggerComponent.cs
Alex Evgrashin 6eeaa81131 More artifacts triggers and tweaks (#6723)
Co-authored-by: mirrorcult <lunarautomaton6@gmail.com>
2022-02-19 12:16:49 -07:00

16 lines
501 B
C#

namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components;
/// <summary>
/// Activate artifact when it contacted with an electricity source.
/// It could be connected MV cables, stun baton or multi tool.
/// </summary>
[RegisterComponent]
public sealed class ArtifactElectricityTriggerComponent : Component
{
/// <summary>
/// How much power should artifact receive to operate.
/// </summary>
[DataField("minPower")]
public float MinPower = 400;
}