flavor_ayu.1000 素可泰/阿瑜陀耶问题
时间范围:1350.1.1 - 1450.1.1(每月 5% 概率)
触发条件:
- 国家拥有君主。
- 君主总能力值 >= 150。
- 国家拥有继承人。
- 继承人已成年。
- 继承人存在父亲,且其父亲是当前君主(以避免继承人身份异常)。
- 满足以下任一条件:
- 国家是 AYU(阿瑜陀耶),且 SUK(素可泰) 国家存在,并且 SUK 是我国的附庸国,且其独立倾向 <= 50。
- 国家是 SUK(素可泰),且 AYU(阿瑜陀耶) 国家存在,并且 AYU 是我国的附庸国,且其独立倾向 <= 50。
关键效果:
- 选项 A(历史选项):
flavor_ayu.1000.a- 触发条件:目标国家(
target_country)由AI控制。 - 效果:将目标国家的君主设置为当前国家的继承人(
target_heir)。
- 触发条件:目标国家(
- 选项 B:
flavor_ayu.1000.b- 触发条件:目标国家(
target_country)由玩家控制。 - 效果:目标国家将非静默地触发事件
flavor_ayu.1001。
- 触发条件:目标国家(
- 选项 C:
flavor_ayu.1000.c- 效果:我国获得少量威望加成(
prestige_mild_bonus)。目标国家的独立倾向略微降低(liberty_desire_mild_minus)。
- 效果:我国获得少量威望加成(
背景介绍: 在14至15世纪,暹罗地区的两大强国——素可泰王国与新兴的阿瑜陀耶王国——之间关系错综复杂。随着阿瑜陀耶的崛起,其对传统霸主素可泰的影响力日益增强,两者间形成了复杂的附庸关系。此事件模拟了当一方拥有杰出君主和成年继承人时,可能通过王朝联合或政治安排,解决两国间的继承与统治问题,深刻影响了暹罗地区的政治格局整合进程。
完整事件代码:
flavor_ayu.1000 = { #The issue of Sukhothai/Ayutthaya
type = country_event
title = flavor_ayu.1000.title
desc = flavor_ayu.1000.desc
historical_info = flavor_ayu.1000.historical_info
dynamic_historical_event = {
tag = AYU
tag = SUK
from = 1350.1.1
to = 1450.1.1
monthly_chance = 5
}
fire_only_once = yes
trigger = {
has_ruler = yes
ruler = {
total_abilities >= 150
}
has_heir = yes
heir = {
is_adult = yes
exists = father
father = root.ruler #To avoid weird issues when the heir is someone random
}
OR = {
AND = {
tag = AYU
country_exists = c:SUK
c:SUK = {
is_subject_of = root
liberty_desire <= 50
}
}
AND = {
tag = SUK
country_exists = c:AYU
c:AYU = {
is_subject_of = root
liberty_desire <= 50
}
}
}
}
illustration_tags = {
10 = regular
10 = interior
}
immediate = {
event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
ruler = { save_scope_as = target_ruler }
heir = { save_scope_as = target_heir }
if = {
limit = { tag = AYU }
c:SUK = { save_scope_as = target_country }
}
else = {
c:AYU = { save_scope_as = target_country }
}
save_scope_as = target_origin_country
}
option = { #PU
name = flavor_ayu.1000.a
historical_option = yes
trigger = {
scope:target_country = {
is_ai = yes
}
}
scope:target_country = {
set_new_ruler = scope:target_heir
}
}
option = { #They choose
name = flavor_ayu.1000.b
trigger = {
scope:target_country = {
is_ai = no
}
}
scope:target_country = {
trigger_event_non_silently = { id = flavor_ayu.1001 }
}
}
option = { #This works for now
name = flavor_ayu.1000.c
add_prestige = prestige_mild_bonus
scope:target_country = {
add_liberty_desire = liberty_desire_mild_minus
}
}
}