
Heir Selection
Dynastic Cognatic Primogeniture
It is a type of Succession Law of a Monarchy that follows the eldest line of the ruling family, preferring males over females. The descendants of a deceased Heir inherit their parent's place in the line of succession before the Ruler's other children. It is available after granting the Libertas Affectandi. In addition to the rules of cognatic primogeniture, the ruling dynasty has preferential treatment over the direct male line.
Blocked from RulershipModifier Typesibling scoreDefinitionin_game/common/heir_selections/monarchy.txt:1335
1336include_ruler_siblings = yes
1337through_female = yes
1338allow_female = yes
1339allow_children = yes
1340ignore_ruler = yes
1343heir_is_allowed = {
}
1345traverse_family_tree = yes
1346depth_first = yes
1347sibling_score = {
1348if = {
1349limit = {
1350exists = root
}
1353add = {
1354desc = "HEIR_SELECTION_MALE_DESC" • Score for Male
1355if = {
1356limit = {
1357OR = {
1358not = {
1358exists = root
}
1359is_female = no
}
}
1362value = 100
}
}
1365add = {
1366desc = "HEIR_SELECTION_LEGALLY_MALE_DESC" • Score for Legally Male
}
1374add = {
1375desc = "HEIR_SELECTION_SAME_DYNASTY_AS_CURRENT_RULER" • Score for being a member of the current ruler's dynasty
1376value = 100
}
1378add = {
1379desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
}
1382add = {
1383desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • Is unsuited to Rule
}
}
1387else = {
1389add = {
1390desc = "HEIR_SELECTION_MALE_DESC" • Score for Male
1391value = 100
}
1393add = {
1394desc = "HEIR_SELECTION_LEGALLY_MALE_DESC" • Score for Legally Male
1395value = 100
}
1398add = {
1399desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
1400value = 1
}
}
}
1404potential = {
1405has_reform = government_reform:libertas_affectandi
}