Ambitious doesn't quite do that last post justice! A weighted system for hair/skin tone etc would be fantastic.
Seeing as you seem up for a challenge. There's been something bothering me a little. Once the portrait packs are all fully 'tagged' with colors/asssize etc , some beautiful portraits will never be chosen by the script. For example, there are Dryad pictures with fair skin and blue hair, while in game Dryads only ever spawn with green skin and green/purple hair. All it takes is a couple of pictures labeled with greenskin to make sure the others never get picked.
You can still manually select any portrait, so it's not a big deal.
There are several possible solutions to give every portrait a chance to appear on random slaves.
- Create a separate mod that only factors in race, gender and age
- Modify the other game scripts so that slaves spawn with a wider variety of pre existing skin and hair colors.
- Create a single brand new ambiguous skin and hair color (eg "Unnaturally colored", "Hybrid") That can be added to the scripts that generate slaves. Then put that in the names of the 'unlucky' portraits so that they have a chance to appear.
- Something incredibly complex whereby if a portrait name doesn't have a fitting racial hair/skin color, it is temporarily given one that would naturally fit its race.
- Make it so there is a low % chance to disregard the color checks each time a slave is generated.
I quite like the "brand new skin and hair color" one, as it allows the generated slave's matched portrait to be accurate. Without limiting available portraits and without creating endless color combinations to find portraits for.
As I said, it's not a big deal. Just throwing out ideas :)