CatStation/Content.Shared/Revenant/Components/RevenantOverloadedLightsComponent.cs
deltanedas cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00

30 lines
776 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Revenant.Components;
/// <summary>
/// This is used for tracking lights that are overloaded
/// and are about to zap a player.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class RevenantOverloadedLightsComponent : Component
{
[ViewVariables]
public EntityUid? Target;
[ViewVariables(VVAccess.ReadWrite)]
public float Accumulator = 0;
[ViewVariables(VVAccess.ReadWrite)]
public float ZapDelay = 3f;
[ViewVariables(VVAccess.ReadWrite)]
public float ZapRange = 4f;
[DataField]
public EntProtoId ZapBeamEntityId = "LightningRevenant";
public float? OriginalEnergy;
public bool OriginalEnabled = false;
}