mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
14 lines
430 B
C#
14 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;
|
|
}
|