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_son.5] 桑海王位危机

时间范围

  • 事件触发期:1450.1.1 - 1500.1.1
  • 触发概率:每月 5% 概率

触发条件

  • 国家稳定度 ≤ 0
  • 政府类型为君主制

关键效果

选项 A

  • 名称flavor_son.5.a
  • 历史选项:是
  • 核心效果
    • 将新统治者设置为 target_character2(穆罕默德·阿斯基亚)
    • 国家稳定度大幅下降
    • 放逐当前统治者或摄政(target_character
    • 摧毁叛军 target_rebel

选项 B

  • 名称flavor_son.5.b
  • 核心效果
    • 教士阶层满意度大幅下降
    • 叛军 target_rebel 的进度增加 10%

背景介绍

该事件模拟了15世纪下半叶桑海帝国(SON)可能面临的一场王位继承危机。在君主制国家稳定度低下时,一位来自阿斯基亚王朝的潜在竞争者穆罕默德·阿斯基亚出现,并领导一场由贵族阶层支持的叛乱,试图夺取王位。事件反映了桑海帝国历史上权力更迭与内部动荡的潜在风险。

完整事件代码

flavor_son.5 = {
	type = country_event

	title = flavor_son.5.title
	desc = flavor_son.5.desc
	historical_info = flavor_son.5.historical_info

	illustration_tags = {
		10 = armed
		10 = interior
	}

	fire_only_once = yes
	dynamic_historical_event = {
		tag = SON
		from = 1450.1.1
		to = 1500.1.1
		monthly_chance = 5
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }

		ruler_or_regent ?= {
			save_scope_as = target_character
		}

		location:gao = {
			create_dynasty_from_location = askia_dynasty
		}

		create_character = {
			first_name = name_muhammad
			last_name = askia
			birth_date = 1420.6.1
			culture = root.culture
			birth_location = root.capital
			save_scope_as = target_character2
			estate = estate_type:nobles_estate
			dynasty = dynasty:askia_dynasty
		}

		create_rebel = {
			category = pretender
			name = askia_rebels
			save_scope_as = target_rebel
		}

		set_variable = {
			name = current_ruler_power_variable
			value = {
				add = {
					value = "estate_power(estate_type:crown_estate)"
					multiply = 5
				}
				add = {
					value = government_power
					divide = 2
				}
			}
		}
		set_variable = {
			name = num_rebelling_locations
			value = 0
		}
		if = {
			limit = {
				var:current_ruler_power_variable < 100
			}
			while = {
				limit = { var:current_ruler_power_variable < 100 }
				ordered_owned_location = {
					limit = {
						is_capital = no
						NOT = { has_variable = already_supports_rebel_variable }
					}
					order_by = {
						value = population
						multiply = -1
					}
					max = 1
					owner = {
						change_variable = {
							name = current_ruler_power_variable
							add = 2
						}
						change_variable = {
							name = num_rebelling_locations
							add = 1
						}
					}
					set_variable = {
						name = already_supports_rebel_variable
						months = 2
					}
					every_pop = {
						limit = {
							owner = root
						}
						add_pop_satisfaction = pop_satisfaction_extreme_penalty
						change_pop_allegiance = scope:target_rebel
					}
				}
			}
		}
		else = {
			remove_variable = current_ruler_power_variable
			remove_variable = num_rebelling_locations
		}

		scope:target_character2 = {
			change_character_allegiance = scope:target_rebel
		}
	}

	trigger = {
		stability <= 0
		government_type = government_type:monarchy
	}

	option = {
		name = flavor_son.5.a

		historical_option = yes

		set_new_ruler = scope:target_character2

		add_stability = stability_severe_penalty

		scope:target_character = {
			banish_character = yes
		}

		destroy_rebel = scope:target_rebel
	}

	option = {
		name = flavor_son.5.b

		add_estate_satisfaction = { type = estate_type:clergy_estate value = estate_satisfaction_extreme_penalty }

		scope:target_rebel = {
			add_rebel_progress = 0.1
		}
	}
}