mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
@@ -97,10 +97,6 @@
|
||||
..()
|
||||
handle_regeneration()
|
||||
|
||||
/obj/item/organ/internal/proc/heal_damage(amount)
|
||||
if (can_recover())
|
||||
damage = between(0, damage - round(amount, 0.1), max_damage)
|
||||
|
||||
/obj/item/organ/internal/proc/handle_regeneration()
|
||||
if(!damage || BP_IS_ROBOTIC(src) || !owner || owner.chem_effects[CE_TOXIN])
|
||||
return
|
||||
|
||||
@@ -246,6 +246,10 @@
|
||||
/obj/item/organ/proc/rejuvenate()
|
||||
damage = 0
|
||||
|
||||
/obj/item/organ/proc/heal_damage(amount)
|
||||
if (can_recover())
|
||||
damage = between(0, damage - round(amount, 0.1), max_damage)
|
||||
|
||||
/obj/item/organ/proc/is_broken()
|
||||
return (damage >= min_broken_damage || (status & ORGAN_CUT_AWAY) || (status & ORGAN_BROKEN))
|
||||
|
||||
|
||||
@@ -344,7 +344,7 @@
|
||||
droplimb(0, DROPLIMB_EDGE)
|
||||
|
||||
|
||||
/obj/item/organ/external/proc/heal_damage(brute, burn, internal = 0, robo_repair = 0)
|
||||
/obj/item/organ/external/heal_damage(brute, burn, internal = 0, robo_repair = 0)
|
||||
if(status & ORGAN_ROBOT && !robo_repair)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user