Revert "Revert "Do Not Clone""

This reverts commit 05acfc1f72.
This commit is contained in:
JaySparrow
2020-07-17 16:26:32 -05:00
parent 05acfc1f72
commit 546f3a993c
4 changed files with 15 additions and 3 deletions
+4
View File
@@ -449,6 +449,10 @@
var/mob/living/brain/B = mob_occupant
dna = B.stored_dna
if(HAS_TRAIT(mob_occupant, TRAIT_NEVER_CLONE))
scantemp = "<font class='bad'>Subject has an active DNC record on file. Unable to clone.</font>"
playsound(src, 'sound/machines/terminal_alert.ogg', 50, 0)
return
if(!istype(dna))
scantemp = "<font class='bad'>Unable to locate valid genetic data.</font>"
playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 50, 0)