diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index e3ef4648fa4..af90d80e995 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -572,9 +572,22 @@ GLOBAL_LIST_EMPTY(damage_icon_parts) standing.alpha = w_uniform.alpha standing.color = w_uniform.color overlays_standing[UNIFORM_LAYER] = standing - else + else if(!dna.species.nojumpsuit) + var/list/uniform_slots = list() + var/obj/item/organ/external/L = get_organ(BODY_ZONE_L_LEG) + if(!(L?.status & ORGAN_ROBOT)) + uniform_slots += l_store + var/obj/item/organ/external/R = get_organ(BODY_ZONE_R_LEG) + if(!(R?.status & ORGAN_ROBOT)) + uniform_slots += r_store + var/obj/item/organ/external/C = get_organ(BODY_ZONE_CHEST) + if(!(C?.status & ORGAN_ROBOT)) + uniform_slots += wear_id + uniform_slots += wear_pda + uniform_slots += belt + // Automatically drop anything in store / id / belt if you're not wearing a uniform. //CHECK IF NECESARRY - for(var/obj/item/thing in list(r_store, l_store, wear_id, wear_pda, belt)) // whoever made this + for(var/obj/item/thing in uniform_slots) // whoever made this if(thing) // you're a piece of fucking garbage unEquip(thing) // why the fuck would you goddamn do this motherfucking shit if(client) // INVENTORY CODE IN FUCKING ICON CODE