flavor_hun.190 斯洛伐克地区叛乱
时间范围:1440.1.1 - 1500.1.1(每月 5% 概率)
触发条件:
- 国家标签为
HUN(匈牙利)。 - 当前未处于战争状态(
at_war = no)。 - 拥有斯洛伐克地区(
area:slovakia_area)内的任意一个省份。
关键效果:
- 选项 A (flavor_hun.190.a):对事件中生成的叛乱人口列表(
rebelling_pops_flavor_hun_190_list)内的所有人口施加“严重不满”惩罚(add_pop_satisfaction = pop_satisfaction_severe_penalty)。 - 选项 B (flavor_hun.190.b):使整个斯洛伐克地区(
area:slovakia_area)内的所有省份遭受“极度繁荣损失”(change_prosperity = prosperity_extreme_penalty)。
背景介绍: 此事件模拟了15世纪中后期匈牙利王国在斯洛伐克地区面临的内部动荡。在长期和平时期,该地区因缺乏军事防御(无堡垒)和潜在的治理问题,可能导致当地人口(尤其是农民阶层)对贵族统治产生严重不满,进而引发叛乱或经济衰退的风险。事件反映了中世纪王国在巩固边疆、平衡各阶层利益时所面临的典型挑战。
完整事件代码:
flavor_hun.190 = {
type = country_event
title = flavor_hun.190.title
desc = flavor_hun.190.desc
fire_only_once = yes
dynamic_historical_event = {
tag = HUN
from = 1440.1.1
to = 1500.1.1
monthly_chance = 5
}
trigger = {
tag = HUN
at_war = no
any_owned_location = {
area = area:slovakia_area
}
}
illustration_tags = {
10 = armed
10 = exterior
}
immediate = {
event_illustration_estate_effect = { foreground = estate_type:peasants_estate background = estate_type:nobles_estate }
set_variable = {
name = display_num_rebelling_pops_variable
value = 0
}
set_variable = {
name = display_num_locations_variable
value = 0
}
ordered_owned_location = {
limit = {
area = area:slovakia_area
modifier:fort_level <= 0
}
order_by = population
max = {
value = 1
add = {
value = num_provinces
multiply = 0.1
}
}
add_to_list = flavor_hun_190_affected_locations_list
root = {
change_variable = {
name = display_num_locations_variable
add = 1
}
}
every_pop = {
limit = { owner = root }
add_to_list = rebelling_pops_flavor_hun_190_list
owner = {
change_variable = {
name = display_num_rebelling_pops_variable
add = prev.pop_size
}
}
}
}
}
option = {
name = flavor_hun.190.a
custom_tooltip = {
text = flavor_hun_show_rebels_tt
every_in_list = {
list = rebelling_pops_flavor_hun_190_list
add_pop_satisfaction = pop_satisfaction_severe_penalty
}
}
}
option = {
name = flavor_hun.190.b
custom_tooltip = {
text = every_location_slovakia_loses_prosperity_tt
area:slovakia_area = {
every_location_in_area = { change_prosperity = prosperity_extreme_penalty }
}
}
}
after = {
hidden_effect = {
remove_variable = display_num_locations_variable
remove_variable = display_num_rebelling_pops_variable
}
}
}