
後継者選び
海賊選挙
海賊共和国の後継者選びのひとつで、統治者は1名以上の候補者のなかから乗組員によって選ばれる。
統治禁止補正タイプcalc
不具特性calc
独眼特性calc
疵面特性calc定義in_game/common/heir_selections/republic.txt:554
556use_election = yes
557term_duration = 0
558max_possible_candidates = 3
561heir_is_allowed = {
}
563potential = {
564has_reform = government_reform:pirate_brethren_reform
}
567locked = {
568has_reform = government_reform:pirate_brethren_reform
}
570calc = {
571if = {
572limit = {
573exists = root
}
575add = {
576desc = "HEIR_SELECTION_DIP_DESC" • 外交能力ごとのスコア
577value = root.dip
}
579add = {
580desc = "HEIR_SELECTION_MIL_DESC" • 軍事能力ごとのスコア
581value = root.mil
}
587if = {
588limit = {
589is_admiral = yes
}
591desc = "HEIR_SELECTION_ADMIRAL_DESC" • 提督である場合のスコア
592value = 100
}
594if = {
595limit = {
596has_trait_category = admiral
}
598desc = "HEIR_SELECTION_ADMIRAL_TRAIT_DESC" • 提督の特性からのスコア
599value = 100
}
601if = {
603add = {
604desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • 統治に適さない
605value = -1000
}
}
608if = {
610add = {
611desc = "HEIR_SELECTION_ONE_EYED_DESC" • 独眼である
612value = 25
}
}
615if = {
617add = {
618desc = "HEIR_SELECTION_MAIMED_DESC" • 不具である
619value = 25
}
}
622if = {
624add = {
625desc = "HEIR_SELECTION_SCARRED_DESC" • 疵面である
626value = 25
}
}
}
632if = {
633limit = {
634not = {
634exists = root
}
}
636add = {
637desc = "HEIR_SELECTION_DIP_DESC" • 外交能力ごとのスコア
638value = 1
}
640add = {
641desc = "HEIR_SELECTION_MIL_DESC" • 軍事能力ごとのスコア
642value = 1
}
644add = {
645desc = "HEIR_SELECTION_OLDER_HEIR_DESC" • 年齢ごとのスコア
646value = 1
}
648add = {
649desc = "HEIR_SELECTION_ADMIRAL_DESC" • 提督である場合のスコア
650value = 100
}
652add = {
653desc = "HEIR_SELECTION_ADMIRAL_TRAIT_DESC" • 提督の特性からのスコア
654value = 100
}
656add = {
657desc = "HEIR_SELECTION_ONE_EYED_DESC" • 独眼である
658value = 25
}
660add = {
661desc = "HEIR_SELECTION_MAIMED_DESC" • 不具である
662value = 25
}
664add = {
665desc = "HEIR_SELECTION_SCARRED_DESC" • 疵面である
666value = 25
}
}
}