From 8b12591c88df9aaef40630dd804301b0566db20c Mon Sep 17 00:00:00 2001 From: Ziiro Date: Mon, 24 Mar 2025 14:45:01 -0600 Subject: [PATCH] no more clone --- monkestation/code/game/machinery/cloning.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monkestation/code/game/machinery/cloning.dm b/monkestation/code/game/machinery/cloning.dm index d392623d835b..c21d324a6f4a 100644 --- a/monkestation/code/game/machinery/cloning.dm +++ b/monkestation/code/game/machinery/cloning.dm @@ -133,10 +133,14 @@ //Start growing a human clone in the pod! /obj/machinery/clonepod/proc/growclone(clonename, ui, mutation_index, mindref, blood_type, datum/species/mrace, list/features, factions, list/quirks, datum/bank_account/insurance, list/traumas, empty) + var/mob/living/carbon/human/H = new /mob/living/carbon/human(src) + H.hardset_dna(ui, mutation_index, null, clonename, blood_type, mrace, features) if(panel_open) return NONE if(mess || attempting) return NONE + if(H.mob_biotypes & MOB_ROBOTIC) // MONKESTATION ADDITION - no cloning robots. + return NONE if(!empty) //Doesn't matter if we're just making a copy clonemind = locate(mindref) in SSticker.minds if(!istype(clonemind)) //not a mind @@ -155,10 +159,6 @@ attempting = TRUE //One at a time!! countdown.start() - var/mob/living/carbon/human/H = new /mob/living/carbon/human(src) - - H.hardset_dna(ui, mutation_index, null, clonename, blood_type, mrace, features) - if(!HAS_TRAIT(H, TRAIT_RADIMMUNE))//dont apply mutations if the species is Mutation proof. if(efficiency > 2) var/list/unclean_mutations = (GLOB.not_good_mutations|GLOB.bad_mutations)