Wiki

trigger · pc_is_forced_government

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Checks if country has had their government force-changed in the peace conference.
Example:
CZE = { pc_is_forced_government = 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_forced_government is commonly used in post-peace conference scripted events or national focus conditions to check whether the nation's government has been forcibly replaced by the victors, thereby triggering storylines for resistance, puppet state status, or special restoration routes. For example, in a post-war event, you can provide an exclusive "reclaim sovereignty" focus option for nations whose government has been forcibly changed:

# Post-war focus available check
focus = {
    id = CZE_reclaim_sovereignty
    available = {
        CZE = { pc_is_forced_government = yes }
    }
    ...
}

# Or in the trigger block of a country_event
country_event = {
    id = my_mod.1
    trigger = {
        pc_is_forced_government = yes
        has_capitulated = no
    }
    ...
}

Synergy

  • [has_capitulated](/wiki/trigger/has_capitulated): Commonly paired together to distinguish between "accepting terms after defeat" and "forcibly having government changed," two distinct defeated states, to avoid condition overlap and misjudgments.
  • [has_country_leader_ideology](/wiki/trigger/has_country_leader_ideology): After confirming the government has been forcibly replaced, further check the ideology type of the forced government to trigger differentiated events for puppet regimes of different ideologies.
  • [has_completed_focus](/wiki/trigger/has_completed_focus): Combined with checks to see if the nation has completed a certain "resist foreign government" focus, used to control the pacing of sovereignty restoration storyline chains.
  • [add_ideas](/wiki/effect/add_ideas): When the trigger is true, attach "foreign government oppression" type ideas in the effect block, reflecting the domestic unrest penalties after forced government change.

Common Pitfalls

  1. Incorrect scope usage: This trigger can only be called under COUNTRY scope. Beginners often mistakenly write it in STATE scope (such as inside any_owned_state), causing script errors or silent failures. Always ensure the outer scope is a nation.
  2. Mistaking it for persistent effect: pc_is_forced_government is a one-time flag written by the peace conference and will not automatically clear or reset if the player manually changes government afterward. Do not treat it as a real-time state of "whether the current government is against the nation's will" for repeated checks.