From bdfc9be90824a2576b45aace01a270fa48480c82 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Sun, 19 Feb 2017 16:29:10 -0500 Subject: [PATCH] Locks printed bodies properly, and shows if they are locked records on console --- code/modules/resleeving/computers.dm | 2 +- code/modules/resleeving/machines.dm | 2 ++ nano/templates/sleever.tmpl | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/code/modules/resleeving/computers.dm b/code/modules/resleeving/computers.dm index ed3466b1012..d6ed8223f22 100644 --- a/code/modules/resleeving/computers.dm +++ b/code/modules/resleeving/computers.dm @@ -156,7 +156,7 @@ "speciesname" = active_br.speciesname, \ "gender" = active_br.bodygender, \ "synthetic" = active_br.synthetic ? "Yes" : "No", \ - "locked" = active_br.locked, \ + "locked" = active_br.locked ? "Low" : "High", \ "cando" = can_grow_active) else data["activeRecord"] = null diff --git a/code/modules/resleeving/machines.dm b/code/modules/resleeving/machines.dm index 1e5e45c8cc8..d1553bd056b 100644 --- a/code/modules/resleeving/machines.dm +++ b/code/modules/resleeving/machines.dm @@ -21,6 +21,8 @@ eject_wait = 0 var/mob/living/carbon/human/H = new /mob/living/carbon/human(src, R.dna.species) + if(current_project.locked) + H.resleeve_lock = current_project.ckey //Fix the external organs for(var/part in current_project.limb_data) diff --git a/nano/templates/sleever.tmpl b/nano/templates/sleever.tmpl index e0fd519c345..1d38666abfc 100644 --- a/nano/templates/sleever.tmpl +++ b/nano/templates/sleever.tmpl @@ -89,6 +89,10 @@
Bio. Sex:
{{:data.activeBodyRecord.gender}}
+
+
Mind compat.:
+
{{:data.activeBodyRecord.locked}}
+
Synthetic:
{{:data.activeBodyRecord.synthetic}}