mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
Merge pull request #3922 from Crazylemon64/mitocholide_organ_rejuv
Organs can now be made viable again with an application of mitocholide
This commit is contained in:
@@ -87,6 +87,11 @@
|
||||
..()
|
||||
return
|
||||
|
||||
/datum/reagent/mitocholide/reaction_obj(var/obj/O, var/volume)
|
||||
if(istype(O, /obj/item/organ))
|
||||
var/obj/item/organ/Org = O
|
||||
Org.rejuvenate()
|
||||
|
||||
/datum/reagent/cryoxadone
|
||||
name = "Cryoxadone"
|
||||
id = "cryoxadone"
|
||||
|
||||
@@ -57,7 +57,10 @@ var/list/organ_cache = list()
|
||||
/obj/item/organ/proc/set_dna(var/datum/dna/new_dna)
|
||||
if(new_dna)
|
||||
dna = new_dna.Clone()
|
||||
blood_DNA = list()
|
||||
if(blood_DNA)
|
||||
blood_DNA.Cut()
|
||||
else
|
||||
blood_DNA = list()
|
||||
blood_DNA[dna.unique_enzymes] = dna.b_type
|
||||
|
||||
/obj/item/organ/proc/die()
|
||||
@@ -173,6 +176,9 @@ var/list/organ_cache = list()
|
||||
/obj/item/organ/proc/rejuvenate()
|
||||
damage = 0
|
||||
germ_level = 0
|
||||
status &= ~ORGAN_DEAD
|
||||
if(!owner)
|
||||
processing_objects |= src
|
||||
|
||||
/obj/item/organ/proc/is_damaged()
|
||||
return damage > 0
|
||||
|
||||
Reference in New Issue
Block a user