Add skin color gene handling to PawnAppearanceData and update skin tone description logic. Enhance AIImages.dll to support special skin tones based on gene definitions, improving character appearance representation.
All checks were successful
SonarQube Analysis / Build and analyze (push) Successful in 1m57s

This commit is contained in:
Leonid Pershin
2025-11-01 08:51:49 +03:00
parent 117f27effc
commit 60dcb279ae
5 changed files with 209 additions and 150 deletions

View File

@@ -15,6 +15,7 @@ namespace AIImages.Models
public int Age { get; set; }
public string BodyType { get; set; }
public Color SkinColor { get; set; }
public List<string> SkinColorGeneDefNames { get; set; }
public string HairStyle { get; set; }
public string HairDefName { get; set; }
public Color HairColor { get; set; }
@@ -25,6 +26,7 @@ namespace AIImages.Models
{
Traits = new List<Trait>();
Apparel = new List<ApparelData>();
SkinColorGeneDefNames = new List<string>();
}
}