Wiki

effect · add_war_support

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Adds the war support to the country in scope. Example: add_war_support = 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

add_war_support is commonly used in national focuses, events, or decisions to simulate the impact of war propaganda, major victories, or diplomatic crises on domestic war readiness. For example, you can reward war support upon completion of a national focus, or trigger a morale boost event when an enemy declares war on your nation.

# After a national focus completes, stir up public enthusiasm for war
focus = {
    id = GER_war_propaganda
    ...
    completion_reward = {
        add_war_support = 0.05   # +5% war support
        add_political_power = 50
    }
}

# Compensate via event when enemy declares war
country_event = {
    id = my_mod.10
    ...
    option = {
        name = my_mod.10.a
        add_war_support = 0.10
        add_stability = -0.05
    }
}

Synergy

  • [add_stability](/wiki/effect/add_stability): War support and stability often move in opposite directions. Adjusting both simultaneously can simulate complex scenarios such as "full mobilization amid internal division."
  • [add_political_power](/wiki/effect/add_political_power): Grant political power alongside focuses or events to reflect the narrative logic of leadership consolidating power through the tide of war.
  • [add_popularity](/wiki/effect/add_popularity): Combined with ideology support rate changes, allow war propaganda to simultaneously affect party popularity and deepen the political simulation.
  • [has_war_support](/wiki/trigger/has_war_support) (Note: The corresponding triggers in the whitelist are [has_bombing_war_support](/wiki/trigger/has_bombing_war_support) / [has_casualties_war_support](/wiki/trigger/has_casualties_war_support) / [has_convoys_war_support](/wiki/trigger/has_convoys_war_support)): Check the current war support threshold in condition blocks to decide whether to trigger subsequent reward or penalty events.

Common Pitfalls

  1. Unit confusion: The parameter for add_war_support is a decimal fraction (e.g., 0.10 represents +10%). Beginners often mistakenly enter 10 directly, causing the value to max out or even overflow the cap, resulting in effects far different from intended.
  2. Scope misplacement: This effect only operates in COUNTRY scope. If invoked directly within sub-blocks of every_owned_state or every_unit_leader and other State/Character scopes, the script will not error but the effect silently fails. Always ensure you return to country scope before execution.