diff --git a/Content.Server/GameObjects/Components/Power/PowerDevice.cs b/Content.Server/GameObjects/Components/Power/PowerDevice.cs index df973b4534..3ec986c6d6 100644 --- a/Content.Server/GameObjects/Components/Power/PowerDevice.cs +++ b/Content.Server/GameObjects/Components/Power/PowerDevice.cs @@ -192,6 +192,10 @@ namespace Content.Server.GameObjects.Components.Power } } + /// + /// Updates the state of whether or not this device is powered, + /// and fires off events if said state has changed. + /// private void UpdatePowered() { var oldPowered = Powered; @@ -319,6 +323,10 @@ namespace Content.Server.GameObjects.Components.Power ConnectToBestProvider(); } + /// + /// Process mechanism to keep track of internal battery and power status. + /// + /// Time since the last process frame. internal virtual void ProcessInternalPower(float frametime) { if (Owner.TryGetComponent(out var storage) && storage.CanDeductCharge(Load))