Fix human appearance randomness in spawners. (#19561)

This commit is contained in:
warriorstar-orion
2022-11-03 13:59:30 -04:00
committed by GitHub
parent 00e33dd91a
commit 12c873d816
3 changed files with 7 additions and 9 deletions
+6 -8
View File
@@ -237,15 +237,13 @@
D.f_style = random_facial_hair_style(gender, D.dna.species.name)
D.facial_colour = rand_hex_color()
if(skin_tone)
H.change_skin_tone(skin_tone)
H.s_tone = skin_tone
else
H.change_skin_tone(random_skin_tone())
H.change_skin_color(rand_hex_color())
H.update_hair()
H.update_fhair()
H.update_body()
H.update_dna()
H.regenerate_icons()
H.s_tone = random_skin_tone()
H.skin_colour = rand_hex_color()
H.update_body(rebuild_base = TRUE)
if(outfit)
var/static/list/slots = list("uniform", "r_hand", "l_hand", "suit", "shoes", "gloves", "ears", "glasses", "mask", "head", "belt", "r_pocket", "l_pocket", "back", "id", "neck", "backpack_contents", "suit_store")
for(var/slot in slots)
-1
View File
@@ -172,7 +172,6 @@ GLOBAL_VAR_INIT(ert_request_answered, FALSE)
M.age = rand(23,35)
M.regenerate_icons()
M.update_body()
M.update_dna()
//Creates mind stuff.
M.mind = new
@@ -35,6 +35,7 @@
assignedrole = "Syndicate Researcher"
del_types = list() // Necessary to prevent del_types from removing radio!
allow_species_pick = TRUE
skin_tone = 255
/obj/effect/mob_spawn/human/spacebase_syndicate/Destroy()
var/obj/structure/fluff/empty_sleeper/syndicate/S = new /obj/structure/fluff/empty_sleeper/syndicate(get_turf(src))