Wiki

trigger · pc_is_puppeted

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Checks if country is a puppet, or has been released as a puppet in the peace conference.
Example:
CZE = { pc_is_puppeted = 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

In peace conference mods or puppet independence events, this trigger is commonly used to determine whether a country is in puppet status, thereby deciding whether to trigger liberation events or grant specific ideas. For example, in a puppet state's focus for resisting independence, restrict this option to be available only for puppet nations:

available = {
    CZE = {
        pc_is_puppeted = yes
    }
}

Synergy

  • [has_autonomy_state](/wiki/trigger/has_autonomy_state): Combined with pc_is_puppeted, this can further refine puppet types (e.g., distinguishing integrated puppets from protectorates) and avoid overly broad logic.
  • [exists](/wiki/trigger/exists): Confirm the target country exists before checking puppet status to prevent script errors due to non-existent nations.
  • [end_puppet](/wiki/effect/end_puppet): After puppet conditions are met, this commonly serves as the effect result to remove puppet relations, forming a complete "check → execute" logic chain with this trigger.
  • [has_capitulated](/wiki/trigger/has_capitulated): Frequently used together in peace conference scenarios to distinguish between "already surrendered but not yet processed" and "already set as puppet" states.

Common Pitfalls

  1. Scope usage errors: This trigger must be called under COUNTRY scope. Beginners often mistakenly write pc_is_puppeted = yes directly within STATE scope (such as inside any_owned_state), resulting in scope errors or silent failures. Use keywords like OWNER to return to country scope before checking.
  2. Misunderstanding the peace conference-only semantics: The official description "released as a puppet in the peace conference" means this trigger will also return true during peace conference resolution for countries just designated as puppets but not yet formally implemented. If relying on this trigger in regular game logic to determine "fully effective puppets," unexpected results may occur. Double verification using has_autonomy_state is recommended.