Wiki

trigger · command_power_daily

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Checks if daily command power increase is more or less that specified value 
 command_power_daily > 1.5

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

command_power_daily is commonly used to determine whether a nation possesses a sufficiently efficient command structure. For example, in advisor unlocks, decision availability conditions, or national focus rewards, you can restrict specific options only to nations with higher daily command power recovery. A typical scenario is limiting certain elite military branches to trigger only after command power recovery reaches a threshold.

# National focus available condition: can only be selected when daily command power gain exceeds 1.5
focus = {
    id = elite_command_doctrine
    available = {
        command_power_daily > 1.5
    }
}

Synergy

  • [command_power](/wiki/trigger/command_power): When used together, you can check both current command power reserves and daily gains simultaneously. Combining both allows more precise judgment of whether your command structure has matured, preventing players from satisfying trigger conditions when command power is newly unlocked but insufficiently accumulated.
  • [add_command_power](/wiki/effect/add_command_power): Commonly used as a reward in effect blocks once command_power_daily conditions are met, forming a positive incentive chain of "strong recovery capability → additional reserve bonus".
  • [add_ideas](/wiki/effect/add_ideas): Award corresponding military ideas when daily gains meet the threshold, useful for demonstrating institutional bonuses from well-developed general staff systems.
  • [add_trait](/wiki/effect/add_trait): Add traits to generals after meeting command power recovery thresholds, suitable for constructing promotion systems in "general growth" style mods.

Common Pitfalls

  1. Mistaking it for reserve judgment: Beginners often confuse command_power_daily with command_power—the former is daily gain, the latter is current accumulated amount. Using the wrong one inverts the condition logic entirely. For example, using command_power_daily to check "how many points have been saved" will always return incorrect results.
  2. Thresholds outside game value ranges: Daily command power gains are affected by multiple stacking modifiers, with base values and caps typically being small. Setting thresholds too high (e.g., > 5.0) causes the condition to be perpetually false in most game states, making related content effectively untriggerable and difficult to debug.