
Heir Selection
Mamlūk Succession
The new Ruler as well as any Regents must come from the discipline and prestigious ranks of the elite Mamlūk troops under our command.
NobilityEstatesuccession effect
Blocked from RulershipModifier Typesibling score, succession effect
MamlūkTraitsibling score, succession effectDefinitionin_game/common/heir_selections/monarchy.txt:432
433include_ruler_siblings = yes
434allow_female = no
435through_female = no
436allow_children = yes
437ignore_ruler = yes
438traverse_family_tree = yes
442heir_is_allowed = {
}
445potential = {
447has_reform = government_reform:mamluk_government
}
450locked = {
452has_reform = government_reform:mamluk_government
}
455succession_effect = {
462if = {
463limit = {
465any_cabinet_character = {}
}
}
479if = {
}
}
491sibling_score = {
493if = {
494limit = {
495exists = root
}
497add = {
498desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
499value = root.character_age
}
501add = {
502desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
503value = root.adm
}
505add = {
506desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
507value = root.dip
}
509add = {
510desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
511value = root.mil
}
514if = {
515limit = {
515exists = root.father
}
517if = {
518limit = {
519any_parent = {
520this = scope:target.ruler
}
}
523add = {
524desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_DESC" • Score if parent is current Ruler
525value = 100
}
}
}
530if = {
531limit = {
532OR = {
533is_general = yes
534is_admiral = yes
}
}
537add = {
538desc = "HEIR_SELECTION_GENERAL_OR_ADMIRAL_DESC" • Score for General or Admiral
539value = 50
}
}
543if = {
544limit = {
545OR = {
546has_trait_category = general
547has_trait_category = admiral
}
}
550add = {
551desc = "HEIR_SELECTION_GENERAL_OR_ADMIRAL_TRAIT_DESC" • Score for General or Admiral Traits
552value = 50
}
}
556if = {
560add = {
561desc = "HEIR_SELECTION_MAMLUK_DESC" • Score for Mamlūk Trait
562value = 100
}
}
565if = {
567add = {
568desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • Is unsuited to Rule
569value = -1000
}
}
}
576if = {
577limit = {
578not = {
578exists = root
}
}
580add = {
581desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_DESC" • Score if parent is current Ruler
582value = 100
}
584add = {
585desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • Score per years of age
586value = 1
}
588add = {
589desc = "HEIR_SELECTION_ADM_DESC" • Score per Administrative Ability
590value = 1
}
592add = {
593desc = "HEIR_SELECTION_DIP_DESC" • Score per Diplomatic Ability
594value = 1
}
596add = {
597desc = "HEIR_SELECTION_MIL_DESC" • Score per Military Ability
598value = 1
}
600add = {
601desc = "HEIR_SELECTION_GENERAL_OR_ADMIRAL_DESC" • Score for General or Admiral
602value = 50
}
604add = {
605desc = "HEIR_SELECTION_MAMLUK_DESC" • Score for Mamlūk Trait
606value = 100
}
608add = {
609desc = "HEIR_SELECTION_GENERAL_OR_ADMIRAL_TRAIT_DESC" • Score for General or Admiral Traits
610value = 50
}
}
}