Changed sneezing to spread viruses like cough, but only in front of the mob.

It gives a warning sometimes, so guy has 7 ticks to face elsewhere.
This commit is contained in:
Chinsky
2014-03-10 17:10:35 +04:00
parent fa274ab1a7
commit d04b22e950

View File

@@ -319,7 +319,12 @@
name = "Coldingtons Effect"
stage = 1
activate(var/mob/living/carbon/mob,var/multiplier)
if (prob(30))
mob << "<span class='warning'>You feel like you are about to sneeze!</span>"
sleep(5)
mob.say("*sneeze")
for(var/mob/living/carbon/M in get_step(mob,mob.dir))
mob.spread_disease_to(M)
if (prob(50))
var/obj/effect/decal/cleanable/mucus/M = new(get_turf(mob))
M.virus2 = virus_copylist(mob.virus2)