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:
cib
2012-01-01 20:50:46 -08:00
parent bc18887dc7
commit 40fb4bb628
5 changed files with 36 additions and 3 deletions
+5 -2
View File
@@ -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)