Virology Update #4 (#19002)

* I'm about to viro it

* I thought I was done, I was not :(

* Wrong proc oops

* Small oops

* Fix that

* Grrr nutrition
This commit is contained in:
Guti
2026-01-17 09:18:07 -08:00
committed by GitHub
parent 7990226f36
commit c885ddb9c0
25 changed files with 245 additions and 370 deletions
+3 -5
View File
@@ -100,9 +100,7 @@
/obj/structure/holosign/barrier/medical/proc/CheckHuman(mob/living/carbon/human/H)
if(H.get_species() == SPECIES_XENOCHIMERA)
return FALSE
if(H.GetViruses())
for(var/datum/disease/D in H.GetSpreadableViruses())
if(D.danger == DISEASE_POSITIVE || D.danger == DISEASE_BENEFICIAL || D.disease_flags & DORMANT || D.spread_flags & DISEASE_SPREAD_FALTERED)
continue
return FALSE
var/threat = H.check_virus()
if(get_disease_danger_value(threat) > get_disease_danger_value(DISEASE_MINOR))
return FALSE
return TRUE