mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Adds more "curated" version of human randomization (for humonkeys, corpse spawners, and fresh characters) (#28582)
* Adds more "curated" version of human randomization (for humonkeys, corpse spawners, and fresh characters) * fix conflict --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
This commit is contained in:
co-authored by
MrMelbert
SpaceLoveSs13
parent
f430f478a5
commit
b883c38a8d
@@ -60,26 +60,15 @@
|
||||
spawned_human.undershirt = "Nude"
|
||||
spawned_human.socks = "Nude"
|
||||
spawned_human.bra = "Nude" //SKYRAT EDIT ADDITION
|
||||
randomize_human_normie(spawned_human)
|
||||
if(hairstyle)
|
||||
spawned_human.hairstyle = hairstyle
|
||||
else
|
||||
spawned_human.hairstyle = random_hairstyle(spawned_human.gender)
|
||||
spawned_human.set_hairstyle(hairstyle, update = FALSE)
|
||||
if(facial_hairstyle)
|
||||
spawned_human.facial_hairstyle = facial_hairstyle
|
||||
else
|
||||
spawned_human.facial_hairstyle = random_facial_hairstyle(spawned_human.gender)
|
||||
spawned_human.set_facial_hairstyle(facial_hairstyle, update = FALSE)
|
||||
if(haircolor)
|
||||
spawned_human.hair_color = haircolor
|
||||
else
|
||||
spawned_human.hair_color = "#[random_color()]"
|
||||
spawned_human.set_haircolor(haircolor, update = FALSE)
|
||||
if(facial_haircolor)
|
||||
spawned_human.facial_hair_color = facial_haircolor
|
||||
else
|
||||
spawned_human.facial_hair_color = "#[random_color()]"
|
||||
if(skin_tone)
|
||||
spawned_human.skin_tone = skin_tone
|
||||
else
|
||||
spawned_human.skin_tone = pick(GLOB.skin_tones)
|
||||
spawned_human.set_facial_haircolor(facial_haircolor, update = FALSE)
|
||||
spawned_human.update_body(is_creating = TRUE)
|
||||
|
||||
/obj/effect/mob_spawn/proc/name_mob(mob/living/spawned_mob, forced_name)
|
||||
|
||||
Reference in New Issue
Block a user