mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 11:07:46 +01:00
Alien weed regeneration now mends broken bones
Also, weed regeneration is reduced unless xenos are resting.
This commit is contained in:
@@ -764,6 +764,15 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
suit.supporting_limbs |= src
|
||||
return
|
||||
|
||||
/datum/organ/external/proc/mend_fracture()
|
||||
if(status & ORGAN_ROBOT)
|
||||
return 0 //ORGAN_BROKEN doesn't have the same meaning for robot limbs
|
||||
if(brute_dam > min_broken_damage * config.organ_health_multiplier)
|
||||
return 0 //will just immediately fracture again
|
||||
|
||||
status &= ~ORGAN_BROKEN
|
||||
return 1
|
||||
|
||||
/datum/organ/external/proc/robotize()
|
||||
src.status &= ~ORGAN_BROKEN
|
||||
src.status &= ~ORGAN_BLEEDING
|
||||
|
||||
Reference in New Issue
Block a user