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_zmw.1001 招募廷臣

时间范围
无明确起止日期(from/to未定义),事件在满足触发条件后每月有基础概率触发(monthly_chance未定义,通常为默认值)。

触发条件

  • 国家拥有变量 unlocked_event_flavor_zmw_1001
  • 国家总人物数量少于 25 人。
  • 任意廷臣类别的人物数量少于 10 人。

关键效果

  • 选项 A(flavor_zmw.1001.a
    循环执行 3 次,每次创建一个新人物:
    • 年龄至少 25 岁。
    • 性别为男性。
    • 初始无能力值(no_stats = yes),但会设置为随机有限能力值:
      • 行政(ADM)、外交(DIP)、军事(MIL)能力值均在 10 至 66 之间随机生成。

背景介绍
该事件模拟了君主或政府为补充宫廷人员、增强行政或军事管理能力,而主动招募新廷臣的情形。在游戏进程中,当国家廷臣数量不足时,此事件提供了一种快速增加宫廷人才储备的途径,以应对内政或外交上的需求。

完整事件代码

flavor_zmw.1001 = {
	type = country_event
	title = flavor_zmw.1001.title
	desc = flavor_zmw.1001.desc
	illustration_tags = {
		10 = exterior
		10 = regular
	}
	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:peasants_estate background = estate_type:peasants_estate }
		save_scope_as = target_country
		var:unlocked_event_flavor_zmw_1001 = { save_scope_as = target_character }
	}
	trigger = {
		has_variable = unlocked_event_flavor_zmw_1001
		num_characters < 25
		any_courtier = {
			count < 10
		}
	}
	option = {
		name = flavor_zmw.1001.a
		while = {
			count = 3
			custom_tooltip = flavor_zmw.1001.a.tt
			hidden_effect = {
				create_character = {
					min_age = 25
					no_stats = yes
					female = no
					set_to_limited_random_stats = {
						max_adm = 66
						min_adm = 10
						max_dip = 66
						min_dip = 10
						max_mil = 66
						min_mil = 10
					}
				}
			}
		}
	}
}