Update human_defense.dm

This commit is contained in:
blobbernaut
2015-10-24 13:26:44 -04:00
parent 66d724a9b3
commit ac5c67d2a8
@@ -27,7 +27,7 @@ emp_act
/mob/living/carbon/human/proc/checkarmor(obj/item/organ/limb/def_zone, type)
if(!type) return 0
var/protection = 0
var/list/body_parts = list(head, wear_mask, wear_suit, w_uniform, back, gloves, shoes, belt, s_store) //List of body parts which can be armored. Currently everything but ID slot, glassses, and ears.
var/list/body_parts = list(head, wear_mask, wear_suit, w_uniform, back, gloves, shoes, belt, s_store, glasses, ears, wear_id) //Everything but pockets. Pockets are l_store and r_store. (if pockets were allowed, putting something armored, gloves or hats for example, would double up on the armor)
for(var/bp in body_parts)
if(!bp) continue
if(bp && istype(bp ,/obj/item/clothing))