From 938fbb5004ffc2f043de32fe9e543c9a778a05de Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Sat, 17 Sep 2022 05:53:56 -0400 Subject: [PATCH] magboooooots (#19069) --- code/modules/atmospherics/machinery/atmospherics.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/atmospherics/machinery/atmospherics.dm b/code/modules/atmospherics/machinery/atmospherics.dm index a7a56fc4bbb..5aa4714744a 100644 --- a/code/modules/atmospherics/machinery/atmospherics.dm +++ b/code/modules/atmospherics/machinery/atmospherics.dm @@ -216,6 +216,12 @@ Pipelines + Other Objects -> Pipe network to_chat(user, "As you begin unwrenching \the [src] a gust of air blows in your face... maybe you should reconsider?") if(do_after(user, 40 * W.toolspeed, target = src) && !QDELETED(src)) + for(var/obj/item/clothing/shoes/magboots/usermagboots in user.get_equipped_items()) + if(usermagboots.gustprotection && usermagboots.magpulse) // Check again, incase they change magpulse mid-wrench + safefromgusts = TRUE + else + safefromgusts = FALSE + user.visible_message( \ "[user] unfastens \the [src].", \ "You have unfastened \the [src].", \