mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Miscellaneous virology fixes/adjustments (#11032)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8529a33efd
commit
5c0aeb5b05
@@ -188,6 +188,14 @@
|
||||
viruses_to_return += D
|
||||
return viruses_to_return
|
||||
|
||||
/mob/proc/GetDormantDiseases()
|
||||
LAZYINITLIST(viruses)
|
||||
var/list/viruses_to_return = list()
|
||||
for(var/datum/disease/D in viruses)
|
||||
if(D.virus_modifiers & DORMANT)
|
||||
viruses_to_return += D
|
||||
return viruses_to_return
|
||||
|
||||
/mob/proc/GetResistances()
|
||||
LAZYINITLIST(resistances)
|
||||
return resistances
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
. = FALSE
|
||||
var/sickrisk = 1
|
||||
|
||||
if(isSynthetic() || species.virus_immune || HAS_TRAIT(src, STRONG_IMMUNITY_TRAIT)) // Don't bother
|
||||
if(isSynthetic() || HAS_TRAIT(src, STRONG_IMMUNITY_TRAIT)) // Don't bother
|
||||
return
|
||||
|
||||
switch(get_species())
|
||||
|
||||
Reference in New Issue
Block a user