Checks the number of days since the country last capitulated, even if it is no longer capitulated.
If it has not ever capitulated, the value is extremely large.
It is recommended to combine this with has_capitulated = yes when you specifically want to ignore non-active capitulations.
Examples:
HOL = { has_capitulated = yes days_since_capitulated > 60 } # The Netherlands has been capitulated for more than two months
FRA = { has_capitulated = yes days_since_capitulated < 21 } # France has capitulated sometime within the past three weeks
GER = { OR = { has_capitulated = no days_since_capitulated > 14 } } # Germany is not both actively and recently capitulated
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
days_since_capitulated 常用于 mod 中判断某国战败后的恢复时间窗口,例如让傀儡政权、援助事件或外交选项只在投降后一段时间内有效或失效。也可用于设计"战后重建"机制,在国家投降超过一定天数后才允许触发特定决策或焦点。
# 战后重建决策:法国投降超过30天后可触发援助事件
available = {
FRA = {
has_capitulated = yes
days_since_capitulated > 30
}
}