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_dlh.52] 外国人才招募

时间范围
无明确 fromto 日期限制,事件在满足触发条件后,每月有基础概率触发(代码中未指定 monthly_chance,默认概率未知)。

触发条件

  • 存在任意邻国满足以下全部条件:
    • 宗教组为穆斯林(religion.group = religion_group:muslim)。
    • 该国拥有至少一位符合以下条件的角色:
      • 宗教与事件触发国(ROOT)相同。
      • 总能力值(total_abilities)≥ 200。
      • 不是统治者(is_ruler = no)。
      • 不是摄政(is_regent = no)。
      • 不是继承人(is_heir = no)。
      • 不是青少年(is_adolescent = no)。

关键效果

选项 A:flavor_dlh.52.a

  • AI 选择权重:基础因子为 1,若选择此选项会导致贵族阶层满意度受到轻微惩罚(estate_satisfaction_mild_penalty),则 AI 会考虑此惩罚调整选择概率。
  • 核心效果
    • 将符合条件的邻国角色(target_character)移动至事件触发国。
    • 为该角色添加持续 1 年的修正 dlh_foreign_appointee(外国任命者)。
    • 触发国的贵族阶层满意度受到轻微惩罚(estate_satisfaction_mild_penalty)。

选项 B:flavor_dlh.52.b

  • AI 选择权重:基础因子为 0.1(AI 选择此选项的概率很低)。
  • 核心效果
    • 若触发国拥有社会价值观“外向 vs 内向”(societal_value_type:outward_vs_inward),则将该价值观向“内向”方向轻微移动(societal_value_minor_move_to_right)。
    • 否则,触发国获得少量威望(prestige_weak_bonus)。

背景介绍
在近代早期,各国为增强国力,常从文化或宗教背景相近的邻国招募杰出人才。此事件模拟了一个非穆斯林国家从其穆斯林邻国中,招募一位与本国宗教相同且能力出众的非核心成员(非统治者、摄政、继承人或青少年)的过程。招募行为可能引起本国贵族阶层的不满,因为他们可能视外国人才为竞争威胁。同时,拒绝招募可能被视为保守或内向的选择,影响国家的社会价值观或威望。

完整事件代码

flavor_dlh.52 = {
	type = country_event
	title = flavor_dlh.52.title
	desc = flavor_dlh.52.desc

	trigger = {
		any_neighbor_country = {
			religion.group = religion_group:muslim
			any_character = {
				religion = ROOT.religion
				total_abilities >= 200
				is_ruler = no
				is_regent = no
				is_heir = no
				is_adolescent = no
			}
		}
	}

	illustration_tags = {
		10 = regular
		10 = interior
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		random_neighbor_country = {
			limit = {
				religion.group = religion_group:muslim
				any_character = {
					religion = ROOT.religion
					total_abilities >= 200
					is_ruler = no
					is_regent = no
					is_heir = no
					is_adolescent = no
				}
			}
			event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
			random_character = {
				limit = {
					total_abilities >= 200
					religion = ROOT.religion
					is_ruler = no
					is_regent = no
					is_heir = no
					is_adolescent = no
				}
				save_scope_as = target_character
			}
		}
	}

	option = {
		name = flavor_dlh.52.a
		
		ai_chance = {
			factor = 1
			modifier = {
				factor = "add_estate_satisfaction_utility(nobles_estate|estate_satisfaction_mild_penalty)"
			}
		}

		scope:target_character = {
			move_country = ROOT

			add_character_modifier = {
				modifier = dlh_foreign_appointee
				years = -1
			}
		}

		add_estate_satisfaction = {
			type = estate_type:nobles_estate
			value = estate_satisfaction_mild_penalty
		}
	}

	option = {
		name = flavor_dlh.52.b
		
		ai_chance = {
			factor = 0.1
		}

		if = {
			limit = {
				has_societal_value = societal_value_type:outward_vs_inward
			}
			change_societal_value = {
				type = outward_vs_inward
				value = societal_value_minor_move_to_right
			}
		}
		else = {
			add_prestige = prestige_weak_bonus
		}
	}
}