If that courtier is also low fertility, then perhaps, but otherwise no. Courtiers can't refuse a marriage their liege wants.
Of course, messing with fertility has plenty of other side effects, such as impacting whether all of these characters can get someone pregnant or become pregnant.
If you're worried about it, write an additional event which removes the negative-fertility trait when the AI character inherits/usurps/gains the title. (on_new_holder_inheritance
, etc.)
Either that's an acceptable side-effect, or it can be worked-around. (Eg: on_yearly_pulse
, if a character {has the trait} and {has a lover/spouse or is a consort/concubine} then remove the trait.)
It's part of a religious/cultural event chain that everyone of the religion and culture go through in my mod, AI and non-AI included. It can happen to non-rulers, but is mainly intended for rulers. When hitting adulthood, everyone of this religion and culture must decide whether to piously undertake the rituals and trials of several years before getting married, or to impiously reject that path.
If they (whether AI or player) reject it, they lose piety but can marry as normal. Otherwise they can't marry for several years until they finish a particular event chain, which does things such as reward piety and gives whoever they end up marrying better traits and stats.
So what I'm trying to do is set a way to actively prevent such pious AI (of the appropriate religion/culture) from marrying until the event chain is completed. I've been using a custom trait with
cannot_marry - yes
which is given to them if they choose to be pious, and then removed at the end of the event chain (and replaced with another custom trait that gives high opinion with those of the same culture/religion, and does
not block marriage).
Of course, the problem here is that, while unable to marry, they can't be granted titles, which is particularly problematic for me as a player who wants to award land to my vassals when either I have too many demesne titles, or I'm trying to give a duke one of his de jure counties that I'm currently holding.
Hence I will try the suggestion of using -10 fertility (equates to -1000%, same as the celibate trait I think) so that AI rulers won't get any other AI rulers agreeing to marriages with them due to low fertility.
But if negative-fertility AI rulers will just take wives from their court anyway, then that that's pointless.
Hence I'm asking: will they do that? Or does this negative fertility impact their behavior so that they decide not to take any courtiers as wives either?