I'd suggest adding a check for pregnancy; since pregnant women are rarely virgins.
That could be done easily through 00_on_actions.txt (automatic event that updates the traits, ran from on_pregnancy), but that'd break the compatibility with many mods. Simple event check with MTTH of 1 day would also work almost as well.
Also, a couple of pointers about the traits:
...doesn't work for traits, unless enclosed in potential. Like this:
And from what I've seen, 'birth = <number>' should always be combined with 'inherit_chance' to work perfectly, even if it's just 'inherit_chance = 100'. ...I know that inheriting that trait makes no sense at all (since the mother obviously no longer has it), but I couldn't get such traits to work properly in my mods until I started adding both 'birth' and 'inherit_chance'.
That could be done easily through 00_on_actions.txt (automatic event that updates the traits, ran from on_pregnancy), but that'd break the compatibility with many mods. Simple event check with MTTH of 1 day would also work almost as well.
Also, a couple of pointers about the traits:
Code:
is_female = yes
Code:
maiden = {
potential = {
is_female = yes
}
<rest of the code>
}
And from what I've seen, 'birth = <number>' should always be combined with 'inherit_chance' to work perfectly, even if it's just 'inherit_chance = 100'. ...I know that inheriting that trait makes no sense at all (since the mother obviously no longer has it), but I couldn't get such traits to work properly in my mods until I started adding both 'birth' and 'inherit_chance'.