species override and IPC monitor fix

This commit is contained in:
Fox McCloud
2018-07-21 03:53:06 -04:00
parent a60e2f60d8
commit e2fcfd9254
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -43,7 +43,7 @@
/obj/item/organ/proc/update_health()
return
/obj/item/organ/New(mob/living/carbon/holder)
/obj/item/organ/New(mob/living/carbon/holder, datum/species/species_override = null)
..(holder)
if(!max_damage)
max_damage = min_broken_damage * 2
@@ -60,6 +60,8 @@
blood_DNA[dna.unique_enzymes] = dna.b_type
else
dna = new /datum/dna(null)
if(species_override)
dna.species = new species_override
/obj/item/organ/proc/set_dna(var/datum/dna/new_dna)
if(new_dna)
@@ -6,8 +6,8 @@
encased = null
status = ORGAN_ROBOT
/obj/item/organ/external/head/ipc/New()
..()
/obj/item/organ/external/head/ipc/New(mob/living/carbon/holder, datum/species/species_override = null)
..(holder, /datum/species/machine) // IPC heads need to be explicitly set to this since you can print them
robotize("Morpheus Cyberkinetics")
/obj/item/organ/external/chest/ipc