flavor_gen.33 科西嘉贵族起义
时间范围:1700.1.1 - 1837.1.1(每月 1% 概率)
触发条件:
- 国家拥有科西嘉地区 (
owns_corsica = yes)。 - 在任意拥有的科西嘉地区 (
is_corsica = yes) 中:- 贵族人口 (
num_pop_type:nobles) 超过 0.5。 - 存在文化为科西嘉 (
culture = culture:corsican) 且类型为贵族 (pop_type = pop_type:nobles) 的人口。
- 贵族人口 (
- 科西嘉国家 (
c:COR) 不存在。
关键效果:
- 历史选项 (flavor_gen.33.a): “结束这些叛乱。”
- 角色卢吉·贾费里 (
scope:luiggi_giafferi) 改变效忠对象为科西嘉独立战士 (scope:corsican_independence_fighter)。 - 在所有拥有的科西嘉地区中,所有效忠于本国、文化为科西嘉的贵族人口 (
pop_type:nobles):- 增加人口不满度 (
add_pop_satisfaction = pop_satisfaction_ultimate_penalty)。 - 改变效忠对象为科西嘉独立战士。
- 增加人口不满度 (
- 设置变量
corsican_revolt。
- 角色卢吉·贾费里 (
- 选项 (flavor_gen.33.b): “授予他们独立。”
- 将所有拥有的科西嘉地区:
- 添加为科西嘉 (
c:COR) 的核心 (add_core = c:COR)。 - 如果该地区是本国核心,则移除本国核心 (
remove_core = root)。 - 将地区所有权转移给科西嘉 (
change_location_owner = c:COR)。
- 添加为科西嘉 (
- 科西嘉国家:
- 设置新统治者 (
set_new_ruler) 为卢吉·贾费里。 - 改变政府类型为共和国 (
government_type:republic)。
- 设置新统治者 (
- 将所有拥有的科西嘉地区:
背景介绍: 在18世纪,热那亚共和国对科西嘉岛的统治日益受到当地贵族和民众的挑战。科西嘉贵族阶层,尤其是那些保留着科西嘉文化认同的家族,对热那亚的统治感到不满,并开始寻求更大的自治权乃至独立。这一事件模拟了科西嘉贵族领导的反抗运动,其高潮是卢吉·贾费里等人物登上历史舞台,并可能引发全面的独立战争或导致热那亚被迫承认科西嘉独立。
完整事件代码:
flavor_gen.33 = {
type = country_event
fire_only_once = yes
title = flavor_gen.33.title
desc = flavor_gen.33.desc
dynamic_historical_event = {
tag = GEN
from = 1700.1.1
to = 1837.1.1
monthly_chance = 1
}
trigger = {
owns_corsica = yes
any_owned_location = {
is_corsica = yes
num_pop_type:nobles > 0.5
any_pop = {
culture = culture:corsican
pop_type = pop_type:nobles
}
}
NOT = { country_exists = c:COR }
}
illustration_tags = {
10 = regular
10 = interior
}
immediate = {
event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
location:bastia = {
create_dynasty_from_location = giafferi_dynasty
}
create_character = {
first_name = Luiggi
dynasty = dynasty:giafferi_dynasty
estate = estate_type:nobles_estate
adm = 44
dip = 34
mil = 52
age = 30
birth_location = location:bastia
save_scope_as = luiggi_giafferi
}
create_corsican_rebels = yes
}
#End these revolts.
option = {
name = flavor_gen.33.a
historical_option = yes
scope:luiggi_giafferi = {
change_character_allegiance = scope:corsican_independence_fighter
}
custom_tooltip = {
text = arrigo_della_rocca_support_nobles_joining
every_owned_location = {
limit = {
is_corsica = yes
}
every_pop = {
limit = {
owner = root
culture = culture:corsican
pop_type = pop_type:nobles
}
add_pop_satisfaction = pop_satisfaction_ultimate_penalty
change_pop_allegiance = scope:corsican_independence_fighter
}
}
}
hidden_effect = {
set_variable = { name = corsican_revolt }
}
}
#Grant them their independence.
option = {
name = flavor_gen.33.b
every_owned_location = {
limit = {
is_corsica = yes
}
add_core = c:COR
if = {
limit = {
is_core_of = root
}
remove_core = root
}
change_location_owner = c:COR
}
c:COR = {
set_new_ruler = scope:luiggi_giafferi
change_government_type = government_type:republic
}
}
}