From bef1ffc086766e1f56c2c6fc9ae30cdd64089f99 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Sat, 24 Jun 2017 14:49:11 -0500 Subject: [PATCH] Robotic legs let you use pockets without a jumpsuit, robotic chest lets you wear an ID/belt without jumpsuit --- .../mob/living/carbon/human/species.dm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index a08dd1c881..19feed308a 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -827,7 +827,10 @@ if(slot_belt) if(H.belt) return 0 - if(!H.w_uniform && !nojumpsuit) + + var/obj/item/bodypart/O = H.get_bodypart("chest") + + if(!H.w_uniform && !nojumpsuit && (!O || O.status != BODYPART_ROBOTIC)) if(!disable_warning) to_chat(H, "You need a jumpsuit before you can attach this [I.name]!") return 0 @@ -867,7 +870,9 @@ if(slot_wear_id) if(H.wear_id) return 0 - if(!H.w_uniform && !nojumpsuit) + + var/obj/item/bodypart/O = H.get_bodypart("chest") + if(!H.w_uniform && !nojumpsuit && (!O || O.status != BODYPART_ROBOTIC)) if(!disable_warning) to_chat(H, "You need a jumpsuit before you can attach this [I.name]!") return 0 @@ -879,7 +884,10 @@ return 0 if(H.l_store) return 0 - if(!H.w_uniform && !nojumpsuit) + + var/obj/item/bodypart/O = H.get_bodypart("l_leg") + + if(!H.w_uniform && !nojumpsuit && (!O || O.status != BODYPART_ROBOTIC)) if(!disable_warning) to_chat(H, "You need a jumpsuit before you can attach this [I.name]!") return 0 @@ -892,7 +900,10 @@ return 0 if(H.r_store) return 0 - if(!H.w_uniform && !nojumpsuit) + + var/obj/item/bodypart/O = H.get_bodypart("r_leg") + + if(!H.w_uniform && !nojumpsuit && (!O || O.status != BODYPART_ROBOTIC)) if(!disable_warning) to_chat(H, "You need a jumpsuit before you can attach this [I.name]!") return 0