
Heir SelectionChanged this version
Signoria Selection
It is a type of Succession Law of a Republic, in which the Ruler is elected for life among the members of a powerful family, and usually it is the child of the previous Ruler.
ClergyEstatecalc
Blocked from RulershipModifier TypecalcModifiers
Definitionin_game/common/heir_selections/republic.txt:816
818use_election = no
819term_duration = 0
820include_ruler_siblings = yes
821all_in_country = yes
822all_in_dynasty = yes
823through_female = yes
824ignore_ruler = yes
828heir_is_allowed = {
}
830potential = {
831has_reform = government_reform:dynastic_signoria_reform
}
834locked = {
835has_reform = government_reform:dynastic_signoria_reform
}
838calc = {
839add = {
840desc = "COGNATIC_PRIMOGENITURE_PARENT_IS_RULER_DESC" • Score for having any parent as the ruler
841if = {
842limit = {
843OR = {
844not = {
844exists = root
}
845and = {
846exists = father
847father = scope:target.last_valid_ruler
}
850and = {
851exists = mother
852mother = scope:target.last_valid_ruler
}
}
}
857value = 300
}
}
860add = {
861desc = "COGNATIC_PRIMOGENITURE_GRANDPARENT_IS_RULER_DESC" • Score for having any grandparent as the ruler
862if = {
863limit = {
864OR = {
865not = {
865exists = root
}
866and = {
867exists = father
869OR = {
870father.father ?= scope:target.last_valid_ruler
871father.mother ?= scope:target.last_valid_ruler
}
}
874and = {
875exists = mother
877OR = {
878mother.father ?= scope:target.last_valid_ruler
879mother.mother ?= scope:target.last_valid_ruler
}
}
}
}
884value = 200
}
}
888if = {
889limit = {
890exists = root
}
893if = {
894limit = {
895has_dynasty = yes
896scope:target.ruler_or_regent ?= {
897has_dynasty = yes
898dynasty = prev.dynasty
}
}
901add = {
902desc = "HEIR_SELECTION_SAME_DYNASTY_AS_CURRENT_RULER" • Score for being a member of the current ruler's dynasty
903value = 100
}
}
906add = {
907desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
908value = root.adm
}
910add = {
911desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
912value = root.dip
}
914add = {
915desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
916value = root.mil
}
918add = {
919desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
920value = root.age_in_years
}
922if = {
924add = {
925desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • Is unsuited to Rule
926value = -1000
}
}
}
930if = {
931limit = {
932exists = root.father
}
936if = {
937limit = {
938root.father = {
939is_alive = no
940any_ruling_countries ?= {
941this ?= scope:target
}
}
}
945add = {
946desc = "HEIR_SELECTION_FATHER_WAS_HISTORICAL_RULER_DESC" • Score if father was historical Ruler
947value = 100
}
}
951if = {
952limit = {
953exists = root.father.father
954root.father.father = {
955is_alive = no
956any_ruling_countries ?= {
957this ?= scope:target
}
}
}
961add = {
962desc = "HEIR_SELECTION_GRANDFATHER_WAS_HISTORICAL_RULER_DESC" • Score if grandfather was historical Ruler
963value = 100
}
}
}
}
