mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 23:11:52 +00:00
Cloning someone without a brain will now bring up an error message and not allow you to clone them.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1284 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -309,9 +309,12 @@
|
||||
return
|
||||
|
||||
/obj/machinery/computer/cloning/proc/scan_mob(mob/living/carbon/human/subject as mob)
|
||||
if ((isnull(subject)) || (!istype(subject, /mob/living/carbon/human)) || (!subject.dna))
|
||||
if ((isnull(subject)) || (!(istype(subject, /mob/living/carbon/human))) || (!subject.dna))
|
||||
src.temp = "Error: Unable to locate valid genetic data."
|
||||
return
|
||||
if (subject.brain_op_stage == 4.0)
|
||||
src.temp = "Error: No signs of intelligence detected."
|
||||
return
|
||||
if ((!subject.ckey) || (!subject.client))
|
||||
src.temp = "Error: Mental interface failure."
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user