Thank you for adding this. I just tested by messing around with the minMatch variable and its working flawlessly. Though I think the random portrait button should ignore minMatch. Right now I only have 1 female HalfkinTanuki image and though I dont want every female HalfkinTanuki slave to show up with that image I still want the random portrait button to assign it in case I intend to keep the slave. I cant see any drawback on this.
Viewing post in Improved Random Portraits v1.0
I had hoped to use another tscn file to define the tab, and then just insert it in and wire it up, but Couldn't get that working, loaded fine, but instancing it spit out:
At: scene/resources/packed_scene.cpp:98
WARNING: instance: Parent path './RandomPortrait' for node 'minmatch' has vanished when instancing: 'user://mods/randomportraits/options.tscn'.
Worked fine to create a tab in code, add the texture (duplicate dit from one of the other tabs), and then start adding my own checkbox's and labels. It's just tedious laying things out.