This commit is contained in:
Ghommie
2019-07-15 17:23:01 +02:00
478 changed files with 4954 additions and 2477 deletions
+12 -9
View File
@@ -10,21 +10,24 @@
. = ..()
if(!.)
return
if(!iscarbon(M))
return FALSE
var/mob/living/carbon/C = M
C.dna?.transfer_identity(src)
if(iscarbon(M))
var/mob/living/carbon/C = M
C.dna?.transfer_identity(src)
/mob/living/carbon/human/build_virtual_character(mob/M, datum/outfit/outfit)
. = ..()
if(!.)
return
var/mob/living/carbon/human/H
if(ishuman(M))
var/mob/living/carbon/human/H = M
socks = H.socks
undershirt = H.undershirt
underwear = H.underwear
give_genitals(TRUE)
H = M
socks = H ? H.socks : random_socks()
socks_color = H ? H.socks_color : random_color()
undershirt = H ? H.undershirt : random_undershirt(M.gender)
shirt_color = H ? H.shirt_color : random_color()
underwear = H ? H.underwear : random_underwear(M.gender)
undie_color = H ? H.undie_color : random_color()
give_genitals(TRUE)
if(outfit)
var/datum/outfit/O = new outfit()
O.equip(src)