Crusader Kings III

Crusader Kings III

Not enough ratings
Adjustable Dynasty Splendor Effect on Marriage Acceptance
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
364.735 KB
18 Jun @ 6:11pm
19 Jun @ 10:31am
3 Change Notes ( view )

Subscribe to download
Adjustable Dynasty Splendor Effect on Marriage Acceptance

Description
I was frustrated that my Obscure house could so easily marry into a house of greater prestige, and discovered there wasn't an adjustable Game Rule for how Dynasty Splendor affects marriage acceptance, so I made this little mod.

How it Works
This mod adds a new Game Rule, "Relative Dynasty Splendor for Marriage Acceptance," with 5 options:
  • Very Low: ± 6 acceptance per dynasty tier difference
  • Low: ± 12
  • Medium: ± 24
  • High: ± 36
  • Vanilla: no change from the base game

Calculation is based on sender's dynasty, so a sender with a high-prestige dynasty will find it easier to make marriages, whereas a sender with a low-prestige dynasty will find it more difficult.

Important: This effect only applies if the proposed match (bride/groom) is part of the dynasty of the ruler being asked to approve the marriage. That is, a ruler will only care about the relative dynasty difference when they're being asked to arrange a marriage for a member of their own dynasty. Family members of other dynasties (i.e. widowed mother, possibly) will be unaffected.

Note on marriage offers to players from AI
The vanilla game has the AI send marriage offers to the player if the player, if they were to be an AI, would accept that offer. Because a high-prestige dynasty offering a proposal to a lower one increases the offer acceptance score, this may cause more high-tier AI rulers to offer you marriages than vice versa. This is consistent with how vanilla handles such logic, but may feel a bit backwards in practice as you will receive offers for marriage that would be rejected by the AI if the same offer were to have been made by you in reverse.

What is Altered
This mod changes the marriage_ai_accept_modifier function from 00_marriage_scripted_modifiers.txt, adjusting, specifically, the Dynasty Prestige modifiers section. Elopement is currently unaffected, as is divorce consideration.

Possible Conflicts
Will conflict with any other mods that change the marriage_ai_accept_modifier function from 00_marriage_scripted_modifiers.txt. Compatibility patches can be made if necessary.

The Actual Code (for those curious)
Here is the actual bit of code[gist.github.com] that the mod adds/changes within the marriage_ai_accept_modifier function, in case anyone is curious or wants to incorporate it into a patch or otherwise use it in some other way. This code relies on the existence of the custom game rule for the various options, which is minimal but if necessary can be found here[gist.github.com].

Note that the first modifier block replaces the vanilla dynasty prestige block for non low-borns under the Dynasty Prestige heading in marriage_ai_accept_modifier.
1 Comments
牛奶大魔王 18 Jun @ 9:00pm 
Greeting! i have translation it in CK3 mod Chinese submod,
would u make a line in description?

here's my Chinese translation:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3403925213