Wiki

trigger · conscription_ratio

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Checks conscription ratio of the country compared to target conscription ratio.

实战 · 配合 · 坑

实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。

实战用法

conscription_ratio 常用于判断某国当前征兵政策是否达到特定比例阈值,例如在国策或决议的 available 块中限制只有征兵率足够高的国家才能触发战时动员事件,或者在 AI 策略中根据兵力紧缺程度自动切换决策。

# 示例:仅当征兵比例达到目标值时才允许激活某项决议
available = {
    conscription_ratio > 0.85
}

配合关系

  • [current_conscription_amount](/wiki/trigger/current_conscription_amount):两者搭配可以同时检验"比例"与"绝对数量",避免单靠比例在小国产生误判。
  • [has_army_manpower](/wiki/trigger/has_army_manpower):在验证征兵比例充足的同时,进一步确认实际可用兵力储备满足条件,常见于战争准备类触发。
  • [fuel_ratio](/wiki/trigger/fuel_ratio):与燃料比例并列检查,用于综合评估国家战争潜力是否全面达标,常出现在国策解锁或事件选项的 trigger 块中。
  • [add_manpower](/wiki/effect/add_manpower):当比例检查通过后,在对应 effect 块中追加兵力补充,形成"先判断缺口、再补充资源"的完整逻辑。

常见坑

  1. 将比例值误当百分比整数填写:该 trigger 使用 0.0–1.0 的小数表示比例,若写成 > 85 而非 > 0.85,条件将永远为假(或在极端情况下误判),是最常见的新手失误。
  2. 忽略 scope 限制conscription_ratio 只能在 COUNTRY scope 下使用,若误放在 STATE 或 CHARACTER scope 的条件块中,游戏不会报错但条件会静默失效,导致逻辑行为异常且难以排查。

Hands-On Notes

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.

Hands-On Usage

conscription_ratio is commonly used to check whether a country's current conscription policy meets a specific ratio threshold. For example, it can restrict certain national focuses or decisions to only trigger for nations with sufficiently high conscription rates within an available block, or be used in AI strategies to automatically switch decisions based on manpower shortage levels.

# Example: Only allow a decision to activate when conscription ratio reaches the target value
available = {
    conscription_ratio > 0.85
}

Synergy

  • [current_conscription_amount](/wiki/trigger/current_conscription_amount): Using both together allows you to verify both "ratio" and "absolute quantity," preventing misinterpretation that can occur with ratios alone in smaller nations.
  • [has_army_manpower](/wiki/trigger/has_army_manpower): While verifying sufficient conscription ratio, further confirm that actual available manpower reserves meet the requirement; commonly seen in war preparation triggers.
  • [fuel_ratio](/wiki/trigger/fuel_ratio): Check alongside fuel ratio to comprehensively assess whether the nation's overall war potential meets standards; frequently appears in trigger blocks of national focuses or event options.
  • [add_manpower](/wiki/effect/add_manpower): After the ratio check passes, append manpower supplements in the corresponding effect block, forming a complete logic of "diagnose the shortage first, then replenish resources."

Common Pitfalls

  1. Entering ratio values as percentage integers: This trigger uses decimals from 0.0–1.0 to represent ratios. If written as > 85 instead of > 0.85, the condition will always evaluate to false (or in extreme cases cause misinterpretation)—this is the most common beginner mistake.
  2. Overlooking scope restrictions: conscription_ratio can only be used within COUNTRY scope. If mistakenly placed in a condition block under STATE or CHARACTER scope, the game will not error but the condition will silently fail, resulting in abnormal logic behavior that is difficult to debug.