mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
24 lines
599 B
C#
24 lines
599 B
C#
namespace Content.Server.Electrocution;
|
|
|
|
/// <summary>
|
|
/// Component for virtual electrocution entities (representing an in-progress shock).
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Access(typeof(ElectrocutionSystem))]
|
|
public sealed partial class ElectrocutionComponent : Component
|
|
{
|
|
[DataField("electrocuting")]
|
|
public EntityUid Electrocuting;
|
|
|
|
[DataField("source")]
|
|
public EntityUid Source;
|
|
|
|
[DataField("timeLeft")]
|
|
public float TimeLeft;
|
|
|
|
[DataField("accumDamage")]
|
|
public float AccumulatedDamage;
|
|
|
|
[DataField("baseDamage")]
|
|
public float BaseDamage = 20f;
|
|
}
|