nobreath good

This commit is contained in:
Miloc
2016-01-01 18:48:45 +01:00
parent 48837a79f0
commit df1787daf3
2 changed files with 7 additions and 6 deletions
@@ -122,12 +122,11 @@
lifetime = 8
/obj/effect/particle_effect/smoke/bad/smoke_mob(mob/living/carbon/M)
if (!(NOBREATH in M.dna.species.specflags))
if(..())
M.drop_item()
M.adjustOxyLoss(1)
M.emote("cough")
return 1
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
@@ -306,6 +306,8 @@
if(head)
if(head.flags & BLOCK_GAS_SMOKE_EFFECT)
. = 1
if(NOBREATH in dna.species.specflags)
. = 1
return .
/mob/living/carbon/human/proc/handle_embedded_objects()
for(var/obj/item/organ/limb/L in organs)