mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user