RespiratorSystem Cleanup (#38572)

* Respirator Debodied

* Forgot about alerts (also respirator testa and events)

* Fix Urist eating air and not giving it back

* Stop nuke ops from taking in a breath then taking in a second breath causing them to get a headache from carbon dioxide poisoning and failing TryStopNukeOpsFromConstantlyFailing();

* Consts are smelly,

* Actually we don't need to raise the entity, just the component

* Don't forget to remove the unused code today, said me yesterday

* Remove all fallbacks

* Debody that too

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
Princess Cheeseballs
2025-06-26 19:33:43 -07:00
committed by GitHub
parent e916135a9c
commit d7d83bd87c
4 changed files with 158 additions and 54 deletions

View File

@@ -63,6 +63,9 @@ public sealed class LungSystem : EntitySystem
_solutionContainerSystem.UpdateChemicals(lung.Solution.Value);
}
/* This should really be moved to somewhere in the atmos system and modernized,
so that other systems, like CondenserSystem, can use it.
*/
private void GasToReagent(GasMixture gas, Solution solution)
{
foreach (var gasId in Enum.GetValues<Gas>())