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_fra.1101 儿子要求封地

时间范围:无特定起止日期(动态事件),满足条件时每月有概率触发(代码中未指定 monthly_chance,概率由AI权重决定)。

触发条件

  • 国家拥有政府改革:french_feudal_nobility(法国封建贵族)。
  • 国家未处于战争状态。
  • 国家拥有超过1个省份。
  • 当前统治者满足以下所有条件:
    • 在世。
    • 年龄大于36岁。
    • 拥有超过4个子女。
    • 至少有一个儿子满足以下所有条件:
      • 年龄大于20岁。
      • 父亲是当前统治者。
      • 在世。
      • 不是继承人。
      • 是成年人。
      • 是男性。

关键效果

  • 选项A:他应该拥有自己的公国! (flavor_fra.1101.a)
    • 效果
      • 获得少量合法性增益 (add_legitimacy = legitimacy_mild_bonus)。
      • 在首都所在区域(非首都省份)随机选择一个省份,创建一个新的附庸国(类型为 appanage),并将其设为该省份的核心。
      • 将新创建的国家政府类型改为君主制 (government_type:monarchy)。
      • 为新国家添加政府改革:french_appanage_reform(法国封地改革)。
      • 将之前选定的儿子 (target_son_for_appanage) 设置为这个新国家的统治者。
      • 新国家拥有的所有省份都成为其核心。
    • AI选择权重:基础值 10。
  • 选项B:他将以伯爵身份统治 (flavor_fra.1101.b)
    • 效果
      • 获得微弱合法性增益 (add_legitimacy = legitimacy_weak_bonus)。
      • 在非首都的随机一个自有省份,创建一个新的附庸国(类型为 appanage)。
      • 将新创建的国家政府类型改为君主制 (government_type:monarchy)。
      • 为新国家添加政府改革:french_appanage_reform(法国封地改革)。
      • 将之前选定的儿子 (target_son_for_appanage) 设置为这个新国家的统治者。
      • 新国家拥有的所有省份都成为其核心。
    • AI选择权重:基础值 30。
  • 选项C:拒绝授予他任何头衔 (flavor_fra.1101.c)
    • 效果
      • 遭受严重的威望惩罚 (add_prestige = prestige_severe_penalty)。
      • 遭受严重的合法性惩罚 (add_legitimacy = legitimacy_severe_penalty)。
    • AI选择权重:基础值 1。

背景介绍: 在中世纪和近代早期的法国,王室或大贵族家庭中,除了长子继承主要头衔和领地外,其他儿子(幼子们)也常常要求获得属于自己的封地,以维持其贵族地位和收入来源。这种将部分领地分封给家族成员的做法被称为“封地”(Appanage)制度。此事件模拟了作为法国封建贵族统治者的你,面对一个已成年的非继承人儿子索要封地的政治诉求。你需要决定是慷慨地授予他一个公国、一个较小的伯爵领,还是冒着引起家族不满的风险拒绝他的要求。

完整事件代码

flavor_fra.1101 = { # Son demands landed title
	hide_portraits = yes
	type = country_event
	title = flavor_fra.1101.title
	desc = flavor_fra.1101.desc


	trigger = {
		has_reform = government_reform:french_feudal_nobility
		at_war = no
		num_locations > 1
		ruler ?= {
			is_alive = yes
			age_in_years > 36
			num_of_children > 4
			any_child = {
				AND = {
					age_in_years > 20
					father ?= root.ruler
					is_alive = yes
					is_heir = no
					is_adult = yes
					is_female = no
				}
			}
		}
	}

	illustration_tags = {
		10 = regular
		10 = exterior
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		ruler = {
			random_child = {
				limit = {
					age_in_years > 20
					father = root.ruler
					is_alive = yes
					is_heir = no
					is_adult = yes
					is_female = no
				}
				save_scope_as = target_son_for_appanage
			}
		}
		random_province = {
			limit = {
				region = root.capital.region
				NOT = {	province_definition = owner.capital.province_definition	}
			}
			save_scope_as = potential_duchy_province
		}
		random_owned_location = {
			limit = {
				is_capital = no
			}
			save_scope_as = potential_lordship_location
		}
	}

	option = { # He shall have his own Duchy!
		name = flavor_fra.1101.a
		add_legitimacy = legitimacy_mild_bonus
		scope:potential_duchy_province = {
			create_location_country_from_province = {
				make_subject_of = {  target = root type = subject_type:appanage }
				hidden_effect = {
					capital.province = { change_province_integration = core }
				}
				save_scope_as = target_country
			}
		}
		scope:target_country = {
			set_new_ruler = scope:target_son_for_appanage
			change_government_type = government_type:monarchy
			add_reform = government_reform:french_appanage_reform
			every_owned_location = {
				limit = {
					owner ?= scope:target_country
				}
				add_core = scope:target_country
				change_integration_level = core
			}
		}
		ai_chance = {
			base = 10
		}
	}

	option = { # He shall rule as a Count
		name = flavor_fra.1101.b
		add_legitimacy = legitimacy_weak_bonus
		scope:potential_lordship_location = {
			create_country_from_location = {
				make_subject_of = {  target = root type = subject_type:appanage }
				save_scope_as = target_country
			}
		}
		scope:target_country = {
			set_new_ruler = scope:target_son_for_appanage
			change_government_type = government_type:monarchy
			add_reform = government_reform:french_appanage_reform
			every_owned_location = {
				limit = {
					owner ?= scope:target_country
				}
				add_core = scope:target_country
				change_integration_level = core
			}
		}
		ai_chance = {
			base = 30
		}
	}

	option = { # Deny him any titles
		name = flavor_fra.1101.c
		add_prestige = prestige_severe_penalty
		add_legitimacy = legitimacy_severe_penalty
		ai_chance = {
			base = 1
		}
	}
}