Merge pull request #10800 from Fox-McCloud/no-breathe-no-talk

Lack of Breath Incurs Silence
This commit is contained in:
variableundefined
2019-02-03 13:25:06 +08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
@@ -91,6 +91,9 @@
var/obj/item/organ/internal/L = get_organ_slot("lungs")
if((breathes && !L) || breathes && L && (L.status & ORGAN_DEAD))
return FALSE
if(oxyloss > 10 || losebreath >= 4)
emote("gasp")
return FALSE
if(mind)
return !mind.miming
return TRUE