From a3e82c0eafded430626519b49c6dcc52e9f3c58a Mon Sep 17 00:00:00 2001 From: morrowwolf Date: Mon, 11 Sep 2023 01:32:42 -0400 Subject: [PATCH] Stops queen prying open lifeboat hatches (#4374) # About the pull request Stops queen prying open lifeboat hatches which was causing people to float out into space and all sorts of insanity. # Explain why it's good for the game SPACE BAD # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: Morrow fix: Fixed queens prying open lifeboat double doors /:cl: --------- Co-authored-by: harryob --- code/game/machinery/doors/multi_tile.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/machinery/doors/multi_tile.dm b/code/game/machinery/doors/multi_tile.dm index e6dccbdedbac..797a82bead76 100644 --- a/code/game/machinery/doors/multi_tile.dm +++ b/code/game/machinery/doors/multi_tile.dm @@ -271,6 +271,7 @@ unacidable = TRUE no_panel = 1 not_weldable = 1 + var/queen_pryable = TRUE /obj/structure/machinery/door/airlock/multi_tile/almayer/dropshiprear/ex_act(severity) return @@ -285,6 +286,9 @@ if(xeno.hive_pos != XENO_QUEEN) return ..() + if(!queen_pryable) + return ..() + if(!locked) return ..() @@ -316,6 +320,7 @@ locked = TRUE opacity = FALSE glass = TRUE + queen_pryable = FALSE var/throw_dir = EAST /obj/structure/machinery/door/airlock/multi_tile/almayer/dropshiprear/lifeboat/try_to_activate_door(mob/user)