From 9c844c8aed5cc1a8852cc12d031b0c9ccc2fc962 Mon Sep 17 00:00:00 2001 From: Kara Date: Sun, 1 Jan 2023 23:05:37 -0600 Subject: [PATCH] Relax water vapor threshold (#13280) --- Content.Client/Atmos/Monitor/UI/Widgets/SensorInfo.xaml.cs | 4 ---- Resources/Prototypes/Atmospherics/thresholds.yml | 7 +++++++ .../Entities/Structures/Piping/Atmospherics/unary.yml | 4 ++-- .../Entities/Structures/Specific/Atmospherics/sensor.yml | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Content.Client/Atmos/Monitor/UI/Widgets/SensorInfo.xaml.cs b/Content.Client/Atmos/Monitor/UI/Widgets/SensorInfo.xaml.cs index fa7cb970cd..da602cd747 100644 --- a/Content.Client/Atmos/Monitor/UI/Widgets/SensorInfo.xaml.cs +++ b/Content.Client/Atmos/Monitor/UI/Widgets/SensorInfo.xaml.cs @@ -77,10 +77,6 @@ public sealed partial class SensorInfo : BoxContainer { OnThresholdUpdate!(_address, type, threshold, arg3); }; - - foreach (var (gas, threshold) in data.GasThresholds) - { - } } public void ChangeData(AtmosSensorData data) diff --git a/Resources/Prototypes/Atmospherics/thresholds.yml b/Resources/Prototypes/Atmospherics/thresholds.yml index 1c44d77834..b93174a39a 100644 --- a/Resources/Prototypes/Atmospherics/thresholds.yml +++ b/Resources/Prototypes/Atmospherics/thresholds.yml @@ -39,6 +39,13 @@ upperWarnAround: !type:AlarmThresholdSetting threshold: 0.5 +- type: alarmThreshold + id: stationWaterVapor + upperBound: !type:AlarmThresholdSetting + threshold: 1.5 + upperWarnAround: !type:AlarmThresholdSetting + threshold: 0.5 + - type: alarmThreshold id: stationNO upperBound: !type:AlarmThresholdSetting diff --git a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml index 2e5f06e457..460f9ed9a4 100644 --- a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml +++ b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml @@ -48,7 +48,7 @@ CarbonDioxide: stationCO2 Plasma: danger # everything below is usually bad Tritium: danger - WaterVapor: danger + WaterVapor: stationWaterVapor Miasma: stationMiasma NitrousOxide: stationNO Frezon: danger @@ -139,7 +139,7 @@ CarbonDioxide: stationCO2 Plasma: danger # everything below is usually bad Tritium: danger - WaterVapor: danger + WaterVapor: stationWaterVapor Miasma: stationMiasma NitrousOxide: stationNO Frezon: danger diff --git a/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml b/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml index 0f35247272..774a8814fd 100644 --- a/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml +++ b/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml @@ -53,7 +53,7 @@ CarbonDioxide: stationCO2 Plasma: danger # everything below is usually bad Tritium: danger - WaterVapor: danger + WaterVapor: stationWaterVapor Miasma: stationMiasma NitrousOxide: stationNO Frezon: danger