3)
This I couldn't understand properly, I'll need some lists from you:
It's nothing too complex, all it's based on tagged structure:
1. We drop nature first if needed:
1) ["outdoors", "urban", "wildness", "suburb", "nature"]
2) ["nature"]
3) ["urban", "wildness", "suburb"]
2. Outdoors tags fall to outdoors.
1) ["urban", "wildness", "suburb"]
2) ["urban", "wildness", "suburb"]
3) ["outdoors"]
3. Indoors tags fall to indoors.
1) ["dungeon", "living", "public"]
2) ["dungeon", "living", "public"]
3) ["indoors"]
4. If we don't have both indoors and outdoors, we fall to simple/no bg:
1) ["indoors", "outdoors"]
2) ["indoors", "outdoors"]
3) ["simple bg", "no bg"]
5. Special tags fall to to simple/no bg directly.
1) ["beach", "onsen", "pool", "stage"]
2) ["beach", "onsen", "pool", "stage"]
3) ["simple bg", "no bg"]
4) I assume that for actions I will be able to use whatever you put in sex_actions_list, if not, I'll need another list of all actions that can be used here.
Yup, ideally it should work for any sex actions. I don't try to set a perfect match for poses or actions.
So, any "straight" actions fall to "after sex" if we don't have them. Any "gay" (aka lesbian) actions fall to "nude". Any masturbation actions also fall to nude.
After sex fall to nude too if we don't have them.
I don't touch group and bdsm for now, since they will require entirely different approach. We most likely will have to check what kind of group and bdsm images the character has (if there are any), and then based on it do something. But I don't know yet how to do it anyway.