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_kni_pap.2 斯米尔尼奥特十字军

时间范围: 无特定起止日期(fromto 未在代码中定义) 触发概率: 无特定月度概率(monthly_chance 未在代码中定义)

触发条件:

  • 事件类型为国家事件 (type = country_event)。
  • 触发条件 (trigger) 未在提供的代码片段中明确定义,需参考其他文件。

关键效果:

选项 A:flavor_kni_pap.2.a (历史选项)

  • 作为进攻方加入指定的十字军战争 (join_war_as_attacker = { war = scope:crusade_war })。
  • 如果国家拥有变量 receive_additional_benefits,则:
    • 移除该变量 (remove_variable = receive_additional_benefits)。
    • 获得人力:数值等于 nobles_going_to_war 本地变量 (add_manpower = local_var:nobles_going_to_war)。
    • 获得金币:数值等于 nobles_going_to_war 本地变量的 5 倍 (add_gold = { value = local_var:nobles_going_to_war multiply = 5 })。
  • 为国家添加修正 kni_smyrniote_crusade,持续 5 年 (add_country_modifier = { modifier = kni_smyrniote_crusade years = 5 })。
  • 与教宗国 (c:PAP) 互相增加关系,效果为 kni_joined_crusade (add_opinion_mutual_effect)。
  • 如果触发此事件的国家是医院骑士团 (c:KNI),则为其设置变量 participated_in_smyrniote_crusade

选项 B:flavor_kni_pap.2.b

  • 国家威望遭受严重惩罚 (add_prestige = prestige_severe_penalty)。

背景介绍: 此事件模拟了14世纪中后期的“斯米尔尼奥特十字军”。当时,教宗乌尔班五世呼吁发动一场针对土耳其艾登侯国的十字军,旨在夺取并控制士麦那(今伊兹密尔)这一重要港口。医院骑士团作为主要的海军力量之一,深度参与了此次军事行动。事件反映了骑士团在响应教宗号召、参与东地中海军事活动时面临的政治与资源抉择。

完整事件代码:

flavor_kni_pap.2 = {
	type = country_event
	title = flavor_kni_pap.2.title
	desc = flavor_kni_pap.2.desc
	historical_info = flavor_kni_pap.2.historical_info

	illustration_tags = {
        10 = angry
        10 = exterior
    }

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:clergy_estate background = estate_type:clergy_estate }
		if = {
			limit = {
				has_variable = receive_additional_benefits
			}
			set_local_variable = {
				name = nobles_going_to_war
				value = 0
			}
			religion:catholic = {
				every_country_in_religion = {
					limit = {
						capital = { continent = continent:europe }
					}
					every_pop = {
						limit = {
							religion = religion:catholic
							pop_type = pop_type:nobles
						}
						change_local_variable = {
							name = nobles_going_to_war
							add = pop_size
						}
					}		
				}
			}
			change_local_variable = {
				name = nobles_going_to_war
				multiply = 0.02
			}
		}
	}

	option = {
		name = flavor_kni_pap.2.a

		historical_option = yes
		
		join_war_as_attacker = { war = scope:crusade_war }
		if = {
			limit = {
				has_variable = receive_additional_benefits
			}
			remove_variable = receive_additional_benefits
			add_manpower = local_var:nobles_going_to_war
			add_gold = {
				value = local_var:nobles_going_to_war
				multiply = 5
			}
		}
		add_country_modifier = {
			modifier = kni_smyrniote_crusade
			years = 5
		}
		add_opinion_mutual_effect = {
			target = c:PAP
			modifier = kni_joined_crusade
		}
		if = {
			limit = {
				this = c:KNI
			}
			set_variable = participated_in_smyrniote_crusade
		}
	}

	option = {
		name = flavor_kni_pap.2.b
	
		add_prestige = prestige_severe_penalty
	}
}