Makes morgue and genetics less of a puke stained shitholes. Closed bodybags and medical masks stop people from puking from bodies now.

This commit is contained in:
ZomgPonies
2014-05-18 19:15:51 -04:00
parent d2c82c2111
commit bfd6132f93

View File

@@ -1787,12 +1787,12 @@
makeSkeleton()
return //No puking over skeletons, they don't smell at all!
// if(loc == /obj/structure/morgue)
// return
for(var/mob/living/carbon/human/H in range(decaylevel, src))
if(prob(5))
if(airborne_can_reach(get_turf(src), get_turf(H)))
if(loc == istype(loc,/obj/item/bodybag)) return
if(H.wear_mask && H.wear_mask == istype(H.wear_mask,/obj/item/clothing/mask/surgical)) return
H << "<spawn class='warning'>You smell something foul..."
H.vomit()