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_por.41 贵族流亡

时间范围:无明确起止日期(动态事件),触发概率取决于 monthly_chance 字段(代码中未指定,需参考游戏全局设置)。

触发条件

  • 国家必须是 葡萄牙(POR)卡斯蒂利亚(CAS)
  • 国内至少存在一名 属于贵族阶层符合“por_can_be_kicked_out”条件 的人物。
  • 贵族阶层 的满意度低于 30%
  • 如果当前国家是 葡萄牙(POR),则 卡斯蒂利亚(CAS) 必须是其邻国。
  • 如果当前国家是 卡斯蒂利亚(CAS),则 葡萄牙(POR) 必须是其邻国。

关键效果

  • 选项 A(名称对应 flavor_por.41.a):
    • 将触发事件中随机选定的目标人物(target_character流放至邻国(葡萄牙流放至卡斯蒂利亚,或卡斯蒂利亚流放至葡萄牙)。
    • 目标邻国将立即触发后续事件 flavor_por.42

背景介绍: 在伊比利亚半岛,葡萄牙与卡斯蒂利亚(西班牙的前身之一)王室与贵族间关系错综复杂。当本国贵族阶层对君主极度不满时,部分心怀怨怼或有野心的贵族可能选择叛逃至邻国,寻求庇护或新的机会。这一事件反映了中世纪晚期至近代早期伊比利亚国家间政治斗争、贵族忠诚度转移以及人才流动的历史现实。

flavor_por.41 = {
	type = country_event
	title = flavor_por.41.title
	desc = flavor_por.41.desc

	trigger = {
		OR = {
			tag = POR
			tag = CAS
		}
		any_character = {
			has_estate = estate_type:nobles_estate
			por_can_be_kicked_out = yes
		}
		estate_satisfaction:nobles_estate < 0.3 #if adjusting this, adjust por_reason_for_flavor_por_41
		trigger_if = {
			limit = {
				tag = POR
			}
			c:CAS ?= {
				is_neighbor_of = ROOT
			}
		}
		trigger_else = {
			c:POR ?= {
				is_neighbor_of = ROOT
			}
		}
	}

	illustration_tags = {
		10 = exterior
		10 = angry
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		save_scope_as = origin_country
		random_character = {
			limit = {
				has_estate = estate_type:nobles_estate
				por_can_be_kicked_out = yes
			}
			weight = {
				factor = 1
				modifier = {
					factor = 10
					trigger = {
						in_cabinet = yes
					}
				}
				modifier = {
					factor = 5
					trigger = {
						OR = {
							is_general = yes
							is_artist = yes
							is_admiral = yes
						}
					}
				}
			}
			save_scope_as = target_character
		}
		if = {
			limit = {
				tag = POR
			}
			c:CAS = {
				save_scope_as = target_country
			}
		}
		else = {
			c:POR = {
				save_scope_as = target_country
			}
		}
	}

	option = {
		name = flavor_por.41.a

		custom_tooltip = por_reason_for_flavor_por_41

		show_as_tooltip = {
			scope:target_character = {
				move_country = scope:target_country
			}
		}
		scope:target_country = {
			trigger_event_non_silently = {
				id = flavor_por.42
			}
		}
	}
}