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

This commit is contained in:
Leonid Pershin
2025-11-01 09:15:29 +03:00
parent 60dcb279ae
commit 30010078b4
5 changed files with 431 additions and 34 deletions

View File

@@ -16,6 +16,7 @@ namespace AIImages.Models
public string BodyType { get; set; }
public Color SkinColor { get; set; }
public List<string> SkinColorGeneDefNames { get; set; }
public List<string> HairColorGeneDefNames { get; set; }
public string HairStyle { get; set; }
public string HairDefName { get; set; }
public Color HairColor { get; set; }
@@ -27,6 +28,7 @@ namespace AIImages.Models
Traits = new List<Trait>();
Apparel = new List<ApparelData>();
SkinColorGeneDefNames = new List<string>();
HairColorGeneDefNames = new List<string>();
}
}