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_bav.1302] 巴伐利亚-兰茨胡特的分裂

时间范围:1350.1.1 - 1420.1.1(每月 4% 概率)

触发条件

  • 国家必须拥有统治者。
  • 存在至少一位满足以下所有条件的男性在世角色:
    • 是统治者的兄弟姐妹、近亲或子女。
    • 与统治者属于同一王朝。
    • 不是统治者,也不是继承人。
    • 年龄大于等于16岁。
  • 满足以下任一情况:
    1. 情况A:国家 c:LBV(下拜恩-兰茨胡特)存在,并且:
      • c:LBVc:UBV(上拜恩)的附庸国。
      • 同时满足以下任一条件:
        • c:LBVc:UBVopinion(态度) ≤ 50。
        • c:LBVliberty_desire(独立倾向) > 50。
        • c:LBVgreat_power_score(列强分数) > c:UBV 的列强分数。
    2. 情况B:国家 c:LBV 不存在,并且:
      • c:UBV 拥有 location:landshut(兰茨胡特地区)。
      • 同时满足以下任一条件:
        • c:UBVstability(稳定度) ≤ 0。
        • area:bavaria_area(巴伐利亚区域)内,有超过3个由 c:UBV 拥有的地点,其 average_satisfaction(平均满意度) ≤ 50。

关键效果

  • 选项 A (历史选项)
    • 如果 c:LBV 不存在且 c:UBV 拥有兰茨胡特,则从 c:UBV 的核心领土中创建国家 c:LBV,并将其加入神圣罗马帝国(international_organization:hre),同时任命 rival_brother(先前选定的敌对兄弟)为 c:LBV 的新统治者。
    • 如果 c:LBV 已存在,则 c:UBV 取消其与 c:LBV 的附庸关系。
  • 选项 B
    • 如果 c:LBV 不存在且 c:UBV 拥有兰茨胡特,则从 c:UBV 的核心领土中创建国家 c:LBV,并将其加入神圣罗马帝国,任命 rival_brotherc:LBV 的新统治者,然后 c:LBV 以“附庸国挣脱枷锁”为宣战理由(casus_belli:cb_subject_broke_free)向 c:UBV 宣战。
    • 如果 c:LBV 已存在,则 c:LBV 以“独立战争”为宣战理由(casus_belli:cb_independence_war)向 c:UBV 宣战,并任命 rival_brother 为新统治者。
  • 选项 C
    • 触发前提c:LBV 不存在,且 c:UBV 拥有兰茨胡特。
    • 效果:在 c:UBV 拥有的所有巴伐利亚区域地点,添加持续25年的修正 bavaria_internal_division(巴伐利亚内部分裂)。同时,这些地点中所有与 c:UBV 宗教和文化相同的阶层(pop)获得 pop_satisfaction_ultimate_penalty(阶层满意度终极惩罚)。c:UBV 自身获得 stability_extreme_penalty(稳定度极端惩罚)。

背景介绍: 此事件模拟了中世纪晚期巴伐利亚公国内部的继承危机与领土分裂。维特尔斯巴赫王朝的统治者们经常面临兄弟子侄对权力的争夺,尤其是在上巴伐利亚(UBV)统治核心区域。当统治家族内出现成年男性近亲,且国家面临内部不稳(如稳定度低下、民众不满)或附庸国(如下巴伐利亚-兰茨胡特,LBV)强大且怀有异心时,分裂的风险急剧增加。这可能导致一个新的公国(LBV)被建立并寻求独立,甚至引发直接的王朝战争,深刻影响巴伐利亚地区的政治格局。

完整事件代码

flavor_bav.1302 = {
    type = country_event
    title = flavor_bav.1302.title
    desc = flavor_bav.1302.desc

	historical_info = flavor_bav.1302.historical_info

	fire_only_once = yes
    dynamic_historical_event = {
        tag = UBV
        from = 1350.1.1
        to = 1420.1.1
        monthly_chance = 4
    }

    illustration_tags = {
        10 = angry
        10 = interior
    }

    trigger = {
        has_ruler = yes
		any_character = {
			is_alive = yes
			OR = {
				is_sibling_of = root.ruler
				is_close_relative = root.ruler
				is_child_of = root.ruler
			}
			dynasty = root.ruler.dynasty
			is_female = no
			is_ruler = no
  			is_heir = no
  			age_in_years >= 16
		}
 		OR = {
			AND = {
				country_exists = c:LBV
				c:LBV = {
					is_subject_of = c:UBV
					OR = {
                        opinion = {
                            target = root
                            value <= 50
                        }
						liberty_desire > 50
						great_power_score > root.great_power_score
					}
                 }
			}
			AND = {
				NOT = { country_exists = c:LBV }
				owns = location:landshut
				OR = {
					stability <= 0
					area:bavaria_area = {
						any_location_in_area = {
							owner = root
							average_satisfaction <= 50
							count > 3
						}
					}
				}
			}
		}
    }

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		save_scope_as = target_country
		capital = { save_scope_as = target_location }
		ruler ?= {
			save_scope_as = target_ruler
		}
		if = {
			limit = {
				country_exists = c:LBV
				NOT = { c:LBV.ruler = c:UBV.ruler }
			}

			c:LBV.ruler ?= { save_scope_as = rival_brother }
		}
		else = {
			random_character = {
				limit = {
					is_alive = yes
					OR = {
						is_sibling_of = root.ruler
						is_close_relative = root.ruler
						is_child_of = root.ruler
					}
					dynasty = root.ruler.dynasty
					is_female = no
					is_ruler = no
					is_heir = no
					age_in_years >= 16
				}
				save_scope_as = rival_brother
			}
		}
	}

	option = {
		name = flavor_bav.1302.a
		historical_option = yes

        if = {
			limit = {
				NOT = { country_exists = c:LBV }
				owns = location:landshut
			}

			create_country_from_cores_in_our_locations = c:LBV

			hidden_effect = {
				international_organization:hre = {
					add_country_to_international_organization = c:LBV
				}
			}
			c:LBV = {
				set_new_ruler = scope:rival_brother
			}
		}
		else = {
			cancel_subject = c:LBV
		}

	}

    option = {
        name = flavor_bav.1302.b
        if = {
			limit = {
				NOT = { country_exists = c:LBV }
				owns = location:landshut
			}

			create_country_from_cores_in_our_locations = c:LBV

			hidden_effect = {
				international_organization:hre = {
					add_country_to_international_organization = c:LBV
				}
			}

			c:LBV = {
				declare_war_with_cb = {
					target = root
					type = casus_belli:cb_subject_broke_free
				}