flavor_maj.7 巽他王国的回应
时间范围:无具体起止日期(from/to未定义),事件仅触发一次(fire_only_once = yes)。
触发条件:
- 此事件为被动触发事件,由其他事件(如
flavor_maj.8)调用。其选项的触发条件如下:- 选项A:需要国家同时拥有
accepted_marriage_variable和pressed_for_subjugation_variable两个变量。 - 选项B:需要国家拥有
accepted_marriage_variable变量。 - 选项C:需要国家 不 拥有
accepted_marriage_variable变量。
- 选项A:需要国家同时拥有
关键效果:
- 选项A (flavor_maj.7.a):
- 为巽他王国(
c:SUN)在15至45天内强制触发事件flavor_maj.8。 - 显示一个自定义提示(
custom_tooltip)。
- 为巽他王国(
- 选项B (flavor_maj.7.b):
- 获得少量政府力量(
government_power_mild_bonus)。 - 获得少量稳定度(
stability_weak_bonus)。
- 获得少量政府力量(
- 选项C (flavor_maj.7.c):
- 对目标国家(
scope:target_country2)产生相互的负面外交观点修正(refused_diplomatic_offer)。
- 对目标国家(
事件后续处理: 无论选择哪个选项,事件结束后都会执行以下清理操作:
- 如果存在
accepted_marriage_variable变量,则移除它。 - 如果存在
pressed_for_subjugation_variable变量,则移除它。
背景介绍: 此事件模拟了巽他王国在面对外部势力(可能是婚姻联盟或附庸要求)时所做出的外交回应。玩家的选择将直接影响与相关国家的关系,并可能引发后续的连锁事件。选项A预示着更复杂的外交进程即将开始,选项B提供了内政上的稳定收益,而选项C则会导致直接的外交关系恶化。
完整事件代码:
flavor_maj.7 = { #Sunda's Response
type = country_event
title = flavor_maj.7.title
desc = flavor_maj.7.desc
fire_only_once = yes
option = {
name = flavor_maj.7.a
trigger = {
has_variable = accepted_marriage_variable
has_variable = pressed_for_subjugation_variable
}
c:SUN = {
trigger_event_non_silently = {
id = flavor_maj.8
days = { 15 45 }
}
}
custom_tooltip = explain_options_flavor_maj.8
}
option = {
name = flavor_maj.7.b
trigger = {
has_variable = accepted_marriage_variable
}
add_government_power = government_power_mild_bonus
add_stability = stability_weak_bonus
}
option = {
name = flavor_maj.7.c
trigger = {
NOT = { has_variable = accepted_marriage_variable }
}
show_as_tooltip = {
add_opinion_mutual_effect = {
target = scope:target_country2
modifier = refused_diplomatic_offer
}
}
}
after = {
if = {
limit = { has_variable = accepted_marriage_variable }
remove_variable = accepted_marriage_variable
}
if = {
limit = { has_variable = pressed_for_subjugation_variable }
remove_variable = pressed_for_subjugation_variable
}
}
}