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_pol.55 波兰-立陶宛联姻提议

时间范围:1370.1.1 - 1500.1.1 (每月 20% 概率)

触发条件

  • 事件国家为波兰(POL)。
  • 事件国家为王国(country_rank_level >= 3)。
  • 立陶宛(LIT)与条顿骑士团(TEU)国家存在。
  • 事件国家(波兰)拥有统治者或继承人。
  • 立陶宛(LIT):
    • 拥有统治者或继承人。
    • 是AI控制的国家。
    • 是波兰的盟友。
    • 拥有的省份数量少于150个。
  • 满足以下联姻条件之一:
    • 立陶宛的统治者未婚,且波兰的统治者或继承人满足与立陶宛统治者结婚的条件(pol_can_marry)。
    • 立陶宛的继承人未婚,且波兰的统治者或继承人满足与立陶宛继承人结婚的条件(pol_can_marry)。

关键效果

  • 选项 A (flavor_pol.55.a) - 历史选项
    • 如果波兰或立陶宛的候选人是未成年人,则双方候选人被添加一个为期1年的“因订婚禁止婚姻”的修正,并标记订婚已启动。
    • 如果双方候选人都是成年人,则波兰候选人与立陶宛候选人结婚,并触发事件 flavor_pol.47
  • 选项 B (flavor_pol.55.b)
    • 波兰获得大量威望(prestige_severe_bonus)。
    • 移除波兰与立陶宛之间相互的“历史友好”关系修正(opinion_historical_friend_POL_LIT)。
    • 清除波兰和立陶宛国家变量中存储的候选人信息。

背景介绍: 该事件模拟了14世纪末至15世纪末,波兰王国与立陶宛大公国之间为应对共同威胁(如条顿骑士团)而寻求通过王室联姻加强联盟关系的历史进程。这一时期,雅盖隆王朝通过联姻最终促成了波兰-立陶宛共主邦联,为后来1569年的卢布林联合奠定了基础。

完整事件代码

flavor_pol.55 = {
	hide_portraits = yes
	type = country_event

	title = flavor_pol.55.title
	desc = flavor_pol.55.desc
	dynamic_historical_event = {
		tag = POL
		from = 1370.1.1
		to = 1500.1.1
		monthly_chance = 20
	}

	trigger = {
		country_rank_level >= 3 #kingdom
		country_exists = c:LIT
		country_exists = c:TEU
		OR = {
			has_ruler = yes
			has_heir = yes
		}
		c:LIT = {
			OR = {
				has_ruler = yes
				has_heir = yes
			}
			is_ai = yes
			is_allied_with = { target = ROOT }
			NOT = { num_locations >= 150 }
		}
		OR = {
			c:LIT.ruler ?= {
				OR = {
					ROOT.ruler ?= {
						pol_can_marry = { target = c:LIT.ruler }
					}
					ROOT.heir ?= {
						pol_can_marry = { target = c:LIT.ruler }
					}
				}
				is_married = no
			}
			c:LIT.heir ?= {
				OR = {
					ROOT.ruler ?= {
						pol_can_marry = { target = c:LIT.heir }
					}
					ROOT.heir ?= {
						pol_can_marry = { target = c:LIT.heir }
					}
				}
				is_married = no
			}
		}
	}
	
	illustration_tags = {
		10 = regular
		10 = interior
	}
	
	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		if = {
			limit = {
				c:LIT.ruler ?= {
					OR = {
						ROOT.ruler ?= {
							pol_can_marry = { target = c:LIT.ruler }
						}
						ROOT.heir ?= {
							pol_can_marry = { target = c:LIT.ruler }
						}
					}
					is_married = no
				}
			}
			c:LIT.ruler = {
				save_scope_as = POL_proposed_lithuanian_candidate
			}
		}
		else = {
			c:LIT.heir = {
				save_scope_as = POL_proposed_lithuanian_candidate
			}
		}
		if = {
			limit = {
				ROOT.ruler ?= {
					pol_can_marry = { target = scope:POL_proposed_lithuanian_candidate }
					is_married = no
				}
			}
			ROOT.ruler = {
				save_scope_as = POL_proposed_polish_candidate
			}
		}
		else = {
			ROOT.heir = {
				save_scope_as = POL_proposed_polish_candidate
			}
		}

		c:LIT = {
			save_scope_as = POL_partner_country
			set_variable = {
				name = POL_lit_candidate_global
				value = scope:POL_proposed_lithuanian_candidate
			}
		}
		c:POL = {
			set_variable = {
				name = POL_pol_candidate_global
				value = scope:POL_proposed_polish_candidate
			}
		}

		c:TEU = { save_scope_as = POL_common_enemy }
	}

	fire_only_once = yes

	option = {
		name = flavor_pol.55.a

		historical_option = yes

		if = {
			limit = {
				OR = {
					scope:POL_proposed_polish_candidate = { is_adult = no }
					scope:POL_proposed_lithuanian_candidate = { is_adult = no }
				}
			}
			custom_tooltip = POL_accept_betrothal

			c:POL = {
				set_variable = POL_betrothal_initiated
			}
			scope:POL_proposed_polish_candidate = {
				add_character_modifier = {
					modifier = pol_blocked_from_marriage_betrothal
					years = -1
				}
			}
			scope:POL_proposed_lithuanian_candidate = {
				add_character_modifier = {
					modifier = pol_blocked_from_marriage_betrothal
					years = -1
				}
			}
		}
		else = {
			custom_tooltip = POL_accept_marriage

			show_as_tooltip = {
				scope:POL_proposed_polish_candidate = { marry_character = scope:POL_proposed_lithuanian_candidate }
			}
			set_variable = POL_marriage_happening
			trigger_event_non_silently = flavor_pol.47
		}
	}

	option = {
		name = flavor_pol.55.b

		add_prestige = prestige_severe_bonus

		remove_opinion = {
			target = c:LIT
			modifier = opinion_historical_friend_POL_LIT
		}
		c:LIT = {
			remove_opinion = {
				target = ROOT
				modifier = opinion_historical_friend_POL_LIT
			}
		}

		remove_variable = POL_pol_candidate_global
		c:LIT = {
			remove_variable = POL_lit_candidate_global
		}
	}
}