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_dan_teu.4 条顿骑士团领地人口恢复

时间范围
事件为动态历史事件,无固定 fromto 日期,触发概率由游戏动态机制决定,代码中未指定 monthly_chance

触发条件
事件代码中未直接定义 trigger 字段,具体触发条件需参考游戏内其他相关机制或事件链。

关键效果

  • 选项 Aflavor_dan_teu.4.a):
    • teu_affected_pop(条顿骑士团受影响人口)执行:
      • 增加人口规模,增加值为本地变量 lost_pops 的数值。
  • 事件结束后
    • 移除本地变量 lost_pops

背景介绍
该事件涉及条顿骑士团领地的人口恢复。在游戏进程中,某些情况可能导致特定人口减少,此事件为玩家或AI提供机会,通过执行相应选项,恢复之前损失的人口规模,以稳定领地发展。

完整事件代码

flavor_dan_teu.4 = {
	type = country_event
	title = flavor_dan_teu.4.title
	desc = flavor_dan_teu.4.desc

	illustration_tags = {
        10 = armed
        10 = exterior
    }

	immediate = {
		if = {
			limit = {
				is_ai = no
			}
			event_illustration_estate_background_effect = { background = estate_type:peasants_estate }
			scope:teu_affected_pop = {
				save_scope_as = target_pop
			}
		}
	}
	
	option = {
		name = flavor_dan_teu.4.a
		scope:teu_affected_pop = {
			add_pop_size = {
				value = local_var:lost_pops
			}
		}
	}
	after = {
		remove_local_variable = lost_pops
	}
}