]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Atmos Delta-Pressure Window Shattering (#39238)
authorArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Wed, 3 Sep 2025 23:58:48 +0000 (16:58 -0700)
committerGitHub <noreply@github.com>
Wed, 3 Sep 2025 23:58:48 +0000 (16:58 -0700)
commit20f2cb920b2a1c593fdf98da44809a18f03c4caa
treec409a4511433c9238210a03c18cd71fb002bbf87
parentf63eb2e97af9372988e13865ae2ff9b73b8b2ba7
Atmos Delta-Pressure Window Shattering (#39238)

This PR adds delta-pressure damage. In short, airtight structures can now take damage proportional to the difference in pressures between the sides of the structure.
22 files changed:
Content.Benchmarks/DeltaPressureBenchmark.cs [new file with mode: 0644]
Content.IntegrationTests/Tests/Atmos/DeltaPressureTest.cs [new file with mode: 0644]
Content.Server/Atmos/Components/DeltaPressureComponent.cs [new file with mode: 0644]
Content.Server/Atmos/Components/GridAtmosphereComponent.cs
Content.Server/Atmos/EntitySystems/AtmosphereSystem.API.cs
Content.Server/Atmos/EntitySystems/AtmosphereSystem.BenchmarkHelpers.cs [new file with mode: 0644]
Content.Server/Atmos/EntitySystems/AtmosphereSystem.CVars.cs
Content.Server/Atmos/EntitySystems/AtmosphereSystem.DeltaPressure.cs [new file with mode: 0644]
Content.Server/Atmos/EntitySystems/AtmosphereSystem.Processing.cs
Content.Server/Atmos/EntitySystems/AtmosphereSystem.cs
Content.Server/Atmos/EntitySystems/DeltaPressureSystem.cs [new file with mode: 0644]
Content.Shared/CCVar/CCVars.Atmos.cs
Resources/Locale/en-US/atmos/delta-pressure-component.ftl [new file with mode: 0644]
Resources/Maps/Test/Atmospherics/DeltaPressure/deltapressuretest.yml [new file with mode: 0644]
Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml
Resources/Prototypes/Entities/Structures/Windows/plasma.yml
Resources/Prototypes/Entities/Structures/Windows/reinforced.yml
Resources/Prototypes/Entities/Structures/Windows/rplasma.yml
Resources/Prototypes/Entities/Structures/Windows/ruranium.yml
Resources/Prototypes/Entities/Structures/Windows/shuttle.yml
Resources/Prototypes/Entities/Structures/Windows/uranium.yml
Resources/Prototypes/Entities/Structures/Windows/window.yml