flavor_eng.35 威廉·皮特家族的教育
时间范围:1728.1.1 - 1790.1.1,每月 10% 概率触发
触发条件:
- 角色
eng_william_pitt_the_older(老威廉·皮特)必须:- 存活
- 属于玩家国家
- 拥有至少一个孩子
- 至少有一个孩子的年龄在 5 岁至 12 岁之间
关键效果:
- 历史选项:
flavor_eng.35.a- 从老威廉·皮特年龄在5至12岁的孩子中,选择能力总值最高的一位,并将其保存为变量
eng_william_pitt_the_younger。 - 对该目标孩子执行以下操作:
- 设置儿童教育为
child_education:expensive_in_depth_education(昂贵的深度教育)。 - 如果该孩子已有任何特质,则移除所有儿童类别的特质。
- 添加特质
trait:child_prodigy(神童)。
- 设置儿童教育为
- 从老威廉·皮特年龄在5至12岁的孩子中,选择能力总值最高的一位,并将其保存为变量
背景介绍: 该事件模拟了18世纪英国著名政治家老威廉·皮特(第一代查塔姆伯爵)对其子女,特别是其子小威廉·皮特(后来成为英国历史上最年轻的首相)的培养。事件反映了当时英国贵族精英家庭对后代教育的重视,通过投入资源进行深度教育,以期培养出杰出的政治继承人。
完整事件代码:
flavor_eng.35 = {
type = country_event
title = flavor_eng.35.title
desc = flavor_eng.35.desc
fire_only_once = yes
historical_info = flavor_eng.35.historical_info
dynamic_historical_event = {
tag = ENG
tag = GBR
from = 1728.1.1
to = 1790.1.1
monthly_chance = 10
}
trigger = {
character:eng_william_pitt_the_older ?= {
is_alive = yes
owner = root
num_of_children > 0
any_child ?= {
age_in_years > 5
age_in_years < 12
}
}
}
illustration_tags = {
10 = interior
10 = happy
}
immediate = {
event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
character:eng_william_pitt_the_older = {
ordered_child = {
limit = {
age_in_years > 5
age_in_years < 12
}
order_by = total_abilities
max = 1
check_range_bounds = no
save_scope_as = target_child
root = {
set_variable = {
value = prev
name = eng_william_pitt_the_younger
}
}
}
}
}
option = {
name = flavor_eng.35.a
scope:target_child = {
set_child_education = child_education:expensive_in_depth_education
hidden_effect = {
if = { #Trait clean up just in case
limit = { num_of_traits > 0 }
remove_traits_of_category = child
}
}
add_trait = trait:child_prodigy
}
}
}