Hands-On Usage
all_country_with_original_tag is well-suited for comprehensive checks in multi-tag scenarios — for example, verifying that "all countries that were originally Britain (including puppets, splinter regimes, etc.) are currently at war," or confirming that every derivative nation of a given civilisation tag meets certain conditions before firing an event. It appears frequently in mods that deal with civil wars, puppet independence, and multi-regime coexistence.
# Check whether all countries with original tag GER have joined a faction
all_country_with_original_tag = {
original_tag_to_check = GER
is_in_faction = yes
has_war = no
}
Synergy
- original_tag: Used inside loop bodies or parallel conditions to compare a country's original tag against a target value; together with
all_country_with_original_tag it forms the core of "tag-family" evaluation logic.
- has_war: One of the most common inner conditions, used alongside this trigger to determine whether every country in a given tag family is currently in — or out of — a war.
- is_in_faction: Checks whether all countries in the tag family have joined a faction; commonly used to validate faction completeness.
- exists: Confirms that the relevant country actually exists in the current game session before the check runs, preventing unexpected true-value results caused by evaluating conditions against non-existent countries.
Common Pitfalls
- Omitting the
original_tag_to_check field: all_country_with_original_tag requires original_tag_to_check = XXX to be explicitly declared inside the block. Leaving it out will cause a script error or render the logic entirely non-functional — the field is never inherited automatically from the current scope's tag.
- Confusing it with
any_country_with_original_tag: This trigger returns true only when all countries sharing the specified original tag pass the inner conditions. If you only need any one of them to satisfy the conditions, use the corresponding any variant instead — otherwise your condition will be far more restrictive than intended.