]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add atmos time compression (#21954)
authorKevin Zheng <kevinz5000@gmail.com>
Mon, 11 Dec 2023 23:59:47 +0000 (15:59 -0800)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2023 23:59:47 +0000 (15:59 -0800)
commita2ed25ad0361f641f9ca20fc7c7143722e695673
tree92c8a04ebf80ecc47c8bdfeb681f5b78bd0c5ac5
parent5d8d668a719d408f00039f8d478341204d0173ec
Add atmos time compression (#21954)

Add atmos.speedup which is effectively a atmos-only time compression
CVar. This adjusts heat capacities and transfer rates to effectively
globally speed up the time constants of atmos.

This allows faster response to heating/cooling changes and faster
cleanups (by buffing scrubbers, pumps, and everything else) that is
tunable through one global time compression CVar.

It also achieves this without any thermodynamic unsoundness.
16 files changed:
Content.Server/Atmos/EntitySystems/AirFilterSystem.cs
Content.Server/Atmos/EntitySystems/AtmosphereSystem.CVars.cs
Content.Server/Atmos/EntitySystems/AtmosphereSystem.Gases.cs
Content.Server/Atmos/Piping/Binary/EntitySystems/GasRecyclerSystem.cs
Content.Server/Atmos/Piping/Binary/EntitySystems/GasVolumePumpSystem.cs
Content.Server/Atmos/Piping/Trinary/EntitySystems/GasFilterSystem.cs
Content.Server/Atmos/Piping/Trinary/EntitySystems/PressureControlledValveSystem.cs
Content.Server/Atmos/Piping/Unary/EntitySystems/GasOutletInjectorSystem.cs
Content.Server/Atmos/Piping/Unary/EntitySystems/GasVentScrubberSystem.cs
Content.Server/Atmos/Portable/PortableScrubberSystem.cs
Content.Server/Atmos/Reactions/FrezonCoolantReaction.cs
Content.Server/Atmos/Reactions/PlasmaFireReaction.cs
Content.Server/Atmos/Reactions/TritiumFireReaction.cs
Content.Shared/CCVar/CCVars.cs
Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml
Resources/Prototypes/Entities/Structures/Power/Generation/teg.yml