2022-02-19 22:16:49 +03:00
|
|
|
|
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]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class ArtifactElectricityTriggerComponent : Component
|
2022-02-19 22:16:49 +03:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// How much power should artifact receive to operate.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("minPower")]
|
|
|
|
|
|
public float MinPower = 400;
|
|
|
|
|
|
}
|