trigger · has_added_tension_amount
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
Compare if the country has added above or below the specified ammount of tension
has_added_tension_amountCOUNTRYnoneCompare if the country has added above or below the specified ammount of tension
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.
This trigger is commonly used in achievement, event, or decision scenarios related to "tension contribution." For example, it can restrict a nation from unlocking certain aggressive decisions until it has generated sufficient world tension, or it can inform AI strategy decisions about whether the current situation is tense enough. Note that it measures the cumulative tension amount added by that specific nation, not the global tension value.
# Only allow an event to trigger after this nation has accumulated a certain amount of tension
add_political_power = 50
trigger = {
has_added_tension_amount > 10
}
[has_defensive_war](/wiki/trigger/has_defensive_war): When a nation has accumulated significant tension contributions, pairing this with a check for whether it is still in a defensive war can construct narrative triggers for "aggressor turns defender" scenarios.[any_allied_country](/wiki/trigger/any_allied_country): When iterating through allies to evaluate the alliance's overall tension contribution, useful for designing collective responsibility events.[add_named_threat](/wiki/effect/add_named_threat): Forms a cause-and-effect chain with this trigger—first check whether the nation's tension contribution meets the threshold, then decide whether to apply additional named threat values, avoiding duplicate penalties.[add_opinion_modifier](/wiki/effect/add_opinion_modifier): After a nation's tension contribution exceeds the threshold, automatically apply diplomatic penalties to neighboring nations, simulating international reaction.world_tension (global tension), but it only counts the tension added by that nation's own actions. The meanings are completely different, and mixing them up will cause conditions to never be satisfied or trigger unexpectedly.>, <) and a numeric value to function. When writing has_added_tension_amount = X instead of a range comparison, confirm that your game version supports the semantic meaning of the equals sign, otherwise the condition evaluation may not work as intended.