Skip to content

Commit

Permalink
Revert "smoke again, yippee"
Browse files Browse the repository at this point in the history
This reverts commit fc43a68.
  • Loading branch information
Ediblebomb committed Aug 8, 2024
1 parent 1b97f79 commit e38bc78
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions code/game/objects/effects/effect_system/smoke.dm
Original file line number Diff line number Diff line change
Expand Up @@ -131,21 +131,18 @@
for(var/mob/living/carbon/M in get_turf(src))
affect(M)

/obj/effect/particle_effect/smoke/bad/affect(mob/living/carbon/human/M)
/obj/effect/particle_effect/smoke/bad/affect(mob/living/carbon/M)
..()
if (M.internal != null && M.wear_mask && (M.wear_mask.flags_inventory & ALLOWINTERNALS))
return
if(M.wear_mask && (M.wear_mask.flags_inventory & BLOCKGASEFFECT))
return FALSE
if(M.head && (M.head.flags_inventory & BLOCKGASEFFECT))
return FALSE
else
if(prob(20))
M.drop_held_item()
M.apply_damage(1, OXY)
if(M.coughedtime != 1)
M.coughedtime = 1
M.emote("cough")
if(ishuman(M)) //Humans only to avoid issues
M.emote("cough")
addtimer(VARSET_CALLBACK(M, coughedtime, 0), 2 SECONDS)

/////////////////////////////////////////////
Expand Down

0 comments on commit e38bc78

Please sign in to comment.