
Heir Selection
Tanistry Elective
A traditional Gaelic form of government in which the ruling clan selects the most competent heir from amongst themselves. Being a patrilineal descendant of a historical ruler does increase one's chances of being selected, though it is considered improper to elect a child of the current ruler.
The process does tend towards the most qualified individual being selected, but because the rulership often meanders through multiple branches of the family tree in a somewhat arbitrary selection process, it frequently leads to feuds.
Blocked from RulershipModifier TypecalcDefinitionin_game/common/heir_selections/monarchy.txt:679
684include_ruler_siblings = yes
685all_in_dynasty = yes
686through_female = no
687allow_female = yes
688allow_children = no
689ignore_ruler = yes
692heir_is_allowed = {
693is_ruler = no
}
695potential = {
696OR = {
697has_reform = government_reform:celtic_traditions_reform
}
}
706calc = {
708if = {
709limit = {
710exists = root
}
712add = {
713desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
714value = root.character_age
}
716add = {
717desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
718value = root.adm
}
720add = {
721desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
722value = root.dip
}
724add = {
725desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
726value = root.mil
}
729if = {
730limit = {
730is_female = yes
}
731add = {
732desc = "HEIR_SELECTION_FEMALE_DESC" • Score for Female
733value = -100
}
}
737if = {
738limit = {
739NOT = {
740scope:target ?= {
741any_primary_or_accepted_culture = {
741root.culture = this
}
}
}
}
745add = {
746desc = "HEIR_SELECTION_NON_ACCEPTED_CULTURE_DESC" • Score for Discriminated Culture
747value = -100
}
}
751if = {
752limit = {
752exists = root.father
}
754if = {
755limit = {
756any_parent = {
757this = scope:target.ruler
}
}
760add = {
762desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_DESC" • Score if parent is current Ruler
763value = -100
}
}
766else = {
767if = {
768limit = {
769root.father = {
770is_alive = no
771any_ruling_countries ?= {
772this ?= scope:target
}
}
}
776add = {
777desc = "HEIR_SELECTION_FATHER_WAS_HISTORICAL_RULER_DESC" • Score if father was historical Ruler
778value = 100
}
}
}
783if = {
784limit = {
785exists = root.father.father
786root.father.father = {
787is_alive = no
788any_ruling_countries ?= {
789this ?= scope:target
}
}
}
793add = {
794desc = "HEIR_SELECTION_GRANDFATHER_WAS_HISTORICAL_RULER_DESC" • Score if grandfather was historical Ruler
795value = 100
}
}
}
800if = {
801limit = {
802OR = {
803is_general = yes
804is_admiral = yes
}
}
807add = {
808desc = "HEIR_SELECTION_GENERAL_OR_ADMIRAL_DESC" • Score for General or Admiral
809value = 50
}
}
813if = {
814limit = {
815OR = {
816has_trait_category = general
817has_trait_category = admiral
}
}
820add = {
821desc = "HEIR_SELECTION_GENERAL_OR_ADMIRAL_TRAIT_DESC" • Score for General or Admiral Traits
822value = 50
}
}
825if = {
827add = {
828desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • Is unsuited to Rule
829value = -1000
}
}
}
836if = {
837limit = {
838not = {
838exists = root
}
}
840add = {
841desc = "HEIR_SELECTION_GRANDFATHER_WAS_HISTORICAL_RULER_DESC" • Score if grandfather was historical Ruler
842value = 100
}
844add = {
845desc = "HEIR_SELECTION_FATHER_WAS_HISTORICAL_RULER_DESC" • Score if father was historical Ruler
846value = 100
}
848add = {
849desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_DESC" • Score if parent is current Ruler
850value = -100
}
852add = {
853desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
854value = 1
}
856add = {
857desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
858value = 1
}
860add = {
861desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
862value = 1
}
864add = {
865desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
866value = 1
}
869add = {
870desc = "HEIR_SELECTION_FEMALE_DESC" • Score for Female
871value = -100
}
873add = {
874desc = "HEIR_SELECTION_NON_ACCEPTED_CULTURE_DESC" • Score for Discriminated Culture
875value = -100
}
877add = {
878desc = "HEIR_SELECTION_GENERAL_OR_ADMIRAL_DESC" • Score for General or Admiral
879value = 50
}
881add = {
882desc = "HEIR_SELECTION_GENERAL_OR_ADMIRAL_TRAIT_DESC" • Score for General or Admiral Traits
883value = 50
}
}
}