From 2899dbf2f50bc084906c09bfaf74e0f288a00300 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Sat, 14 May 2022 21:08:27 +0100 Subject: [PATCH] Map-disablable pumps (for fixing Delta) (#8164) --- .../Atmos/Piping/Binary/Components/GasPressurePumpComponent.cs | 1 + .../Atmos/Piping/Binary/Components/GasVolumePumpComponent.cs | 1 + .../Atmos/Piping/Trinary/Components/GasFilterComponent.cs | 1 + .../Atmos/Piping/Trinary/Components/GasMixerComponent.cs | 1 + 4 files changed, 4 insertions(+) diff --git a/Content.Server/Atmos/Piping/Binary/Components/GasPressurePumpComponent.cs b/Content.Server/Atmos/Piping/Binary/Components/GasPressurePumpComponent.cs index 4fa562ff5c..40bb842cdb 100644 --- a/Content.Server/Atmos/Piping/Binary/Components/GasPressurePumpComponent.cs +++ b/Content.Server/Atmos/Piping/Binary/Components/GasPressurePumpComponent.cs @@ -6,6 +6,7 @@ namespace Content.Server.Atmos.Piping.Binary.Components public sealed class GasPressurePumpComponent : Component { [ViewVariables(VVAccess.ReadWrite)] + [DataField("enabled")] public bool Enabled { get; set; } = true; [ViewVariables(VVAccess.ReadWrite)] diff --git a/Content.Server/Atmos/Piping/Binary/Components/GasVolumePumpComponent.cs b/Content.Server/Atmos/Piping/Binary/Components/GasVolumePumpComponent.cs index e28416e013..172c0eb32d 100644 --- a/Content.Server/Atmos/Piping/Binary/Components/GasVolumePumpComponent.cs +++ b/Content.Server/Atmos/Piping/Binary/Components/GasVolumePumpComponent.cs @@ -6,6 +6,7 @@ namespace Content.Server.Atmos.Piping.Binary.Components public sealed class GasVolumePumpComponent : Component { [ViewVariables(VVAccess.ReadWrite)] + [DataField("enabled")] public bool Enabled { get; set; } = true; [ViewVariables(VVAccess.ReadWrite)] diff --git a/Content.Server/Atmos/Piping/Trinary/Components/GasFilterComponent.cs b/Content.Server/Atmos/Piping/Trinary/Components/GasFilterComponent.cs index ccdb612d43..d7b408f369 100644 --- a/Content.Server/Atmos/Piping/Trinary/Components/GasFilterComponent.cs +++ b/Content.Server/Atmos/Piping/Trinary/Components/GasFilterComponent.cs @@ -6,6 +6,7 @@ namespace Content.Server.Atmos.Piping.Trinary.Components public sealed class GasFilterComponent : Component { [ViewVariables(VVAccess.ReadWrite)] + [DataField("enabled")] public bool Enabled { get; set; } = true; [ViewVariables(VVAccess.ReadWrite)] diff --git a/Content.Server/Atmos/Piping/Trinary/Components/GasMixerComponent.cs b/Content.Server/Atmos/Piping/Trinary/Components/GasMixerComponent.cs index 8858663faf..6e58a1685e 100644 --- a/Content.Server/Atmos/Piping/Trinary/Components/GasMixerComponent.cs +++ b/Content.Server/Atmos/Piping/Trinary/Components/GasMixerComponent.cs @@ -8,6 +8,7 @@ namespace Content.Server.Atmos.Piping.Trinary.Components public sealed class GasMixerComponent : Component { [ViewVariables(VVAccess.ReadWrite)] + [DataField("enabled")] public bool Enabled = true; [ViewVariables(VVAccess.ReadWrite)]