Files
tbd-station-14/Content.Server/Power/NodeGroups/IBasePowerNet.cs
Pieter-Jan Briers f855cb2b00 Make PACMANs a little better (#24604)
* PACMAN generators show network load/supply.

This gives more feedback to players that their PACMAN is properly connected and what the network status is (i.e. you don't have enough generators).

* Buff JRPACMAN to 8 kW.

Shifted all power values up by +3 kW.

They're frequently too weak to power even single rooms so they deserve a buff.

* Change unit format helpers number format.

Always displays one digit of precision. This avoids jumping around when a value is changing live.
2024-01-26 21:53:43 -05:00

29 lines
944 B
C#

using Content.Server.Power.Components;
using Content.Server.Power.Pow3r;
namespace Content.Server.Power.NodeGroups
{
public interface IBasePowerNet
{
/// <summary>
/// Indicates whether this network forms some form of connection (more than one node).
/// </summary>
/// <remarks>
/// Even "unconnected" power devices form a single-node power network all by themselves.
/// To players, this doesn't look like they're connected to anything.
/// This property accounts for this and forms a more intuitive check.
/// </remarks>
bool IsConnectedNetwork { get; }
void AddConsumer(PowerConsumerComponent consumer);
void RemoveConsumer(PowerConsumerComponent consumer);
void AddSupplier(PowerSupplierComponent supplier);
void RemoveSupplier(PowerSupplierComponent supplier);
PowerState.Network NetworkNode { get; }
}
}