
Heir Selection
Elective Succession
It is a type of Succession Law of a Monarchy, in which the new ruler is elected by the Nobility. Although every noble would be eligible to be elected, the electors prefer a member of the current dynasty for the position of monarch.
This Succession Law might have unintended repercussions for any of our current or future unions.
Blocked from RulershipModifier Typecalcrise_of_szlachta_szlachta_outcome_variableVariablelockedDefinitionin_game/common/heir_selections/monarchy.txt:889
890use_election = yes
891include_ruler_siblings = yes
892all_in_country = yes
893all_in_dynasty = yes
894through_female = yes
895ignore_ruler = yes
896allow_female = yes
897term_duration = 0
899heir_is_allowed = {
}
904locked = {
905trigger_if = {
907OR = {
908custom_tooltip = {
909text = has_had_struggle_for_royal_power_disaster_tt Has successfully concluded the Struggle for Royal Power Disaster
}
912estate_power(estate_type:crown_estate) < 0.5
}
}
915trigger_else = {
915always = no
}
}
917max_possible_candidates = 3
922calc = {
923if = {
924limit = {
925exists = root
}
927add = {
928desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
929value = root.adm
}
931add = {
932desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
933value = root.dip
}
935add = {
936desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
937value = root.mil
}
940if = {
941limit = {
941is_female = yes
}
942add = {
943desc = "HEIR_SELECTION_FEMALE_DESC" • Score for Female
944value = -100
}
}
948if = {
949limit = {
949exists = root.father
}
951if = {
952limit = {
953any_parent = {
954this = scope:target.ruler
}
}
957add = {
958desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_DESC" • Score if parent is current Ruler
959value = 100
}
}
962else = {
963if = {
964limit = {
965scope:target = {
966any_ruler = {
967is_alive = no
968root.father = this
}
}
}
972add = {
973desc = "HEIR_SELECTION_FATHER_WAS_HISTORICAL_RULER_DESC" • Score if father was historical Ruler
974value = 100
}
}
}
}
979if = {
981add = {
982desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • Is unsuited to Rule
983value = -1000
}
}
986if = {
987limit = {
988NOT = {
989scope:target ?= {
990any_primary_or_accepted_culture = {
990root.culture = this
}
}
}
}
994add = {
995desc = "HEIR_SELECTION_NON_ACCEPTED_CULTURE_DESC" • Score for Discriminated Culture
996value = -100
}
}
}
1000if = {
1001limit = {
1002NOT = {
1002exists = root
}
}
1004add = {
1005desc = "HEIR_SELECTION_FATHER_WAS_HISTORICAL_RULER_DESC" • Score if father was historical Ruler
1006value = 100
}
1008add = {
1009desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_DESC" • Score if parent is current Ruler
1010value = 100
}
1012add = {
1013desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
1014value = 1
}
1016add = {
1017desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
1018value = 1
}
1020add = {
1021desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
1022value = 1
}
1024add = {
1025desc = "HEIR_SELECTION_FEMALE_DESC" • Score for Female
1026value = -100
}
1028add = {
1029desc = "HEIR_SELECTION_NON_ACCEPTED_CULTURE_DESC" • Score for Discriminated Culture
1030value = -100
}
}
}