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_mor.5 瓦塔斯王朝的崛起

时间范围:1410.1.1 - 1425.1.1(每月 2% 概率)

触发条件

  • 当前统治者或摄政的王朝 不是 wattasid_dynasty
  • 王室领地阶层的影响力低于 50%("estate_power(estate_type:crown_estate)" < 0.5)。

关键效果

  • 历史选项flavor_mor.5.a
    • 显示自定义提示 wattasids_appear_at_court_tt
  • 事件即时效果
    • 创建一个名为 阿布·扎卡里亚·叶海亚 的男性新角色,属于贵族阶层,并设定为 wattasid_dynasty 王朝。其出生日期为 1389.6.1,行政、外交、军事能力值在 50 到 100 之间随机生成。该角色被保存为 target_character
    • 将当前统治者或摄政保存为 target_character2
    • 额外创建 4 名 男性角色,均属于贵族阶层,并使其加入 wattasid_dynasty 王朝。他们的行政、外交、军事能力值在 25 到 100 之间随机生成。

背景介绍: 在15世纪初的摩洛哥,当统治王朝并非瓦塔斯家族且王室权威衰落时,以阿布·扎卡里亚·叶海亚为首的瓦塔斯家族成员开始进入宫廷权力中心。这一事件标志着瓦塔斯王朝势力的初步集结,他们作为强大的贵族集团,将在未来几十年内逐步扩大影响力,并最终取代马林王朝,成为摩洛哥的统治家族。

完整事件代码

flavor_mor.5 = {
	type = country_event
	title = flavor_mor.5.title
	desc = flavor_mor.5.desc

	fire_only_once = yes
	dynamic_historical_event = {
		tag = MOR
		from = 1410.1.1
		to = 1425.1.1
		monthly_chance = 2
	}

	illustration_tags = {
		10 = regular
		10 = interior
	}

	trigger = {
		ruler_or_regent ?= { dynasty ?= { NOT = { dynasty_name = wattasid_dynasty } } }
		"estate_power(estate_type:crown_estate)" < 0.5
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		
		create_character = {
			first_name = name_abu.name_zechariah.name_yahya
			estate = estate_type:nobles_estate
			dynasty = dynasty:wattasid_dynasty
			birth_date = 1389.6.1
			female = no
			adm = { 50 100 }
			dip = { 50 100 }
			mil = { 50 100 }
			save_scope_as = target_character
		}
		ruler_or_regent ?= { save_scope_as = target_character2 }

		while = {
			count = 4
			create_character = {
				estate = estate_type:nobles_estate
				female = no
				adm = { 25 100 }
				dip = { 25 100 }
				mil = { 25 100 }
				change_dynasty = dynasty:wattasid_dynasty
			}
		}
	}

	option = {
		name = flavor_mor.5.a

		custom_tooltip = wattasids_appear_at_court_tt
	}
}