From 2dc049b0260545dbdb62c9e854714b34ee08dbee Mon Sep 17 00:00:00 2001 From: Carl Ivanov Date: Wed, 20 May 2015 19:15:08 +0900 Subject: [PATCH 1/2] make hardset_dna to set blood type correctly also hardset_dna sets species and mutant race color. --- code/modules/admin/verbs/randomverbs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index bd132a58f00..4a335bbdf47 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -298,7 +298,7 @@ Traitors and the like can also be revived with the previous role mostly intact. //DNA if(record_found)//Pull up their name from database records if they did have a mind. - hardset_dna(new_character, record_found.fields["identity"], record_found.fields["enzymes"], record_found.fields["name"], null, record_found.fields["blood_type"]) + hardset_dna(new_character, record_found.fields["identity"], record_found.fields["enzymes"], record_found.fields["name"], record_found.fields["blood_type"], record_found.fields["species"], record_found.fields["mcolor"]) else//If they have no records, we just do a random DNA for them, based on their random appearance/savefile. ready_dna(new_character) From 023bca1b57eee3f7320947725459e7e3bc754375 Mon Sep 17 00:00:00 2001 From: Carl Ivanov Date: Wed, 20 May 2015 19:16:38 +0900 Subject: [PATCH 2/2] pushing some data into locked records they are species type and mutamt color. Useful in respawn character. --- code/datums/datacore.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index 4b42dbe91c8..db861c553a8 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -259,6 +259,8 @@ var/record_id_num = 1001 L.fields["b_dna"] = H.dna.unique_enzymes L.fields["enzymes"] = H.dna.struc_enzymes L.fields["identity"] = H.dna.uni_identity + L.fields["species"] = H.dna.species.type + L.fields["mcolor"] = H.dna.mutant_color L.fields["image"] = image locked += L return