[MIRROR] Makes "forced" opening and closing of doors way more sane [MDB IGNORE] (#19706)

* Makes "forced" opening and closing of doors way more sane

* Update airlock.dm

---------

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-03-10 06:41:59 +00:00
committed by GitHub
co-authored by san7890 Gandalf
parent d2acbc97d7
commit 3af2663e7c
9 changed files with 166 additions and 74 deletions
+3 -3
View File
@@ -44,9 +44,9 @@
if(airlock_target.locked)
return
attacker.visible_message(span_warning("We force the [airlock_target] to open."))
airlock_target.open(2)
airlock_target.open(BYPASS_DOOR_CHECKS)
else if(!airlock_target.hasPower())
attacker.visible_message(span_warning("We force the [airlock_target] to open."))
airlock_target.open(1)
airlock_target.open(FORCING_DOOR_CHECKS)
else
airlock_target.open(0)
airlock_target.open(DEFAULT_DOOR_CHECKS)