I was hoping this would be an official feature at some point since its kind of an obvious thing to add if the main npcs already have them. It would require a re-check for every image in existing packs again but thats is something I can deal with. Its an extra feature with no downsides, those who want to use it will use it and those who dont will not. With that said, if the main developers do not go for it and if its something you can do without exerting yourself than plz by all means go ahead, I and pretty much every player would enjoy it as well.
Viewing post in Improved Random Portraits v1.0
The implementation for the unique characters doesn't make it easy to do the same for other characters. Instead of an attribute on the unique character, instead it's a separate table of the images that it looks up if the person is unique :(
If the main game instead just stored these as an attribute of the main character and then just used it if present... it'd be trivial. I can effectively implement this for regular slaves, but yeah it'll be a bit involved.