Hello all, first time posting and first time ever attempting to mod anything! (though I do have occupational coding and scripting experience)
On looking over the wiki, at religious modifications, I see an option for 'max_wives'. On further investigation it seems that this option only applies to wives and not to husbands too. There is a separate modifier for 'max_consorts' which covers both consorts and concubines with the same value. But consorts are not the same as husbands!
So I figured I'd trying to make a mod to allow a religion / culture to allow women to take multiple husbands. I figured this task might serve as a fun and (hopefully) fairly simple introduction to the broader topic of adding entirely new attributes / modifiers to the game; since I'm hoping it's just a case of defining a new attribute 'max_husbands', then copy-pasting whatever is written for 'max_wives', and then just swapping the gender pointers.
But I can't for the life of me find where the cultural / religious attributes themselves are stored. Any advice?
On looking over the wiki, at religious modifications, I see an option for 'max_wives'. On further investigation it seems that this option only applies to wives and not to husbands too. There is a separate modifier for 'max_consorts' which covers both consorts and concubines with the same value. But consorts are not the same as husbands!
So I figured I'd trying to make a mod to allow a religion / culture to allow women to take multiple husbands. I figured this task might serve as a fun and (hopefully) fairly simple introduction to the broader topic of adding entirely new attributes / modifiers to the game; since I'm hoping it's just a case of defining a new attribute 'max_husbands', then copy-pasting whatever is written for 'max_wives', and then just swapping the gender pointers.
But I can't for the life of me find where the cultural / religious attributes themselves are stored. Any advice?