Sounds for Bone Breaks V2

This commit is contained in:
redstryker
2016-09-23 15:22:04 -04:00
parent 2b81c0ed63
commit c24cd8259a
6 changed files with 3 additions and 0 deletions
+2
View File
@@ -45,6 +45,7 @@ var/list/clown_sound = list('sound/effects/clownstep1.ogg','sound/effects/clowns
var/list/swing_hit_sound = list('sound/weapons/genhit1.ogg', 'sound/weapons/genhit2.ogg', 'sound/weapons/genhit3.ogg')
var/list/hiss_sound = list('sound/voice/hiss1.ogg','sound/voice/hiss2.ogg','sound/voice/hiss3.ogg','sound/voice/hiss4.ogg')
var/list/page_sound = list('sound/effects/pageturn1.ogg', 'sound/effects/pageturn2.ogg','sound/effects/pageturn3.ogg')
var/list/fracture_sound = list('sound/effects/bone_break1.wav','sound/effects/bone_break2.wav','sound/effects/bone_break3.wav','sound/effects/bone_break4.wav')
//var/list/gun_sound = list('sound/weapons/Gunshot.ogg', 'sound/weapons/Gunshot2.ogg','sound/weapons/Gunshot3.ogg','sound/weapons/Gunshot4.ogg')
/proc/playsound(var/atom/source, soundin, vol as num, vary, extrarange as num, falloff, var/is_global)
@@ -175,5 +176,6 @@ var/const/FALLOFF_SOUNDS = 0.5
if ("swing_hit") soundin = pick(swing_hit_sound)
if ("hiss") soundin = pick(hiss_sound)
if ("pageturn") soundin = pick(page_sound)
if ("fracture") soundin = pick(fracture_sound)
//if ("gunshot") soundin = pick(gun_sound)
return soundin
+1
View File
@@ -1002,6 +1002,7 @@ Note that amputating the affected organ does in fact remove the infection from t
if(!(species.flags & NO_PAIN))
owner.emote("scream")
playsound(src.loc, 'fracture', 10, 1, -2)
status |= ORGAN_BROKEN
broken_description = pick("broken","fracture","hairline fracture")
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.