mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Fix human appearance randomness in spawners. (#19561)
This commit is contained in:
committed by
GitHub
parent
00e33dd91a
commit
12c873d816
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user