Wiki

effect · air_experience

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

add air experience for country

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

air_experience is commonly used in national focuses, decisions, or events when you need to reward player air force development—for example, upon completing an "Air Industry Expansion" focus or after triggering an air combat victory event to grant bonus experience. It directly increases the air force experience pool under the current COUNTRY scope, which can be immediately used to unlock air force commander traits or upgrade air force doctrines.

# Reward air experience in national focus completion effects
focus = {
    id = expand_air_doctrine
    ...
    completion_reward = {
        air_experience = 50
        add_stability = 0.05
    }
}

Synergy

  • [has_air_experience](/wiki/trigger/has_air_experience) — Check whether the current air force experience meets the threshold in trigger conditions, forming a classic "check first then reward" or "check first then consume" combination with air_experience.
  • [army_experience](/wiki/effect/army_experience) — Similar experience reward command, often distributed together in the same focus or event to avoid strengthening only a single unit type.
  • [add_tech_bonus](/wiki/effect/add_tech_bonus) — Once experience is obtained, it is typically paired with tech bonuses to guide players in efficiently using experience for air force technology research.
  • [add_ideas](/wiki/effect/add_ideas) — Distributed alongside air force-related national spirit ideas to make experience rewards synergize with long-term buffs.

Common Pitfalls

  1. Wrong Scopeair_experience can only be executed under COUNTRY scope; if written inside STATE or CHARACTER scope (such as within a sub-block of every_owned_state), it will silently fail without script errors, but experience will not be added. Always confirm that the outer scope is a country.
  2. Confusion with Consumption — This effect only adds experience values and cannot be used with negative numbers to consume experience; if you need to check whether experience is sufficient before executing subsequent logic, you should first use [has_air_experience](/wiki/trigger/has_air_experience) as a condition check rather than attempting to "deduct" with negative values.