mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Training Wheels Come Off (#12587)
This commit is contained in:
committed by
variableundefined
parent
a5d3b48947
commit
45bb5241f0
@@ -48,12 +48,7 @@
|
||||
var/list/our_organs = H.bodyparts.Copy()
|
||||
shuffle(our_organs)
|
||||
for(var/obj/item/organ/external/L in our_organs)
|
||||
if(istype(L))
|
||||
if(L.brute_dam < L.min_broken_damage)
|
||||
L.status &= ~ORGAN_BROKEN
|
||||
L.status &= ~ORGAN_SPLINTED
|
||||
H.handle_splints()
|
||||
L.perma_injury = 0
|
||||
if(L.mend_fracture())
|
||||
break // We're only checking one limb here, bucko
|
||||
if(prob(3))
|
||||
H.say(pick("Thanks Mr. Skeltal", "Thank for strong bones", "Doot doot!"))
|
||||
|
||||
@@ -474,6 +474,16 @@
|
||||
human_mob.update_dna()
|
||||
return
|
||||
|
||||
/mob/living/proc/remove_CC(should_update_canmove = TRUE)
|
||||
SetWeakened(0, FALSE)
|
||||
SetStunned(0, FALSE)
|
||||
SetParalysis(0, FALSE)
|
||||
SetSleeping(0, FALSE)
|
||||
setStaminaLoss(0)
|
||||
SetSlowed(0)
|
||||
if(should_update_canmove)
|
||||
update_canmove()
|
||||
|
||||
/mob/living/proc/UpdateDamageIcon()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user