It'll however apply this to Races too, so if it filters on race and gets 0, it'll revert to using all portraits, then trying to filter on gender, if that's also 0, it'll continue with all portraits (or a set of portraits for a race if you had one). It'll filter on it, see that the result is empty, and continue with the prior list. Then instead of aborting like it would with a minMatch, it will discard the filtering on gender. If it's not, but the result is empty, then it ignores that filter. Right now, for race or gender, if the matches are below minMatch, it aborts. I think you could achieve this by changing minMatch to -1 ? This would affect more than just the gender filtering though. There is no option in my mod to only check for race, that's maybe one of the game's options for its own simplistic random portrait code, which this mod completely replaces.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |