trigger · casualties_k
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
Check the amount of casualties in thousands a country has suffered in all of it's wars
casualties_kCOUNTRYnoneCheck the amount of casualties in thousands a country has suffered in all of it's wars
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
casualties_k 常用于战争相关的国策、决策或事件中,根据一个国家所承受的累计伤亡量来解锁或触发特定内容,例如"当伤亡超过一定规模时才能触发战时动员事件"或"高伤亡国家才能获得某项战时加成"。下面是一个典型用法示例:
# 当本国伤亡超过 500,000 人时,允许激活某个决策
available = {
casualties_k > 500
}
[has_war_support](/wiki/trigger/has_war_support) / [has_casualties_war_support](/wiki/trigger/has_casualties_war_support):伤亡数字与战争意志往往同步变化,配合这两个 trigger 可以更精确地刻画"高伤亡且战意低落"的国家状态。[has_capitulated](/wiki/trigger/has_capitulated):排除已经投降的国家,避免对已战败方重复触发与伤亡相关的条件逻辑。[add_war_support](/wiki/effect/add_war_support):当伤亡达到阈值后通过 effect 调整战争意志,形成"伤亡越大 → 战意下降"的动态反馈链条。[add_stability](/wiki/effect/add_stability):高伤亡情境下通常配合降低稳定度的 effect,使玩家真实感受到战争代价的游戏设计压力。_k 表示单位是"千人",新手常误将数值按"人"填写(例如想表达 50 万伤亡却写 500000 而非 500),导致条件几乎永远为真或永远为假。limit 块内,游戏会报错或静默忽略,务必确认外层 scope 是国家级别。Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.
casualties_k is commonly used in war-related national focuses, decisions, or events to unlock or trigger specific content based on a country's cumulative casualty count. For example, "trigger a wartime mobilization event only when casualties exceed a certain threshold" or "grant wartime bonuses exclusively to high-casualty nations". Below is a typical usage example:
# Allow activating a decision when this country's casualties exceed 500,000
available = {
casualties_k > 500
}
[has_war_support](/wiki/trigger/has_war_support) / [has_casualties_war_support](/wiki/trigger/has_casualties_war_support): Casualty numbers and war support often fluctuate in tandem. Combining these triggers allows more precise characterization of "high-casualty nations with low war support" states.[has_capitulated](/wiki/trigger/has_capitulated): Exclude already-surrendered nations to avoid redundantly triggering casualty-related logic against defeated opponents.[add_war_support](/wiki/effect/add_war_support): When casualties reach a threshold, use effects to adjust war support, creating a dynamic feedback loop of "higher casualties → declining war support".[add_stability](/wiki/effect/add_stability): High-casualty scenarios typically pair with effects that reduce stability, allowing players to genuinely experience the game design pressure of warfare costs._k indicates the unit is "thousands", but newcomers often mistakenly input values in "persons" (e.g., writing 500000 instead of 500 when representing 500,000 casualties), causing conditions to almost always be true or false.limit block in STATE or CHARACTER scope, the game will error or silently ignore it. Always verify that the outer scope is country-level.