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
+3
View File
@@ -146,4 +146,7 @@
'sound/machines/terminal_button07.ogg', 'sound/machines/terminal_button08.ogg')
if("growls")
soundin = pick('sound/goonstation/voice/growl1.ogg', 'sound/goonstation/voice/growl2.ogg', 'sound/goonstation/voice/growl3.ogg')
if("bonebreak")
soundin = pick('sound/effects/bone_break_1.ogg', 'sound/effects/bone_break_2.ogg', 'sound/effects/bone_break_3.ogg', 'sound/effects/bone_break_4.ogg', 'sound/effects/bone_break_5.ogg', 'sound/effects/bone_break_6.ogg')
return soundin
@@ -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")
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.