Training Wheels Come Off (#12587)

This commit is contained in:
Fox McCloud
2019-10-15 19:22:42 -04:00
committed by variableundefined
parent a5d3b48947
commit 45bb5241f0
9 changed files with 38 additions and 32 deletions
@@ -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!"))
+10
View File
@@ -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