New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Airlock improvements, mainly external [MDB IGNORE] #62161
Conversation
🎉 great pr! |
cf0009e
to
5294de7
Compare
Paramedics should get external access by default with this change. |
i might be wrong, but we don't have tweak tag anymore @Cyberboss 😢 |
Command, Security officers and Curators should get external airlock access for this PR.
I'm not 100% sold on Command having it myself, but Security/Curator are things I really feel should have it. |
They don't have it already? Wow, i thought they thinked this one 🤔 |
Parroting what I said in Discord: The fact that anyone can get through these already without access is just a consequence of how crappily we handle access for public-use shuttles; A loophole that's now being closed. If you believe those jobs should get exterior access, open a balance PR. Ideally one for each job b/c atomicity. |
This doesn't really make sense to me. Sprinting out of an airlock to dodge a sec chase/whatever it may be, is far more dangerous than continuing the chase inside. Unless you are equipped with a space suit (or space adaptation), finding another entrance that is safe from the initial danger will lead to pretty high amounts of damage. |
unfun, this is how its implemented on paradise and its fucking miserable there, external access is fun and lets you do some cool stuff or do space getaways, we shouldnt restrict people from that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks fine
Missed from #62161 Fixes lavaland airlock accesses Fixes needing ACCESS_EXTERNAL_AIRLOCK for ruin airlocks
This was intentional. There is suppose to be a way to override cycle link operations, and clicking on them was that way. Just like how windoors work. |
…n#1138) * Airlock improvements, mainly external [MDB IGNORE] (tgstation#62161) You're in space, unauthorized personnel should not be allowed to instantly jump ship, especially if doing so could vent parts of the station. At the same time, we allow self reentry in "man-overboard" scenarios. The aim is to reduce the potential for accidents without reducing crew safety as well as increase the significance of these exterior airlocks. Also makes antags think a bit as they can't simply yeet themselves into space super easily as a braindead getaway tactic. External airlocks now have a base req_access of ACCESS_EXTERNAL_AIRLOCKS. This is a non-functional change. Removed airlock's safety_mode var. Added external airlock's space_dir var. Indicates the direction anyone can enter from, but only those with access can exit to (unless the other side is considered "safe" (breathable, dense, or shuttle docked)). Cyclelinked airlocks share this value. Created proc/is_safe_turf from proc/find_safe_turf. Cycle-link operations now happen in proc/open rather than proc/bumpopen which was causing several triggers to be missed (AI activation, prying, etc...). proc/try_to_activate_door now takes an argument allowing for a bypass of access requirements. Downstreams, to port this to your maps, check every public access external airlock has the safety_mode var override removed and the outermost airlock should have space_dir set to the hazardous direction number. * Airlock improvements, mainly external [MDB IGNORE] Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
* External airlock access fixes [MDB IGNORE] (tgstation#62191) Missed from tgstation#62161 Fixes lavaland airlock accesses Fixes needing ACCESS_EXTERNAL_AIRLOCK for ruin airlocks * External airlock access fixes [MDB IGNORE] Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
About The Pull Request
Improvements to cycle-linking operation, minuscule map fixes, default cleanups, public external airlocks (arrivals, escape, pods) now respond to the presence of shuttles, and airlocks closing when shuttles depart now crush mobs. See changelog for details.
!(Demo Vid Won't Embed)
Why It's Good For The Game
You're in space, unauthorized personnel should not be allowed to instantly jump ship, especially if doing so could vent parts of the station. At the same time, we allow self reentry in "man-overboard" scenarios. The aim is to reduce the potential for accidents without reducing crew safety as well as increase the significance of these exterior airlocks. Also makes antags think a bit as they can't simply yeet themselves into space super easily as a braindead getaway tactic.
Changelog
🆑
fix: Prying open one of a pair of cycle-linked airlocks will now always close the other (if it is powered).
expansion: Arrivals, escape, and pod airlocks now restrict those without access from exiting directly to space. Use is unrestricted when entering the station or a shuttle is docked.
tweak: Shuttle departures will now force exterior airlocks closed on both the shuttle and docking bay. The lives of your fellow crew members are more important than your tardiness and limbs, employee!
fix: Fixed the numbering of escape pods in certain maps.
/:cl:
ACCESS_EXTERNAL_AIRLOCKS
. This is a non-functional change.safety_mode
var.space_dir
var. Indicates the direction anyone can enter from, but only those with access can exit to (unless the other side is considered "safe" (breathable, dense, or shuttle docked)). Cyclelinked airlocks share this value.proc/is_safe_turf
fromproc/find_safe_turf
.proc/open
rather thanproc/bumpopen
which was causing several triggers to be missed (AI activation, prying, etc...).proc/try_to_activate_door
now takes an argument allowing for a bypass of access requirements.Downstreams, to port this to your maps, check every public access external airlock has the
safety_mode
var override removed and the outermost airlock should havespace_dir
set to the hazardous direction number.