magboooooots (#19069)

This commit is contained in:
Contrabang
2022-09-17 10:53:56 +01:00
committed by GitHub
parent 3d2092885f
commit 938fbb5004
@@ -216,6 +216,12 @@ Pipelines + Other Objects -> Pipe network
to_chat(user, "<span class='warning'>As you begin unwrenching \the [src] a gust of air blows in your face... maybe you should reconsider?</span>")
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( \
"<span class='notice'>[user] unfastens \the [src].</span>", \
"<span class='notice'>You have unfastened \the [src].</span>", \