2023-03-09 11:30:00 +03:00
|
|
|
using Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Systems;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Artifact that EMP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
[Access(typeof(EmpArtifactSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class EmpArtifactComponent : Component
|
2023-03-09 11:30:00 +03:00
|
|
|
{
|
|
|
|
|
[DataField("range"), ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public float Range = 4f;
|
|
|
|
|
|
|
|
|
|
[DataField("energyConsumption"), ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public float EnergyConsumption = 1000000;
|
2023-05-07 01:26:04 +10:00
|
|
|
|
|
|
|
|
[DataField("disableDuration"), ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public float DisableDuration = 60f;
|
2023-03-09 11:30:00 +03:00
|
|
|
}
|