mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-23 16:51:20 +03:00
18 lines
515 B
C#
18 lines
515 B
C#
namespace Content.Server.Emp;
|
|
|
|
/// <summary>
|
|
/// Upon being triggered will EMP area around it.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Access(typeof(EmpSystem))]
|
|
public sealed class EmpOnTriggerComponent : Component
|
|
{
|
|
[DataField("range"), ViewVariables(VVAccess.ReadWrite)]
|
|
public float Range = 1.0f;
|
|
|
|
/// <summary>
|
|
/// How much energy will be consumed per battery in range
|
|
/// </summary>
|
|
[DataField("energyConsumption"), ViewVariables(VVAccess.ReadWrite)]
|
|
public float EnergyConsumption;
|
|
}
|