mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Mucus and a few fixes to vira.
Added mucus that is added to the map sometimes when sneezing or coughing. Blood now carries the spiller's virus2. Fixed a problem with virus spreading.
This commit is contained in:
@@ -998,9 +998,12 @@
|
||||
D.cure()
|
||||
|
||||
if(!virus2)
|
||||
for(var/obj/effect/decal/cleanable/blood/B in src.loc)
|
||||
if(B.virus2)
|
||||
for(var/obj/effect/decal/cleanable/blood/B in view(1,src))
|
||||
if(B.virus2 && get_infection_chance())
|
||||
infect_virus2(src,B.virus2)
|
||||
for(var/obj/effect/decal/cleanable/mucus/M in view(1,src))
|
||||
if(M.virus2 && get_infection_chance())
|
||||
infect_virus2(src,M.virus2)
|
||||
else
|
||||
virus2.activate(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user