
後継者選び
儀式的な選挙
世界中の多くの文化が使用する後継者選びのひとつで、統治権をかけた儀式的な競争を開催し、前統治者の息子たちのなかから新しい統治者が選ばれる。
統治禁止補正タイプcalc定義in_game/common/heir_selections/tribal.txt:166
173include_ruler_siblings = no
174all_in_dynasty = no
175through_female = no
176allow_female = no
177allow_children = yes
178ignore_ruler = yes
179show_candidates = yes
182heir_is_allowed = {
}
189calc = {
191if = {
192limit = {
193exists = root
}
195add = {
196desc = "HEIR_SELECTION_RANDOM_DESC" • 候補者はランダムなスコア(0.00から+200.00)を獲得する
197value = random_integer
198modulo = 200
}
200add = {
201desc = "HEIR_SELECTION_ADM_DESC" • 統治能力ごとのスコア
202value = root.adm
}
204add = {
205desc = "HEIR_SELECTION_DIP_DESC" • 外交能力ごとのスコア
206value = root.dip
}
208add = {
209desc = "HEIR_SELECTION_MIL_DESC" • 軍事能力ごとのスコア
210value = root.mil
}
213if = {
214limit = {
215NOT = {
216scope:target = {
217any_primary_or_accepted_culture = {
217root.culture = this
}
}
}
}
221add = {
222desc = "HEIR_SELECTION_NON_ACCEPTED_CULTURE_DESC" • 非受容文化である場合のスコア
223value = -100
}
}
227if = {
228limit = {
228exists = root.father
}
230if = {
231limit = {
232root.father = scope:target.ruler
}
234add = {
236desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_DESC" • 親が現在の統治者である場合のスコア
237value = 100
}
}
}
243if = {
244limit = {
244exists = root.mother
}
246if = {
247limit = {
248scope:target = {
249ruler ?= {
250exists = first_spouse
}
}
253root.mother = scope:target.ruler.first_spouse
}
255add = {
257desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_FIRST_WIFE_DESC" • 親が現在の統治者の正妻である場合のスコア
258value = 50
}
}
}
263if = {
264limit = {
265root.age_in_years < 10
}
267add = {
268desc = "HEIR_SELECTION_TOO_YOUNG_DESC" • 年齢が10歳未満である場合のスコア
269value = -100
}
}
273if = {
274limit = {
275root.age_in_years > 40
}
277add = {
278desc = "HEIR_SELECTION_TOO_OLD_DESC" • 年齢が41歳以上である場合のスコア
279value = root.age_in_years
280subtract = 40
281multiply = -10
}
}
285if = {
287add = {
288desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" • 統治に適さない
289value = -1000
}
}
}
297if = {
298limit = {
299not = {
299exists = root
}
}
301add = {
302desc = "HEIR_SELECTION_RANDOM_DESC" • 候補者はランダムなスコア(0.00から+200.00)を獲得する
303format = "FORMAT_NO_VALUE"
}
305add = {
306desc = "HEIR_SELECTION_ADM_DESC" • 統治能力ごとのスコア
307value = 1
}
309add = {
310desc = "HEIR_SELECTION_DIP_DESC" • 外交能力ごとのスコア
311value = 1
}
313add = {
314desc = "HEIR_SELECTION_MIL_DESC" • 軍事能力ごとのスコア
315value = 1
}
317add = {
318desc = "HEIR_SELECTION_NON_ACCEPTED_CULTURE_DESC" • 非受容文化である場合のスコア
319value = -100
}
321add = {
322desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_DESC" • 親が現在の統治者である場合のスコア
323value = 100
}
325add = {
326desc = "HEIR_SELECTION_PARENT_IS_CURRENT_RULER_FIRST_WIFE_DESC" • 親が現在の統治者の正妻である場合のスコア
327value = 50
}
329add = {
330desc = "HEIR_SELECTION_TOO_YOUNG_DESC" • 年齢が10歳未満である場合のスコア
331value = -100
}
333add = {
334desc = "HEIR_SELECTION_TOO_OLD_DESC" • 年齢が41歳以上である場合のスコア
335value = -10
}
}
}