NOBREATH check

This commit is contained in:
Miloc
2016-01-01 18:23:03 +01:00
parent 9eef40c33f
commit 48837a79f0
@@ -122,11 +122,12 @@
lifetime = 8
/obj/effect/particle_effect/smoke/bad/smoke_mob(mob/living/carbon/M)
if(..())
M.drop_item()
M.adjustOxyLoss(1)
M.emote("cough")
return 1
if (!(NOBREATH in M.dna.species.specflags))
if(..())
M.drop_item()
M.adjustOxyLoss(1)
M.emote("cough")
return 1
/obj/effect/particle_effect/smoke/bad/CanPass(atom/movable/mover, turf/target, height=0)
if(height==0) return 1