Merge pull request #7586 from SamHPurp/Coroners-have-a-stronger-stomach

Stops Coroners from barfing while doing autopsies...
This commit is contained in:
tigercat2000
2017-06-26 10:28:56 -07:00
committed by GitHub
+1 -1
View File
@@ -1074,7 +1074,7 @@
if(H.species && H.species.flags & NO_BREATHE)
return //no puking if you can't smell!
// Humans can lack a mind datum, y'know
if(H.mind && H.mind.assigned_role == "Detective")
if(H.mind && (H.mind.assigned_role == "Detective" || H.mind.assigned_role == "Coroner"))
return //too cool for puke
to_chat(H, "<spawn class='warning'>You smell something foul...")
H.fakevomit()