From d912aa9fcc032dd2d23a87f1f0a771525c795a7d Mon Sep 17 00:00:00 2001 From: Batrachophreno Date: Fri, 24 Apr 2026 17:42:03 -0400 Subject: [PATCH] Airlock repair (#22327) changes: - bugfix: "Airlocks can again be repaired by using hammers on them with an appropriate stack of materials in your offhand." --- code/game/machinery/doors/airlock.dm | 13 ------------- html/changelogs/Bat-AirlockRepair.yml | 4 ++++ 2 files changed, 4 insertions(+), 13 deletions(-) create mode 100644 html/changelogs/Bat-AirlockRepair.yml diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index 9f129b30a65..440baa8e05c 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -1882,19 +1882,6 @@ About the new airlock wires panel: else to_chat(user, SPAN_WARNING("You need to be wielding \the [attacking_item] to do that.")) return TRUE - else if(attacking_item.tool_behaviour == TOOL_HAMMER) - if(locked && user.a_intent != I_HURT) - to_chat(user, SPAN_NOTICE("The airlock's bolts prevent it from being forced.")) - else if(user.a_intent == I_HURT) - ..() - else if(arePowerSystemsOn()) - to_chat(user, SPAN_NOTICE("The airlock's motors resist your efforts to force it.")) - else if(!welded && !operating) - if(density) - open(1) - else - close(1) - return TRUE else if(density && istype(attacking_item, /obj/item/material/twohanded/chainsaw)) var/obj/item/material/twohanded/chainsaw/ChainSawVar = attacking_item if(!ChainSawVar.wielded) diff --git a/html/changelogs/Bat-AirlockRepair.yml b/html/changelogs/Bat-AirlockRepair.yml new file mode 100644 index 00000000000..00a961f8053 --- /dev/null +++ b/html/changelogs/Bat-AirlockRepair.yml @@ -0,0 +1,4 @@ +author: Batrachophrenoobocosmomachia +delete-after: True +changes: + - bugfix: "Airlocks can again be repaired by using hammers on them with an appropriate stack of materials in your offhand."