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_hun.421 骑士比武大会

时间范围

1337.1.1 - 1437.1.1

  • 触发概率:每月 10% 概率

触发条件

  • 国家必须拥有法律:order_of_chivalry_law(骑士团法律)。
  • 国家内必须至少存在 2 名 同时满足以下所有条件的角色:
    • 存活。
    • 男性。
    • 成年。
    • 不是统治者。
    • 属于 nobles_estate(贵族阶层)。

关键效果

事件有两个选项,均会触发后续事件 flavor_hun.420

  • 选项 A (flavor_hun.421.a)

    • 为第一位随机选出的比武参与者设置一个持续20天的变量 first_tournament_participant_bet = yes
  • 选项 B (flavor_hun.421.b)

    • 为第二位随机选出的比武参与者设置一个持续20天的变量 second_tournament_participant_bet = yes

背景介绍

在14至15世纪的匈牙利王国,骑士精神与贵族文化盛行。骑士比武大会不仅是军事训练和娱乐活动,更是贵族展示勇武、巩固社会地位和获取声望的重要场合。此类事件通常由国王或大贵族发起,旨在加强贵族间的联系、彰显王国的尚武传统,并可能成为解决争端或选拔人才的平台。该事件模拟了匈牙利贵族阶层内部举办的一场典型骑士比武。

事件代码

flavor_hun.421 = {
	type = country_event
	title = flavor_hun.421.title
	desc = flavor_hun.421.desc
	fire_only_once = yes
	dynamic_historical_event = {
		tag = HUN
		from = 1337.1.1
		to = 1437.1.1
		monthly_chance = 10
	}
	trigger = {
		has_law = order_of_chivalry_law
		any_character = {
			is_alive = yes
			is_female = no
			is_adult = yes
			is_ruler = no
			has_estate = estate_type:nobles_estate
			count >= 2
		}
	}
	illustration_tags = {
        10 = happy
        10 = exterior
    }
	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		hidden_effect = {
			random_character = {
				limit = {
					is_alive = yes
					is_female = no
					is_adult = yes
					is_ruler = no
					has_estate = estate_type:nobles_estate
				}
				save_scope_as = first_tournament_participant
			}
			random_character = {
				limit = {
					is_alive = yes
					is_female = no
					is_adult = yes
					is_ruler = no
					has_estate = estate_type:nobles_estate
					not = { scope:first_tournament_participant = this }
				}
				save_scope_as = second_tournament_participant
			}
			ruler = { save_scope_as = ruler_scope }
		}
	}
	option = {
		name = flavor_hun.421.a
		custom_tooltip = {
			text = flavor_hun.421.a.tt
			set_variable = { name = first_tournament_participant_bet value = yes days = 20 }
		}
	}
	option = {
		name = flavor_hun.421.b
		custom_tooltip = {
			text = flavor_hun.421.b.tt
			set_variable = { name = second_tournament_participant_bet value = yes days = 20 }
		}
	}
	after = {
		trigger_event_silently = { id = flavor_hun.420 days = 3 }
	}
}