Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

flavor_byz.1501 塞萨洛尼基公社 - 结局

时间范围:1340.1.1 - 1500.1.1(每月 5% 概率)

触发条件

  • 国家拥有变量 thessaloniki_pop_sat
  • 国家是 thessaloniki 地区的所有者。
  • 国家当前正在经历 succession_crisis(继承危机)灾难。

关键效果

  • 选项 A(触发条件:拥有变量 byz_commune_good_outcome):
    • 增加稳定度,具体数值为基础值 stability_mild_bonus 加上(统治者或摄政的行政能力 / 20)。
    • 显示自定义提示 BYZ_STABILITY_DEPENDS_ON_RULER_ADM
  • 选项 B(触发条件:拥有变量 byz_commune_bad_outcome):
    • 创建一个名为 thessaloniki_uprising 的宗教类别叛军,其文化为希腊文化,宗教与国家相同。
    • thessaloniki 省份内,所有属于国家、且文化为希腊的市民或农民阶层人口,其满意度将受到 pop_satisfaction_ultimate_penalty 惩罚,并转而效忠于新创建的叛军。
    • 该叛军的进度增加 1 点。

背景介绍: 在拜占庭帝国晚期,塞萨洛尼基作为帝国第二大城市,其社会结构复杂,市民与农民阶层的不满情绪时常酝酿。尤其是在中央政权因继承危机而动荡的时期,该地区的稳定与否,直接取决于当地人口的满意度。若处理得当,可巩固统治;若矛盾激化,则可能爆发大规模的宗教起义,严重威胁帝国对马其顿核心地区的控制。

完整事件代码

flavor_byz.1501 = { #Thessaloniki Commune - Outcomes
	hide_portraits = yes
	type = country_event
	title = flavor_byz.1501.title
	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					has_variable = byz_commune_good_outcome
				}
				desc = flavor_byz.1501.desc.a
			}
			triggered_desc = {
				trigger = {
					has_variable = byz_commune_bad_outcome
				}
				desc = flavor_byz.1501.desc.b
			}
		}
	}

	fire_only_once = yes

	illustration_tags = {
		10 = angry
		10 = exterior
	}

	dynamic_historical_event = {
		tag = BYZ
		from = 1340.1.1
		to = 1500.1.1
		monthly_chance = 5
	}

	trigger = {
		has_variable = thessaloniki_pop_sat
		location:thessaloniki.owner ?= root
		any_active_disaster = {
			disaster_type =  disaster_type:succession_crisis
		}
	}

	immediate = {
		location:thessaloniki = {
			save_scope_as = target_location
		}

		if = {
			limit = {
				scope:target_location = {
					any_pop = {
						pop_satisfaction >= var:thessaloniki_pop_sat
					}
				}
			}
			set_variable = byz_commune_good_outcome
		}
		else = {
			set_variable = byz_commune_bad_outcome
			create_rebel = {
				category = religious
				name = thessaloniki_uprising
				save_scope_as = thessaloniki_uprising
				culture = culture:greek_culture
				religion = root.religion
			}
			location:thessaloniki.province = {
				every_location_in_province = {
					limit = { owner ?= ROOT }
					every_pop = {
						limit = {
							owner = root
							OR = {
								pop_type = pop_type:burghers
								pop_type = pop_type:peasants
							}
							culture = culture:greek_culture
						}
						add_pop_satisfaction = pop_satisfaction_ultimate_penalty
						change_pop_allegiance = scope:thessaloniki_uprising
					}
				}
			}
			scope:thessaloniki_uprising = {
				add_rebel_progress = 1
			}
		}

		event_illustration_estate_effect = { foreground = estate_type:peasants_estate background = estate_type:burghers_estate }

		ruler_or_regent ?= {
			save_scope_as = target_character
		}
	}

	option = {
		name = flavor_byz.1501.a

		trigger = {
			has_variable = byz_commune_good_outcome
		}

		add_stability = {
			value = stability_mild_bonus
			add = {
				value = root.ruler_or_regent.adm
				divide = 20
			}
		}
		custom_tooltip = BYZ_STABILITY_DEPENDS_ON_RULER_ADM
	}

	option = {
		name = flavor_byz.1501.b

		trigger = {
			has_variable = byz_commune_bad_outcome
		}

		show_as_tooltip = {
			create_rebel = {
				category = religious
				name = thessaloniki_uprising
				save_scope_as = thessaloniki_uprising
				culture = culture:greek_culture
				religion = root.religion
			}
			location:thessaloniki.province = {
				every_location_in_province = {
					limit = { owner = ROOT }
					every_pop = {
						limit = {
							owner = root
							OR = {
								pop_type = pop_type:burghers
								pop_type = pop_type:peasants
							}
							culture = culture:greek_culture
						}
						add_pop_satisfaction = pop_satisfaction_ultimate_penalty
						change_pop_allegiance = scope:thessaloniki_uprising
					}
				}
			}
			scope:thessaloniki_uprising = {
				add_rebel_progress = 1
			}
		}
	}
}