mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Training Wheels Come Off (#12587)
This commit is contained in:
committed by
variableundefined
parent
a5d3b48947
commit
45bb5241f0
@@ -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)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user