Enhance hair color handling in AIImages by adding support for hair color genes in PawnAppearanceData. Update ColorDescriptionService to prioritize gene-based hair color descriptions, improving character appearance representation. Refactor related services to utilize new hair color logic.
All checks were successful
SonarQube Analysis / Build and analyze (push) Successful in 1m40s
All checks were successful
SonarQube Analysis / Build and analyze (push) Successful in 1m40s
This commit is contained in:
@@ -603,7 +603,7 @@ namespace AIImages
|
||||
("AIImages.Info.Hair".Translate(), appearanceData.HairStyle),
|
||||
(
|
||||
"AIImages.Info.HairColor".Translate(),
|
||||
ColorDescriptionService.GetHairColorDescription(appearanceData.HairColor)
|
||||
ColorDescriptionService.GetHairColorDescription(pawn)
|
||||
),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user