Files
Bubberstation/code/game/machinery/embedded_controller
SkyratBot 7bf6b0092f [MIRROR] Fixes burn chamber cycling to exterior airlock [MDB IGNORE] (#18591)
* Fixes burn chamber cycling to exterior airlock (#72418)

## About The Pull Request

When the ordnance/incinerator burn chamber was cycling to exterior air
lock, it got stuck on depressurizing. Turns out, the issues was that
during a recent refactor, a command that turned on the dual port pump
was missed, so depressurization could never finish. I have fixed this,
and also simplified the similar check during repressurization. I hope I
fixed it correctly.

Furthermore, I have noticed that an old check called by the airlock
sensor was still thinking that the defines were numbers, meaning that if
you got stuck inside the chamber, and hit it to initiate cycling, it did
not work. This has been likewise fixed.

Not in the scope of this PR: burn chambers with sanitize_external set to
true won't let you abort depressurization. In those chambers, hitting
abort while cycling to external airlock means that when depressurization
ends, it won't open the external airlocks. This should be communicated
better to the player, but this is out of scope of this fix.

## Why It's Good For The Game

Fixes #71777

It is good to be able to properly cycle the burn chamber doors, in case
you want to edit the pipes. Using the airlock sensor while trapped
inside the depressurizing chamber should let you.

## Changelog

🆑
fix: burn chambers will not get stuck on depressurizing while cycling to
exterior airlocks
fix: using an airlock sensor will properly cycle the air inside the
chamber
/🆑

* Fixes burn chamber cycling to exterior airlock

Co-authored-by: Profakos <profakos@gmail.com>
2023-01-08 22:56:28 -08:00
..