]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Make miners respect AtmosDeviceUpdateEvent.dt (#29522)
authorGuillaume E <262623+quatre@users.noreply.github.com>
Fri, 28 Jun 2024 18:49:39 +0000 (20:49 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jun 2024 18:49:39 +0000 (10:49 -0800)
commitc38859b77a29e3534179bfdfe7ea562d69909444
tree54a896300f3014860629d6c2b407e1b569900fdd
parent9e4b8077f3295931556e7b1892f6b2ddcd9d7ab6
Make miners respect AtmosDeviceUpdateEvent.dt (#29522)

Miners' prototype have been changed to reflect this (I read
somewhere that we have about 1 atmos tick/0.5s, my tests show more
like 1/0.53 but that looks close enough).

This also means that miner's spawnAmount is now expressed in mol/s.

See: #18781
Content.Server/Atmos/Piping/Other/Components/GasMinerComponent.cs
Content.Server/Atmos/Piping/Other/EntitySystems/GasMinerSystem.cs
Resources/Prototypes/Entities/Structures/Piping/Atmospherics/miners.yml