]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Increase air alarm low pressure thresholds.
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Sun, 17 Mar 2024 21:38:48 +0000 (22:38 +0100)
committerPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Sun, 17 Mar 2024 21:38:48 +0000 (22:38 +0100)
If a room's pressure drops it can become unbreathable long before people start taking pressure damage, and so also long before the air alarm starts reporting a danger state. I've increased the values so that the air alarm should show danger if the pressure becomes so low as to be unbreathable.

Resources/Prototypes/Atmospherics/thresholds.yml

index 9b09d64a10ceeeef19151cd8f1c8cdbe318bf59c..bd7df23841f2d91b0b7b7e69ea026241fcdc0975 100644 (file)
 - type: alarmThreshold
   id: stationPressure
   upperBound: !type:AlarmThresholdSetting
-    threshold: 550 # as defined in Atmospherics.cs
+    threshold: 550 # HazardHighPressure from Atmospherics.cs
   lowerBound: !type:AlarmThresholdSetting
-    threshold: 20 # as defined in Atmospherics.cs
+    # Actual low pressure damage threshold is at 20 kPa, but below ~85 kPa you can't breathe due to lack of oxygen.
+    threshold: 85
   upperWarnAround: !type:AlarmThresholdSetting
-    threshold: 0.7
+    threshold: 0.7 # 385 kPa, WarningHighPressure from Atmospherics.cs
   lowerWarnAround: !type:AlarmThresholdSetting
-    threshold: 2.5
+    threshold: 1.05 # ~90 kPa
 
 # a reminder that all of these are percentages (where 1 is 100%),
 # so 0.01 is 1%,