mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
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:
@@ -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]")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user