Files
tbd-station-14/Content.Server/Power/Components/BreakerComponent.cs
deltanedas 6acfe53e5f add breakers to power batteries (#16903)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-06-07 12:43:54 -07:00

15 lines
398 B
C#

using Content.Server.Power.EntitySystems;
namespace Content.Server.Power.Components;
[RegisterComponent]
[Access(typeof(BreakerSystem))]
public sealed class BreakerComponent : Component
{
/// <summary>
/// Once power supplied exceeds this limit the breaker will pop.
/// </summary>
[DataField("limit", required: true), ViewVariables(VVAccess.ReadWrite)]
public float Limit;
}