6
StarHorizon_Public/Content.Server/Electrocution/Components/ActivatedElectrifiedComponent.cs
2025-11-15 12:24:44 +03:00

15 lines
430 B
C#

namespace Content.Server.Electrocution;
/// <summary>
/// Updates every frame for short duration to check if electrifed entity is powered when activated, e.g to play animation
/// </summary>
[RegisterComponent]
public sealed partial class ActivatedElectrifiedComponent : Component
{
/// <summary>
/// How long electrified entity will remain active
/// </summary>
[ViewVariables]
public float TimeLeft = 1f;
}