Reduce gas and jetpack capacity (#18288)

Emergency tank: 4 minutes (down from 12)
Extended Etank: 9 minutes (down from 37)
Double Etank : 15 minutes (down from 62)
Full tank : 31 minutes (down from 94)

This will make it so EVA crews actually need to watch their pressure if they spend significant time outside the station, and/or have a canister in their general vicinity.

Emergency tanks can no longer be used on timescales that far exceed escaping an emergency situation, but will probably be insufficient in extended emergencies, where access to canisters will now be much more important. How well this works in practice will have to be carefully watched.
This commit is contained in:
Errant
2023-08-04 22:40:41 +00:00
committed by GitHub
parent 084da94f6a
commit 02b06cce39
5 changed files with 128 additions and 115 deletions

View File

@@ -198,7 +198,7 @@ namespace Content.Shared.Atmos
/// <summary> /// <summary>
/// This is calculated to help prevent singlecap bombs (Overpowered tritium/oxygen single tank bombs) /// This is calculated to help prevent singlecap bombs (Overpowered tritium/oxygen single tank bombs)
/// </summary> /// </summary>
public const float MinimumTritiumOxyburnEnergy = 430000f; public const float MinimumTritiumOxyburnEnergy = 143000f;
public const float TritiumBurnOxyFactor = 100f; public const float TritiumBurnOxyFactor = 100f;
public const float TritiumBurnTritFactor = 10f; public const float TritiumBurnTritFactor = 10f;

View File

@@ -30,7 +30,7 @@ public sealed class PneumaticCannonComponent : Component
/// </summary> /// </summary>
[DataField("gasUsage")] [DataField("gasUsage")]
[ViewVariables(VVAccess.ReadWrite)] [ViewVariables(VVAccess.ReadWrite)]
public float GasUsage = 2f; public float GasUsage = 0.142f;
/// <summary> /// <summary>
/// Base projectile speed at default power. /// Base projectile speed at default power.

View File

@@ -28,10 +28,10 @@
- type: GasTank - type: GasTank
outputPressure: 21.3 outputPressure: 21.3
air: air:
# 94 minutes # 31 minutes
volume: 15 volume: 5
moles: moles:
- 6.154137219 # oxygen - 2.051379050 # oxygen
temperature: 293.15 temperature: 293.15
- type: entity - type: entity
@@ -45,58 +45,58 @@
parent: EmergencyOxygenTank parent: EmergencyOxygenTank
suffix: Filled suffix: Filled
components: components:
- type: GasTank - type: GasTank
outputPressure: 21.3 outputPressure: 21.3
air: air:
# 13 minutes # 4 minutes
volume: 2 volume: 0.66
moles: moles:
- 0.820551629 # oxygen - 0.270782035 # oxygen
temperature: 293.15 temperature: 293.15
- type: entity - type: entity
id: ExtendedEmergencyOxygenTankFilled id: ExtendedEmergencyOxygenTankFilled
parent: ExtendedEmergencyOxygenTank parent: ExtendedEmergencyOxygenTank
suffix: Filled suffix: Filled
components: components:
- type: GasTank - type: GasTank
outputPressure: 21.3 outputPressure: 21.3
air: air:
# 38 minutes # 9 minutes
volume: 6 volume: 1.5
moles: moles:
- 2.461654887 # oxygen - 0.615413715 # oxygen
temperature: 293.15 temperature: 293.15
- type: entity - type: entity
id: DoubleEmergencyOxygenTankFilled id: DoubleEmergencyOxygenTankFilled
parent: DoubleEmergencyOxygenTank parent: DoubleEmergencyOxygenTank
suffix: Filled suffix: Filled
components: components:
- type: GasTank - type: GasTank
outputPressure: 21.3 outputPressure: 21.3
air: air:
# 63 minutes # 15 minutes
volume: 10 volume: 2.5
moles: moles:
- 4.102758145 # oxygen - 1.025689525 # oxygen
temperature: 293.15 temperature: 293.15
- type: entity - type: entity
id: AirTankFilled id: AirTankFilled
parent: AirTank parent: AirTank
suffix: Filled suffix: Filled
components: components:
- type: GasTank - type: GasTank
outputPressure: 101.3 outputPressure: 101.3
air: air:
# 20 minutes due to output pressure # 6 minutes due to output pressure
volume: 15 volume: 5
moles: moles:
- 1.353910188 # 22% oxygen - 0.451303391 # 22% oxygen
- 4.800227031 # 78% nitrogen - 1.600075659 # 78% nitrogen
# 6.154137219 total # 2.051379050 total
temperature: 293.15 temperature: 293.15
- type: entity - type: entity
id: NitrogenTankFilled id: NitrogenTankFilled
@@ -104,15 +104,15 @@
suffix: Filled suffix: Filled
name: nitrogen tank name: nitrogen tank
components: components:
- type: GasTank - type: GasTank
outputPressure: 21.3 outputPressure: 21.3
air: air:
# 94 minutes # 31 minutes
volume: 15 volume: 5
moles: moles:
- 0 # oxygen not included - 0 # oxygen not included
- 6.154137219 # nitrogen - 2.051379050 # nitrogen
temperature: 293.15 temperature: 293.15
- type: entity - type: entity
id: NitrousOxideTankFilled id: NitrousOxideTankFilled
@@ -120,27 +120,27 @@
suffix: Filled suffix: Filled
name: nitrous oxide tank name: nitrous oxide tank
components: components:
- type: GasTank - type: GasTank
# 0.21 | % oxygen in normal atmosphere # 0.21 | % oxygen in normal atmosphere
# / 0.7 | % oxygen in this mixture # / 0.7 | % oxygen in this mixture
# * 101.325 | one atmosphere # * 101.325 | one atmosphere
# __________ # __________
# 30.3975 optimal output pressure # 30.3975 optimal output pressure
outputPressure: 30.4 outputPressure: 30.4
air: air:
# only 66 minutes due to pressure # only 22 minutes due to pressure
volume: 15 volume: 5
moles: moles:
- 4.30789605 # 70% oxygen - 1.435965335 # 70% oxygen
- 0 # nitrogen - 0 # nitrogen
- 0 # CO2 - 0 # CO2
- 0 # plasma - 0 # plasma
- 0 # tritium - 0 # tritium
- 0 # water vapor - 0 # water vapor
- 0 # miasma - 0 # miasma
- 1.84624116 # 30% N2O - 0.615413715 # 30% N2O
# 6.15413721 total # 2.051379050 total
temperature: 293.15 temperature: 293.15
- type: entity - type: entity
id: PlasmaTankFilled id: PlasmaTankFilled
@@ -148,14 +148,14 @@
name: plasma tank name: plasma tank
suffix: Filled suffix: Filled
components: components:
- type: GasTank - type: GasTank
outputPressure: 101.3 outputPressure: 101.3
air: air:
# 20 minutes of agony # 6 minutes of agony
volume: 15 volume: 5
moles: moles:
- 0 # oxygen - 0 # oxygen
- 0 # nitrogen - 0 # nitrogen
- 0 # CO2 - 0 # CO2
- 6.154137219 # plasma - 2.051379050 # plasma
temperature: 293.15 temperature: 293.15

View File

@@ -32,6 +32,12 @@
state: internal1 state: internal1
event: !type:ToggleActionEvent event: !type:ToggleActionEvent
useDelay: 1 useDelay: 1
outputPressure: 21.3
air:
# If gas tank volume is changed, adjust MinimumTritiumOxyburnEnergy in Atmospherics.cs by the same proportions
volume: 5
temperature: 293.15
tankLowPressure: 30.0
- type: Explosive - type: Explosive
explosionType: Default explosionType: Default
maxIntensity: 20 maxIntensity: 20
@@ -56,12 +62,8 @@
sprite: Objects/Tanks/oxygen.rsi sprite: Objects/Tanks/oxygen.rsi
- type: Item - type: Item
sprite: Objects/Tanks/oxygen.rsi sprite: Objects/Tanks/oxygen.rsi
- type: GasTank - type: Clothing
outputPressure: 21.3 sprite: Objects/Tanks/oxygen.rsi
air:
volume: 15
temperature: 293.15
tankLowPressure: 30.0
- type: entity - type: entity
parent: OxygenTank parent: OxygenTank
@@ -77,7 +79,7 @@
sprite: Objects/Tanks/yellow.rsi sprite: Objects/Tanks/yellow.rsi
- type: entity - type: entity
parent: OxygenTank parent: GasTankBase
id: NitrogenTank id: NitrogenTank
name: nitrogen tank name: nitrogen tank
description: A standard cylindrical gas tank for nitrogen. description: A standard cylindrical gas tank for nitrogen.
@@ -90,7 +92,7 @@
sprite: Objects/Tanks/red.rsi sprite: Objects/Tanks/red.rsi
- type: entity - type: entity
parent: OxygenTank parent: GasTankBase
id: EmergencyOxygenTank id: EmergencyOxygenTank
name: emergency oxygen tank name: emergency oxygen tank
description: An easily portable tank for emergencies. Contains very little oxygen, rated for survival use only. description: An easily portable tank for emergencies. Contains very little oxygen, rated for survival use only.
@@ -103,7 +105,7 @@
- type: GasTank - type: GasTank
outputPressure: 21.3 outputPressure: 21.3
air: air:
volume: 2 volume: 0.66
temperature: 293.15 temperature: 293.15
- type: Clothing - type: Clothing
sprite: Objects/Tanks/emergency.rsi sprite: Objects/Tanks/emergency.rsi
@@ -132,7 +134,7 @@
- type: GasTank - type: GasTank
outputPressure: 21.3 outputPressure: 21.3
air: air:
volume: 6 volume: 1.5
temperature: 293.15 temperature: 293.15
- type: Clothing - type: Clothing
sprite: Objects/Tanks/emergency_yellow.rsi sprite: Objects/Tanks/emergency_yellow.rsi
@@ -150,7 +152,7 @@
- type: GasTank - type: GasTank
outputPressure: 21.3 outputPressure: 21.3
air: air:
volume: 10 volume: 2.5
temperature: 293.15 temperature: 293.15
- type: Clothing - type: Clothing
sprite: Objects/Tanks/emergency_double.rsi sprite: Objects/Tanks/emergency_double.rsi
@@ -166,11 +168,15 @@
name: air tank name: air tank
description: Mixed anyone? description: Mixed anyone?
components: components:
- type: Sprite
sprite: Objects/Tanks/generic.rsi
- type: GasTank - type: GasTank
outputPressure: 101.3 outputPressure: 101.3
air: air:
volume: 15 volume: 5
temperature: 293.15 temperature: 293.15
- type: Clothing
sprite: Objects/Tanks/generic.rsi
- type: entity - type: entity
parent: GasTankBase parent: GasTankBase
@@ -185,7 +191,7 @@
- type: GasTank - type: GasTank
outputPressure: 30.4 outputPressure: 30.4
air: air:
volume: 15 volume: 5
temperature: 293.15 temperature: 293.15
- type: Clothing - type: Clothing
sprite: Objects/Tanks/anesthetic.rsi sprite: Objects/Tanks/anesthetic.rsi
@@ -203,7 +209,7 @@
- type: GasTank - type: GasTank
outputPressure: 101.3 outputPressure: 101.3
air: air:
volume: 15 volume: 5
temperature: 293.15 temperature: 293.15
- type: Clothing - type: Clothing
sprite: Objects/Tanks/plasma.rsi sprite: Objects/Tanks/plasma.rsi

View File

@@ -47,11 +47,12 @@
slots: slots:
- Back - Back
- type: GasTank - type: GasTank
outputPressure: 21.27825 outputPressure: 21.3
air: air:
volume: 70 volume: 5
temperature: 293.15 temperature: 293.15
- type: Jetpack - type: Jetpack
moleUsage: 0.00085
toggleAction: toggleAction:
icon: icon:
sprite: Objects/Tanks/Jetpacks/blue.rsi sprite: Objects/Tanks/Jetpacks/blue.rsi
@@ -91,11 +92,12 @@
- type: GasTank - type: GasTank
outputPressure: 42.6 outputPressure: 42.6
air: air:
volume: 70 # 13 minutes of thrust
volume: 5
temperature: 293.15 temperature: 293.15
moles: moles:
- 11.315 - 1.025689525 # oxygen
- 11.315 - 1.025689525 # nitrogen
#Empty black #Empty black
- type: entity - type: entity
@@ -123,11 +125,12 @@
- type: GasTank - type: GasTank
outputPressure: 42.6 outputPressure: 42.6
air: air:
volume: 70 # 13 minutes of thrust
volume: 5
temperature: 293.15 temperature: 293.15
moles: moles:
- 11.315 - 1.025689525 # oxygen
- 11.315 - 1.025689525 # nitrogen
#Empty captain #Empty captain
- type: entity - type: entity
@@ -159,11 +162,12 @@
- type: GasTank - type: GasTank
outputPressure: 42.6 outputPressure: 42.6
air: air:
volume: 70 # 13 minutes of thrust
volume: 5
temperature: 293.15 temperature: 293.15
moles: moles:
- 11.315 - 1.025689525 # oxygen
- 11.315 - 1.025689525 # nitrogen
#Empty mini #Empty mini
- type: entity - type: entity
@@ -184,7 +188,7 @@
- type: GasTank - type: GasTank
outputPressure: 42.6 outputPressure: 42.6
air: air:
volume: 20 volume: 1.5
# Filled mini # Filled mini
- type: entity - type: entity
@@ -196,11 +200,12 @@
- type: GasTank - type: GasTank
outputPressure: 42.6 outputPressure: 42.6
air: air:
# 4 minutes of thrust
volume: 1.5
temperature: 293.15 temperature: 293.15
volume: 20
moles: moles:
- 0.747 - 0.307706858 # oxygen
- 0.747 - 0.307706858 # nitrogen
#Empty security #Empty security
- type: entity - type: entity
@@ -228,11 +233,12 @@
- type: GasTank - type: GasTank
outputPressure: 42.6 outputPressure: 42.6
air: air:
volume: 70 # 13 minutes thrust
volume: 5
temperature: 293.15 temperature: 293.15
moles: moles:
- 11.315 - 1.025689525 # oxygen
- 11.315 - 1.025689525 # nitrogen
#Empty void #Empty void
- type: entity - type: entity
@@ -261,8 +267,9 @@
- type: GasTank - type: GasTank
outputPressure: 42.6 outputPressure: 42.6
air: air:
volume: 70 # 13 minutes of thrust
volume: 5
temperature: 293.15 temperature: 293.15
moles: moles:
- 11.315 - 1.025689525 # oxygen
- 11.315 - 1.025689525 # nitrogen