flavor_hab.2600 西班牙联姻
时间范围:1350.1.1 - 1600.1.1,每月 10% 概率触发
触发条件:
- 存在卡斯蒂利亚(c:CAS)或西班牙(c:SPA)国家。
- 奥地利(HAB)与卡斯蒂利亚或西班牙(取决于哪个存在)满足以下所有条件:
- 不是宿敌。
- 不是交战国。
- 未处于联合统治中。
- 没有王室联姻。
- 该国为君主制政府。
- 该国拥有君主。
- 该国君主至少有一位年龄在40岁及以下、未婚、成年的女儿。
- 该国是法兰西(c:FRA)的宿敌或交战国。
- 奥地利(HAB)自身满足以下所有条件:
- 是法兰西(c:FRA)的宿敌或交战国。
- 拥有君主。
- 政府类型为君主制。
- 君主为男性且未婚。
关键效果:
- 选项 A (历史选项):向目标西班牙国家(卡斯蒂利亚或西班牙)触发事件
flavor_hab.2601。 - 选项 B:奥地利获得
legitimacy_mild_penalty(合法性轻度惩罚)。
背景介绍: 此事件模拟了哈布斯堡王朝(奥地利)与西班牙王室之间为巩固权力、对抗共同对手(尤其是法兰西)而寻求战略联姻的历史可能性。在1350年至1600年间,此类婚姻是欧洲王室外交的核心手段,旨在通过血缘纽带联合两大天主教强国,增强对欧陆事务的影响力,并为未来可能的王位联合奠定基础。
完整事件代码:
flavor_hab.2600 = { #Spanish Marriage
hide_portraits = yes
type = country_event
title = flavor_hab.2600.title
desc = flavor_hab.2600.desc
historical_info = flavor_hab.2600.historical_info
fire_only_once = yes
dynamic_historical_event = {
tag = HAB
from = 1350.1.1
to = 1600.1.1
monthly_chance = 10
}
immediate = {
ruler = {
save_scope_as = austrian_ruler
}
if = {
limit = {
country_exists = c:CAS
}
c:CAS = {
save_scope_as = target_spain
}
}
else = {
c:SPA = {
save_scope_as = target_spain
}
}
scope:target_spain = {
ruler = {
save_scope_as = spanish_ruler
random_child = {
limit = {
is_female = yes
is_adult = yes
age_in_years <= 40
is_married = no
}
save_scope_as = target_princess
}
}
}
}
trigger = {
OR = {
country_exists = c:CAS
country_exists = c:SPA
}
trigger_if = {
limit = {
country_exists = c:CAS
}
NOT = {
is_rival_of = c:CAS
}
NOT = {
is_enemy_of = c:CAS
}
NOT = { in_union_with = c:CAS }
NOT = { has_royal_marriage_with = c:CAS }
c:CAS = {
government_type = government_type:monarchy
has_ruler = yes
ruler = {
any_child = {
is_female = yes
is_adult = yes
age_in_years <= 40
is_married = no
}
}
OR = {
is_rival_of = c:FRA
is_enemy_of = c:FRA
}
}
}
trigger_else = {
NOT = {
is_rival_of = c:SPA
}
NOT = {
is_enemy_of = c:SPA
}
NOT = { in_union_with = c:SPA }
NOT = { has_royal_marriage_with = c:SPA }
c:SPA = {
government_type = government_type:monarchy
has_ruler = yes
ruler = {
any_child = {
is_female = yes
is_adult = yes
age_in_years <= 40
is_married = no
}
}
OR = {
is_rival_of = c:FRA
is_enemy_of = c:FRA
}
}
}
OR = {
is_rival_of = c:FRA
is_enemy_of = c:FRA
}
has_ruler = yes
government_type = government_type:monarchy
ruler = {
is_female = no
is_married = no
}
}
option = {
name = flavor_hab.2600.a
historical_option = yes
scope:target_spain = {
trigger_event_non_silently = { id = flavor_hab.2601 days = 7 }
}
}
option = {
name = flavor_hab.2600.b
add_legitimacy = legitimacy_mild_penalty
}
}