
Heir Selection
Admiral Election
It is a type of Succession Law of an Admiralty Regime, in which the new ruler is elected from the leading admirals. In case no admiral is available, a provisional council will lead the state until a fitting candidate has been found.
Blocked from RulershipModifier TypecalcDefinitionin_game/common/heir_selections/specialized.txt:1
4all_in_country = yes
5allow_foreign_ruler = no
6show_candidates = no
7ignore_ruler = yes
8heir_is_allowed = {
}
10potential = {
11has_reform = government_reform:admiralty_regime_reform
}
13locked = {
14has_reform = government_reform:admiralty_regime_reform
}
16calc = {
17if = {
18limit = {
19exists = root
}
21add = {
22desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
23value = root.character_age
}
25add = {
26desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
27value = root.adm
}
29add = {
30desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
31value = root.dip
}
33add = {
34desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
35value = root.mil
}
38if = {
39limit = {
40is_admiral = yes
}
42add = {
43desc = "HEIR_SELECTION_ADMIRAL_DESC" • Score for Admiral
44value = 100
}
}
48if = {
49limit = {
50NOR = {
51is_admiral = yes
52has_trait_category = admiral
}
}
55add = {
56desc = "HEIR_SELECTION_NOT_ADMIRAL_DESC" • Score for NOT being a Admiral
57value = -1000
}
}
61if = {
62limit = {
63has_trait_category = admiral
}
65add = {
66desc = "HEIR_SELECTION_ADMIRAL_TRAIT_DESC" • Score for Admiral Trait
67value = 50
}
}
70if = {
72add = {
73desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • Is unsuited to Rule
74value = -1000
}
}
}
78if = {
79limit = {
80not = {
80exists = root
}
}
82add = {
83desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
84value = 1
}
86add = {
87desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
88value = 1
}
90add = {
91desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
92value = 1
}
94add = {
95desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
96value = 1
}
98add = {
99desc = "HEIR_SELECTION_ADMIRAL_DESC" • Score for Admiral
100value = 100
}
102add = {
103desc = "HEIR_SELECTION_ADMIRAL_TRAIT_DESC" • Score for Admiral Trait
104value = 50
}
106add = {
107desc = "HEIR_SELECTION_NOT_ADMIRAL_DESC" • Score for NOT being a Admiral
108value = -1000
}
}
}
112succession_effect = {
}