Swaps HV/MV/LV scaling to supply power scaling (#20880)
This commit is contained in:
@@ -170,6 +170,7 @@ namespace Content.Server.Power.Pow3r
|
||||
}
|
||||
}
|
||||
|
||||
network.LastCombinedLoad = demand;
|
||||
network.LastCombinedSupply = totalSupply + totalBatterySupply;
|
||||
network.LastCombinedMaxSupply = totalMaxSupply + totalMaxBatterySupply;
|
||||
|
||||
|
||||
@@ -488,6 +488,11 @@ namespace Content.Server.Power.Pow3r
|
||||
/// </summary>
|
||||
[ViewVariables] public List<NodeId> BatterySupplies = new();
|
||||
|
||||
/// <summary>
|
||||
/// The total load on the power network as of last tick.
|
||||
/// </summary>
|
||||
[ViewVariables] public float LastCombinedLoad = 0f;
|
||||
|
||||
/// <summary>
|
||||
/// Available supply, including both normal supplies and batteries.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user