Merge pull request #9388 from FreeStylaLT/crunch

Adds deliciously revolting bone-breaking sounds.
This commit is contained in:
Mark Mak
2018-10-15 12:52:43 +08:00
committed by GitHub
8 changed files with 4 additions and 0 deletions
@@ -608,6 +608,7 @@ Note that amputating the affected organ does in fact remove the infection from t
"<span class='warning'>You hear a loud cracking sound coming from \the [owner].</span>",\
"<span class='danger'>Something feels like it shattered in your [name]!</span>",\
"You hear a sickening crack.")
playsound(owner, "bonebreak", 150, 1)
if(owner.dna.species && !(NO_PAIN in owner.dna.species.species_traits))
owner.emote("scream")