mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Fixes #5264
Viruses are properly transferred to spilled blood now. Antigens prevent from infection properly. Lowered frequency of blood puddle virus check to cut down on processing. Conflicts: code/game/turfs/simulated.dm code/modules/mob/living/carbon/human/life.dm code/modules/organs/blood.dm code/modules/reagents/Chemistry-Reagents.dm
This commit is contained in:
@@ -63,10 +63,11 @@ proc/airborne_can_reach(turf/source, turf/target, var/radius=5)
|
||||
if ("[disease.uniqueID]" in M.virus2)
|
||||
return 0
|
||||
// if one of the antibodies in the mob's body matches one of the disease's antigens, don't infect
|
||||
if(M.antibodies & disease.antigen != 0)
|
||||
if((M.antibodies & disease.antigen) != 0)
|
||||
return
|
||||
if(M.reagents.has_reagent("spaceacillin"))
|
||||
return
|
||||
|
||||
if(istype(M,/mob/living/carbon/monkey))
|
||||
var/mob/living/carbon/monkey/chimp = M
|
||||
if (!(chimp.greaterform in disease.affected_species))
|
||||
|
||||
Reference in New Issue
Block a user