using Content.Shared.Power.EntitySystems; using Content.Shared.Guidebook; namespace Content.Shared.Power.Components; /// /// Battery node on the pow3r network. Needs other components to connect to actual networks. /// [RegisterComponent] [Virtual] [Access(typeof(SharedBatterySystem))] public partial class BatteryComponent : Component { /// /// Maximum charge of the battery in joules (i.e. watt seconds) /// [DataField] [GuidebookData] public float MaxCharge; /// /// Current charge of the battery in joules (ie. watt seconds) /// [DataField("startingCharge")] // TODO: rename this datafield to currentCharge public float CurrentCharge; /// /// The price per one joule. Default is 1 speso for 10kJ. /// [DataField] public float PricePerJoule = 0.0001f; }