From 57f28af1fd80841044d3283fa9294724ccd7bb3c Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Mon, 27 Apr 2020 11:18:03 -0400 Subject: [PATCH] Prevent protean repairs using fire and cables Doesn't make much sense --- code/game/objects/items/weapons/tools/weldingtool.dm | 5 +++++ code/modules/power/cable.dm | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/code/game/objects/items/weapons/tools/weldingtool.dm b/code/game/objects/items/weapons/tools/weldingtool.dm index 60ea0103b34..bdd81f12a09 100644 --- a/code/game/objects/items/weapons/tools/weldingtool.dm +++ b/code/game/objects/items/weapons/tools/weldingtool.dm @@ -68,6 +68,11 @@ if(!S || S.robotic < ORGAN_ROBOT || S.open == 3) return ..() + //VOREStation Add - No welding nanoform limbs + if(S.robotic > ORGAN_LIFELIKE) + return ..() + //VOREStation Add End + if(S.organ_tag == BP_HEAD) if(H.head && istype(H.head,/obj/item/clothing/head/helmet/space)) to_chat(user, "You can't apply [src] through [H.head]!") diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm index ab535081b63..fbb632e0401 100644 --- a/code/modules/power/cable.dm +++ b/code/modules/power/cable.dm @@ -556,6 +556,11 @@ obj/structure/cable/proc/cableColor(var/colorC) if(!S || S.robotic < ORGAN_ROBOT || S.open == 3) return ..() + //VOREStation Add - No welding nanoform limbs + if(S.robotic > ORGAN_LIFELIKE) + return ..() + //VOREStation Add End + if(S.organ_tag == BP_HEAD) if(H.head && istype(H.head,/obj/item/clothing/head/helmet/space)) to_chat(user, "You can't apply [src] through [H.head]!")