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.46 波兰-立陶宛联姻失败

时间范围
事件无明确 fromto 日期,触发后立即执行。

触发条件

  • 当前国家为波兰(tag = POL
  • 国家拥有变量 POL_betrothal_initiated
  • 满足以下任一条件:
    • 波兰的全局变量 POL_pol_candidate_global 所指向的人物已死亡(is_alive = no)或已结婚(is_married = yes
    • 立陶宛的全局变量 POL_lit_candidate_global 所指向的人物已死亡(is_alive = no)或已结婚(is_married = yes

关键效果

  • 选项flavor_pol.46.a
    • 显示自定义提示 POL_betrothal_is_broken(表示联姻已破裂)
  • 事件结束后执行 pol_clear_scope_flags = yes(清除相关范围标记)

背景介绍
该事件模拟了波兰与立陶宛之间一项重要政治联姻计划的失败。在游戏历史背景下,波兰与立陶宛的联合是东欧政治格局的关键。当预定的联姻候选人因死亡或与他人结婚而无法履行婚约时,这一外交安排即告破裂,可能影响两国关系乃至地区稳定。

完整事件代码

flavor_pol.46 = {
	type = country_event

	title = flavor_pol.46.title
	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					OR = {
						c:POL.var:POL_pol_candidate_global = {
							is_alive = no
						}
						c:LIT.var:POL_lit_candidate_global = {
							is_alive = no
						}
					}
				}
				desc = flavor_pol.46.desc.a
			}
			triggered_desc = {
				trigger = {
					c:POL.var:POL_pol_candidate_global = {
						is_married = yes
					}
				}
				desc = flavor_pol.46.desc.b
			}
			triggered_desc = {
				trigger = {
					c:LIT.var:POL_lit_candidate_global = {
						is_married = yes
					}
				}
				desc = flavor_pol.46.desc.c
			}
			triggered_desc = {
				desc = flavor_pol.46.desc.d
			}
		}
	}

	trigger = {
		tag = POL
		has_variable = POL_betrothal_initiated
		OR = {
			c:POL.var:POL_pol_candidate_global = {
				OR = {
					is_alive = no
					is_married = yes
				}
			}
			c:LIT.var:POL_lit_candidate_global = {
				OR = {
					is_alive = no
					is_married = yes
				}
			}
		}
	}

	illustration_tags = {
		10 = regular
		10 = interior
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		clear_marriage_flags_and_set_scope_flags = yes
		if = {
			limit = {
				OR = {
					c:POL.var:POL_pol_candidate_global = {
						is_alive = no
					}
					c:LIT.var:POL_lit_candidate_global = {
						is_alive = no
					}
				}
			}
			if = {
				limit = {
					c:POL.var:POL_pol_candidate_global = {
						is_alive = no
					}
				}
				c:POL.var:POL_pol_candidate_global = {
					save_scope_as = dead_character
				}
			}
			else = {
				c:LIT.var:POL_lit_candidate_global = {
					save_scope_as = dead_character
				}
			}
		}
	}

	option = {
		name = flavor_pol.46.a

		custom_tooltip = POL_betrothal_is_broken
	}
	after = {
		pol_clear_scope_flags = yes
	}
}