diff --git a/Content.Server/Power/Components/PowerConsumerComponent.cs b/Content.Server/Power/Components/PowerConsumerComponent.cs index 7036729752..73c49d0f38 100644 --- a/Content.Server/Power/Components/PowerConsumerComponent.cs +++ b/Content.Server/Power/Components/PowerConsumerComponent.cs @@ -16,6 +16,10 @@ namespace Content.Server.Power.Components [ViewVariables(VVAccess.ReadWrite)] public float DrawRate { get => NetworkLoad.DesiredPower; set => NetworkLoad.DesiredPower = value; } + [DataField("showInMonitor")] + [ViewVariables(VVAccess.ReadWrite)] + public bool ShowInMonitor { get; set; } = true; + /// /// How much power this is currently receiving from s. /// diff --git a/Content.Server/Power/EntitySystems/PowerMonitoringConsoleSystem.cs b/Content.Server/Power/EntitySystems/PowerMonitoringConsoleSystem.cs index 5332d3df18..32824d47dc 100644 --- a/Content.Server/Power/EntitySystems/PowerMonitoringConsoleSystem.cs +++ b/Content.Server/Power/EntitySystems/PowerMonitoringConsoleSystem.cs @@ -53,6 +53,9 @@ internal sealed class PowerMonitoringConsoleSystem : EntitySystem { foreach (PowerConsumerComponent pcc in netQ.Consumers) { + if (!pcc.ShowInMonitor) + continue; + loads.Add(LoadOrSource(pcc, pcc.DrawRate, false)); totalLoads += pcc.DrawRate; } diff --git a/Resources/Prototypes/Entities/Structures/Walls/grille.yml b/Resources/Prototypes/Entities/Structures/Walls/grille.yml index d646cd5594..95713a30f7 100644 --- a/Resources/Prototypes/Entities/Structures/Walls/grille.yml +++ b/Resources/Prototypes/Entities/Structures/Walls/grille.yml @@ -35,6 +35,7 @@ damageContainer: Inorganic damageModifierSet: FlimsyMetallic - type: PowerConsumer + showInMonitor: false - type: Electrified requirePower: true noWindowInTile: true