Wiki

effect · remove_country_leader_trait

Definition

  • Supported scope:COUNTRY, CHARACTER
  • Supported target:none

Description

Remove country leader trait from the scoped character or scoped country's leader.
In scoped character, will need to give the ideology if the character has several country leader roles.
Example 1: SOV_joseph_stalin = { remove_country_leader_trait = underage_monarch }
Example 2: HUN_miklos_horthy = { remove_country_leader_trait = { ideology = oligarchism trait = anti_communist } }
Example 3: SOV = { remove_country_leader_trait = underage_monarch }

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 historical mods or event chains, when a leader's governing traits become unsuitable due to political shifts, this effect can be used to dynamically adjust their attributes. For example, a nation's leader may have "dictator" or "underage_monarch" traits removed following political reforms. If a character holds multiple leader roles across different ideologies (such as Hungary's Miklós Horthy serving as leader under multiple ideologies), the ideology field must be specified to precisely target the correct character; otherwise, the game cannot determine which character's trait should be removed.

# In an event option, remove a trait from Stalin of the Soviet Union
SOV_joseph_stalin = {
    remove_country_leader_trait = underage_monarch
}

# For leaders with multi-ideology roles, ideology must be specified
HUN_miklos_horthy = {
    remove_country_leader_trait = {
        ideology = oligarchism
        trait = anti_communist
    }
}

Synergy

  • [add_country_leader_trait](/wiki/effect/add_country_leader_trait): The most common pairing; remove an old trait and add a new one to implement "replacement" logic for leader traits, frequently used in event-driven personality transformations.
  • [add_country_leader_role](/wiki/effect/add_country_leader_role) / [remove_country_leader_role](/wiki/effect/remove_country_leader_role): When completely reshaping a character's leader positioning, traits are often cleared first before adding or removing roles to ensure data consistency.
  • [can_be_country_leader](/wiki/trigger/can_be_country_leader): Used as a condition check before removal to confirm the target character currently holds leader status, preventing ineffective operations on inactive characters.
  • [promote_character](/wiki/effect/promote_character): Sometimes after promoting a character to a new leadership position, inappropriate traits inherited from the predecessor must be simultaneously removed; the two often appear in the same effect block.

Common Pitfalls

  1. Forgetting the ideology field for multi-ideology characters: If a character holds multiple leader roles across different ideologies, writing remove_country_leader_trait = some_trait directly won't cause an error but may silently fail or behave unpredictably. The complete syntax { ideology = ... trait = ... } must be used to explicitly specify the target.
  2. Misusing in COUNTRY scope for non-ruling leaders: When called under nation scope, this effect only targets the currently ruling leader. To remove traits from a bench character not yet in power, you must switch to the corresponding CHARACTER scope; otherwise, you risk modifying the wrong character.