[GBP: No update] Expands the usage of some bodyflags (#19392)

* forgot to include bodyflag in these places

* small adjustment
This commit is contained in:
Henri215
2022-10-19 19:44:49 -03:00
committed by GitHub
parent ce7d68fcf1
commit 4c0c0d84fd
2 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -572,8 +572,9 @@
s_tone = random_skin_tone(species)
h_style = random_hair_style(gender, species, robohead)
f_style = random_facial_hair_style(gender, species, robohead)
if(species in list("Human", "Unathi", "Tajaran", "Skrell", "Machine", "Vulpkanin", "Vox"))
if(!(S.bodyflags & BALD))
randomize_hair_color("hair")
if(!(S.bodyflags & SHAVED))
randomize_hair_color("facial")
if(S.bodyflags & HAS_HEAD_ACCESSORY)
ha_style = random_head_accessory(species)
@@ -137,18 +137,18 @@
if("age")
active_character.age = rand(AGE_MIN, AGE_MAX)
if("hair")
if(active_character.species in list("Human", "Unathi", "Tajaran", "Skrell", "Machine", "Vulpkanin", "Vox"))
if(!(S.bodyflags & BALD))
active_character.h_colour = rand_hex_color()
if("secondary_hair")
if(active_character.species in list("Human", "Unathi", "Tajaran", "Skrell", "Machine", "Vulpkanin", "Vox"))
if(!(S.bodyflags & BALD))
active_character.h_sec_colour = rand_hex_color()
if("h_style")
active_character.h_style = random_hair_style(active_character.gender, active_character.species, robohead)
if("facial")
if(active_character.species in list("Human", "Unathi", "Tajaran", "Skrell", "Machine", "Vulpkanin", "Vox"))
if(!(S.bodyflags & SHAVED))
active_character.f_colour = rand_hex_color()
if("secondary_facial")
if(active_character.species in list("Human", "Unathi", "Tajaran", "Skrell", "Machine", "Vulpkanin", "Vox"))
if(!(S.bodyflags & SHAVED))
active_character.f_sec_colour = rand_hex_color()
if("f_style")
active_character.f_style = random_facial_hair_style(active_character.gender, active_character.species, robohead)