Skip to content

Commit

Permalink
Merge pull request #76555 from Night-Pryanik/obligatory-natural-hair
Browse files Browse the repository at this point in the history
New characters get random natural hair color during character generation
  • Loading branch information
Maleclypse committed Sep 21, 2024
2 parents aaa19c5 + 3c963a2 commit 3df09ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ static const std::string flag_CHALLENGE( "CHALLENGE" );
static const std::string flag_CITY_START( "CITY_START" );
static const std::string flag_SECRET( "SECRET" );

static const std::string type_hair_color( "hair_color" );
static const std::string type_hair_style( "hair_style" );
static const std::string type_skin_tone( "skin_tone" );
static const std::string type_facial_hair( "facial_hair" );
Expand Down Expand Up @@ -600,6 +601,7 @@ void avatar::randomize( const bool random_scenario, bool play_now )

void avatar::randomize_cosmetics()
{
randomize_cosmetic_trait( type_hair_color );
randomize_cosmetic_trait( type_hair_style );
randomize_cosmetic_trait( type_skin_tone );
randomize_cosmetic_trait( type_eye_color );
Expand Down

0 comments on commit 3df09ec

Please sign in to comment.