flavor_byz.1500 塞萨洛尼基公社
时间范围:1340.1.1 - 1500.1.1,每月 5% 概率触发
触发条件:
- 玩家国家(
root)是塞萨洛尼基(location:thessaloniki)地区的所有者。 - 国家正处于
disaster_type:byzantine_succession_crisis(拜占庭继承危机)灾难中。
关键效果:
- 选项
flavor_byz.1500.a:- 在塞萨洛尼基地区,所有属于玩家且为贵族(
pop_type:nobles)的人口规模减少 5%。 - 在塞萨洛尼基地区,所有属于玩家、信仰与国教不同且为农民(
pop_type:peasants)的人口,其满意度将受到pop_satisfaction_ultimate_penalty惩罚。 - 显示自定义提示文本
BYZ_DEAL_WITH_THESSALONIKI_COMMUNE。 - 在 3 年后,静默触发事件
flavor_byz.1501。
- 在塞萨洛尼基地区,所有属于玩家且为贵族(
背景介绍: 在拜占庭帝国深陷继承危机的动荡时期,帝国第二大城市塞萨洛尼基爆发了公社运动。当地民众,尤其是对现状不满的农民和异教徒,趁中央政权虚弱之机,反抗贵族统治,试图建立自治公社。这一事件反映了帝国晚期社会矛盾的激化与地方离心力的增强,对拜占庭统治者构成了严峻挑战。
完整事件代码:
flavor_byz.1500 = { #Thessaloniki Commune
type = country_event
title = flavor_byz.1500.title
desc = flavor_byz.1500.desc
fire_only_once = yes
illustration_tags = {
10 = exterior
10 = angry
}
dynamic_historical_event = {
tag = BYZ
from = 1340.1.1
to = 1500.1.1
monthly_chance = 5
}
trigger = {
location:thessaloniki.owner ?= root
any_active_disaster = {
disaster_type = disaster_type:byzantine_succession_crisis
}
}
immediate = {
event_illustration_estate_effect = { foreground = estate_type:peasants_estate background = estate_type:nobles_estate }
location:thessaloniki = {
save_scope_as = target_location
}
set_variable = {
name = thessaloniki_pop_sat
value = 0
}
set_variable = {
name = num_of_thessaloniki_loops
value = 1
}
scope:target_location = {
every_pop = {
limit = {
pop_type = pop_type:nobles
}
add_pop_size = {
value = pop_size
multiply = -0.05
}
}
every_pop = {
limit = {
owner = root
religion != root.religion
pop_type = pop_type:peasants
}
add_pop_satisfaction = pop_satisfaction_ultimate_penalty
ROOT = {
change_variable = {
name = thessaloniki_pop_sat
add = prev.pop_satisfaction
}
change_variable = {
name = num_of_thessaloniki_loops
add = 1
}
}
}
}
change_variable = {
name = thessaloniki_pop_sat
add = 0.15
}
change_variable = {
name = thessaloniki_pop_sat
divide = var:num_of_thessaloniki_loops
}
clamp_variable = {
name = thessaloniki_pop_sat
max = 1
min = 0.4
}
}
option = {
name = flavor_byz.1500.a
show_as_tooltip = {
scope:target_location = {
every_pop = {
limit = {
owner = root
pop_type = pop_type:nobles
}
add_pop_size = {
value = pop_size
multiply = -0.05
}
}
every_pop = {
limit = {
owner = root
religion != root.religion
pop_type = pop_type:peasants
}
add_pop_satisfaction = pop_satisfaction_ultimate_penalty
}
}
}
custom_tooltip = {
text = BYZ_DEAL_WITH_THESSALONIKI_COMMUNE
trigger_event_silently = { id = flavor_byz.1501 years = 3 }
}
}
}