using Content.Shared.Charges.Systems; using Robust.Shared.GameStates; namespace Content.Shared.Charges.Components; /// /// Something with limited charges that can be recharged automatically. /// Requires LimitedChargesComponent to function. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] [Access(typeof(SharedChargesSystem))] public sealed partial class AutoRechargeComponent : Component { /// /// The time it takes to regain a single charge /// [DataField, AutoNetworkedField] public TimeSpan RechargeDuration = TimeSpan.FromSeconds(90); }