Skip to content

[s] Revert "Blocks the clone pod from creating MOB_ROBOTIC mobs" #6141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions monkestation/code/game/machinery/cloning.dm
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,10 @@

//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
Expand All @@ -159,6 +155,10 @@
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)
Expand Down
Loading