Buffed protections.

Full biosuits and spacesuits now protect more against airborne infections, and completely against touch-based ones (when worn with gloves).
This commit is contained in:
Chinsky
2014-03-09 22:57:09 +04:00
parent 4177323dca
commit 0cb8a3377c

View File

@@ -13,14 +13,19 @@ proc/get_infection_chance(var/mob/living/carbon/M, var/vector = "Airborne")
score += 5 score += 5
if(istype(M:wear_mask, /obj/item/clothing/mask/surgical) && !M.internal) if(istype(M:wear_mask, /obj/item/clothing/mask/surgical) && !M.internal)
score += 10 score += 10
if(istype(M:wear_suit, /obj/item/clothing/suit/space) && istype(M:head, /obj/item/clothing/head/helmet/space)) score += 15 if(istype(M:wear_suit, /obj/item/clothing/suit/space) && istype(M:head, /obj/item/clothing/head/helmet/space))
if(istype(M:wear_suit, /obj/item/clothing/suit/bio_suit) && istype(M:head, /obj/item/clothing/head/bio_hood)) score += 15 score += 20
if(istype(M:wear_suit, /obj/item/clothing/suit/bio_suit) && istype(M:head, /obj/item/clothing/head/bio_hood))
score += 30
if (vector == "Contact") if (vector == "Contact")
if(M:gloves) score += 15 if(M:gloves) score += 15
if(istype(M:wear_suit, /obj/item/clothing/suit/space)) score += 10 if(istype(M:wear_suit, /obj/item/clothing/suit/space) && istype(M:head, /obj/item/clothing/head/helmet/space))
if(istype(M:wear_suit, /obj/item/clothing/suit/bio_suit)) score += 10 score += 15
if(istype(M:wear_suit, /obj/item/clothing/suit/bio_suit) && istype(M:head, /obj/item/clothing/head/bio_hood))
score += 15
// log_debug("[M]'s resistance to [vector] viruses: [score]") // log_debug("[M]'s resistance to [vector] viruses: [score]")