Wiki

trigger · pc_is_on_winning_side

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Checks if country is on the winning side in the peace conference.
Example:
CZE = { pc_is_on_winning_side = yes }

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

pc_is_on_winning_side is commonly used in events or decisions triggered after peace conferences conclude, to determine whether a country belongs to the victorious faction and grant rewards (such as political power, focus tree unlocks, or idea bonuses) or branch into special narrative paths. For example, in an alternate WWII mod, you can use it to check whether Czechoslovakia participated in the conference as a victor and distribute corresponding rewards:

country_event = {
    id = my_mod.100
    trigger = {
        tag = CZE
        pc_is_on_winning_side = yes
    }
    option = {
        name = my_mod.100.a
        add_political_power = 50
        add_stability = 0.05
    }
}

Synergy

  • [has_capitulated](/wiki/trigger/has_capitulated): Often paired together; filter out capitulated nations first before checking their victory status to avoid logical contradictions.
  • [any_war_score](/wiki/trigger/any_war_score): Used to further quantify that country's contribution during the war; combining with this trigger enables a "victorious AND contribution threshold met" dual-gate system.
  • [add_political_power](/wiki/effect/add_political_power): Victorious factions typically require rewards, making this one of the most common effect pairings.
  • [add_ideas](/wiki/effect/add_ideas): Grant the victor a specific idea (such as postwar prestige buff), forming a typical "condition → reward" structure with this trigger.

Common Pitfalls

  1. Scope errors: This trigger only functions in COUNTRY scope; placing it in state scope or unit leader scope will silently fail or error out. Always verify the enclosing scope is a country.
  2. Meaningless outside conferences: This trigger only has practical evaluative meaning during or immediately after a peace conference. If used in a distant focus or routine decision unrelated to peace conferences, its return value may perpetually be no, causing the condition to never be satisfied.