Adds sounds to falling over

Resting and buckling are still silent.

Conflicts:
	code/modules/mob/living/carbon/human/human_damage.dm
This commit is contained in:
Tenebrosity
2014-01-24 15:12:24 +13:00
committed by ZomgPonies
parent d01ef41eac
commit f6603faa52
6 changed files with 10 additions and 1 deletions
@@ -64,6 +64,7 @@
if(M_HULK in mutations) return
..()
/mob/living/carbon/human/adjustCloneLoss(var/amount)
..()
var/heal_prob = max(0, 80 - getCloneLoss())
@@ -92,6 +93,13 @@
if (O.status & ORGAN_MUTATED)
O.unmutate()
src << "<span class = 'notice'>Your [O.display_name] is shaped normally again.</span>"
/mob/living/carbon/human/update_canmove()
var/old_lying = lying
. = ..()
if(lying && !old_lying && !resting && !buckled) // fell down
playsound(loc, "bodyfall", 50, 1, -1)
////////////////////////////////////////////
//Returns a list of damaged organs
@@ -259,4 +267,4 @@
organ.implants += S
visible_message("<span class='danger'>The projectile sticks in the wound!</span>")
S.add_blood(src)
return 1
return 1