[flavor_swi.100] 瑞士邦联的建立
时间范围:无特定 from 和 to 日期限制,为动态历史事件。触发概率未指定 monthly_chance。
触发条件:
- 事件目标国(
major_trigger中定义)不是国际组织swiss_confederation(瑞士邦联)的成员。 - 并且,事件目标国满足以下条件之一:
- 是事件触发国(
root)的邻国。 - 是国际组织
hre(神圣罗马帝国)的成员。
- 是事件触发国(
关键效果:
- 选项 A (
flavor_swi.100.a):- 改变国家标签为
SWI(瑞士)。 - 设置国家等级为公国 (
country_rank:rank_duchy)。 - 解锁并立即采用政府改革
autonomous_swiss_cantons_reform(自治瑞士州)。 - 根据国家之前设置的变量,可能改变政府类型和继承法:
- 若变量为
swi_picked_gov_type_monarchy,则政府改为君主制 (government_type:monarchy),继承法改为男女均等的长子继承制 (heir_selection:cognatic_primogeniture)。 - 若变量为
swi_picked_gov_type_republic,则政府改为共和制 (government_type:republic),继承法改为4年任期制 (heir_selection:republic_4_year_terms)。 - 若变量为
swi_picked_gov_type_theocracy,则政府改为神权制 (government_type:theocracy),继承法改为主教选举制 (heir_selection:bishopric_elective)。
- 若变量为
- 获得瑞士核心地区:
central_switzerland_area(瑞士中部)、eastern_switzerland_area(瑞士东部)、western_switzerland_area(瑞士西部),并夺取这些土地。 - 若
swiss_confederation(瑞士邦联)国际组织存在:- 获得该组织所有成员拥有的、且触发国或其邻国尚未拥有核心的省份的核心。
- 向该组织所有其他成员(除触发国外)静默触发事件
flavor_swi.101。 - 解散
swiss_confederation国际组织。
- 改变国家标签为
背景介绍: 该事件模拟了中世纪晚期至近代早期,瑞士地区从神圣罗马帝国内部松散的自治共同体(旧瑞士邦联)向一个更具统一性的政治实体转变的关键过程。通常由一个强大的外部邻国或帝国内部势力主导,通过整合各州、统一法律和行政体系,最终建立瑞士国家,并选择其独特的联邦制政体。
完整事件代码:
flavor_swi.100 = {
type = country_event
title = flavor_swi.100.title
desc = flavor_swi.100.desc
major = yes
major_trigger = {
NOT = { is_member_of_international_organization = international_organization:swiss_confederation }
OR = {
is_neighbor_of = root
is_member_of_international_organization = international_organization:hre
}
}
illustration_tags = {
10 = happy
10 = interior
}
immediate = {
event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
save_scope_as = target_country
ruler_or_regent ?= {
save_scope_as = target_character
}
}
option = {
name = flavor_swi.100.a
change_tag = { tag = SWI }
set_country_rank_effect = { rank = country_rank:rank_duchy }
unlock_government_reform_effect = { type = autonomous_swiss_cantons_reform }
add_replacing_gov_reform = { reform = government_reform:autonomous_swiss_cantons_reform }
switch = {
trigger = has_variable
swi_picked_gov_type_monarchy = {
if = {
limit = {
NOT = { government_type = government_type:monarchy }
}
change_government_type = government_type:monarchy
change_heir_selection = heir_selection:cognatic_primogeniture
}
remove_variable = swi_picked_gov_type_monarchy
}
swi_picked_gov_type_republic = {
if = {
limit = {
NOT = { government_type = government_type:republic }
}
change_government_type = government_type:republic
change_heir_selection = heir_selection:republic_4_year_terms
}
remove_variable = swi_picked_gov_type_republic
}
swi_picked_gov_type_theocracy = {
if = {
limit = {
NOT = { government_type = government_type:theocracy }
}
change_government_type = government_type:theocracy
change_heir_selection = heir_selection:bishopric_elective
}
remove_variable = swi_picked_gov_type_theocracy
}
}
custom_tooltip = {
text = sc_gain_cores_on_switzerland_proper_tt
area:central_switzerland_area = { core_and_seize_swiss_lands = yes }
area:eastern_switzerland_area = { core_and_seize_swiss_lands = yes }
area:western_switzerland_area = { core_and_seize_swiss_lands = yes }
}
custom_tooltip = sc_seize_subject_locations_tt
if = {
limit = { exists = international_organization:swiss_confederation }
custom_tooltip = {
text = sc_unify_the_cantons_tt
international_organization:swiss_confederation = {
every_international_organization_owned_location = {
limit = {
has_owner = yes
OR = {
owner = root
owner = { is_neighbor_of = root }
}
NOT = { is_core_of = root }
}
add_core = root
}
every_international_organization_member = {
limit = { NOT = { this = root } }
trigger_event_silently = { id = flavor_swi.101 }
}
}
}
destroy_international_organization = { target = international_organization:swiss_confederation }
}
}
}