flavor_mor.26 继承人选择与宗教倾向
时间范围:1485.1.1 - 1570.1.1,每月 1% 概率触发 触发条件:
- 国家为摩洛哥(MOR)
- 社会价值观“灵性主义 vs 人文主义” ≤ -90
- 社会价值观“神秘主义 vs 法学” ≤ -90
- 国家拥有统治者
- 统治者拥有超过1名子女
关键效果:
- 选项 A:
- 为统治者添加昵称
al_qaim_bi_amrillah_nickname - 为统治者添加持续至游戏结束的修正
al_qaim_bi_amrillah_modifier - 社会价值观“神秘主义 vs 法学”向“法学”方向移动
- 为统治者添加昵称
- 选项 B:
- 从统治者子女中,根据总能力值选出能力最高的两名(
target_child1和target_child2) - 如果
target_child1不是当前继承人且符合继承人资格,则将其指定为继承人 - 如果
target_child1不符合资格,而target_child2符合,则指定target_child2为继承人 - 提升指定继承人的行政、外交、军事能力(计算公式为
(100 - 目标子女当前能力值) / 2) - 社会价值观“神秘主义 vs 法学”向“法学”方向移动
- 获得大量政府权力
- 从统治者子女中,根据总能力值选出能力最高的两名(
背景介绍: 在15世纪末至16世纪中期的摩洛哥,当统治阶层展现出强烈的人文主义和法学倾向时,关于继承人的选择与国家的未来方向成为了一个关键议题。统治者需要在强化自身的宗教领袖地位与精心培养和指定一位能力出众的继承人之间做出抉择,这一决定将深刻影响王朝的稳定与国家的发展轨迹。
完整事件代码:
flavor_mor.26 = {
type = country_event
title = flavor_mor.26.title
desc = flavor_mor.26.desc
fire_only_once = yes
dynamic_historical_event = {
tag = MOR
from = 1485.1.1
to = 1570.1.1
monthly_chance = 1
}
trigger = {
societal_value:spiritualist_vs_humanist <= -90
societal_value:mysticism_vs_jurisprudence <= -90
has_ruler = yes
ruler ?= {
num_of_children > 1
}
}
illustration_tags = {
10 = regular
10 = interior
}
immediate = {
event_illustration_estate_effect = { foreground = estate_type:clergy_estate background = estate_type:nobles_estate }
ruler = { save_scope_as = target_character }
scope:target_character = {
ordered_child = {
order_by = total_abilities
max = 1
check_range_bounds = no
save_scope_as = target_child1
}
ordered_child = {
order_by = total_abilities
limit = { this != scope:target_child1 }
max = 1
check_range_bounds = no
save_scope_as = target_child2
}
}
}
option = {
name = flavor_mor.26.a
scope:target_character = {
set_nickname = al_qaim_bi_amrillah_nickname
add_character_modifier = {
modifier = al_qaim_bi_amrillah_modifier
years = -1
mode = add_and_extend
}
}
change_societal_value = { type = mysticism_vs_jurisprudence value = societal_value_move_to_right }
}
option = {
name = flavor_mor.26.b
scope:target_child1 = {
if = {
limit = { is_heir = no is_eligible_heir = root }
root = {
set_as_designated_heir = {
target = scope:target_child1
reason = preferred_heir_of_ruler
}
}
}
add_adm = {
add = 100
subtract = scope:target_child2.adm
divide = 2
}
add_dip = {
add = 100
subtract = scope:target_child2.dip
divide = 2
}
add_mil = {
add = 100
subtract = scope:target_child2.mil
divide = 2
}
}
scope:target_child2 = {
if = {
limit = {
is_heir = no
is_eligible_heir = root
scope:target_child1 = {
is_heir = no
NOT = { is_eligible_heir = root }
}
}
root = {
set_as_designated_heir = {
target = scope:target_child2
reason = preferred_heir_of_ruler
}
}
}
add_adm = {
add = 100
subtract = scope:target_child2.adm
divide = 2
}
add_dip = {
add = 100
subtract = scope:target_child2.dip
divide = 2
}
add_mil = {
add = 100
subtract = scope:target_child2.mil
divide = 2
}
}
change_societal_value = { type = mysticism_vs_jurisprudence value = societal_value_move_to_right }
add_government_power = government_power_extreme_bonus
}
}