
Heir Selection
Doge Election
It is a type of Succession Law of a Republic in which the Ruler is elected from elites of the country and rules for lifetime.
However, the Doge can still be ousted should his popularity with the Nobility or with the Burghers drop.
Blocked from RulershipModifier TypecalcModifiers
Definitionin_game/common/heir_selections/republic.txt:289
290use_election = yes
291term_duration = 0
292max_possible_candidates = 3
294heir_is_allowed = {
}
296potential = {
297has_reform = government_reform:merchant_republic
}
299locked = {
300has_reform = government_reform:merchant_republic
}
302calc = {
303if = {
304limit = {
305exists = root
}
307add = {
308desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
309value = root.adm
}
311add = {
312desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
313value = root.dip
}
315add = {
316desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
317value = root.mil
}
319add = {
320desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
321value = root.age_in_years
}
323if = {
324limit = {
325any_trait = {
325has_tag = economical
}
}
327add = {
328desc = "HEIR_SELECTION_ECONOMICAL_TRAITS" • Score for Economical Traits
329value = 50
}
}
332if = {
333limit = {
334any_trait = {
334has_tag = social
}
}
336add = {
337desc = "HEIR_SELECTION_SOCIAL_TRAITS" • Score for Social Traits
338value = 50
}
}
341if = {
342limit = {
343any_trait = {
343has_tag = tolerant
}
}
345add = {
346desc = "HEIR_SELECTION_TOLERANT_TRAITS" • Score for Lenient Traits
347value = 50
}
}
350if = {
352add = {
353desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • Is unsuited to Rule
354value = -1000
}
}
}
360if = {
361limit = {
362not = {
362exists = root
}
}
364add = {
365desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
366value = 1
}
368add = {
369desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
370value = 1
}
372add = {
373desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
374value = 1
}
376add = {
377desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
378value = 1
}
380add = {
381desc = "HEIR_SELECTION_ECONOMICAL_TRAITS" • Score for Economical Traits
382value = 50
}
384add = {
385desc = "HEIR_SELECTION_SOCIAL_TRAITS" • Score for Social Traits
386value = 50
}
388add = {
389desc = "HEIR_SELECTION_TOLERANT_TRAITS" • Score for Lenient Traits
390value = 50
}
}
}
