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
@@ -625,12 +625,17 @@ Note that amputating the affected organ does in fact remove the infection from t
/obj/item/organ/external/proc/mend_fracture()
if(is_robotic())
return 0 //ORGAN_BROKEN doesn't have the same meaning for robot limbs
if(brute_dam > min_broken_damage)
return 0 //will just immediately fracture again
return FALSE //ORGAN_BROKEN doesn't have the same meaning for robot limbs
if(!(status & ORGAN_BROKEN))
return FALSE
status &= ~ORGAN_BROKEN
return 1
status &= ~ORGAN_SPLINTED
perma_injury = 0
if(owner)
owner.handle_splints()
return TRUE
/obj/item/organ/external/robotize(company, make_tough = 0, convert_all = 1)
..()