trigger · is_embargoing
Definition
- Supported scope:
COUNTRY - Supported target:
THIS,ROOT,PREV,FROM,OWNER,CONTROLLER,OCCUPIED,CAPITAL
Description
check if country is embargoing specified country
is_embargoingCOUNTRYTHIS, ROOT, PREV, FROM, OWNER, CONTROLLER, OCCUPIED, CAPITALcheck if country is embargoing specified country
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.
is_embargoing is commonly used in embargo/blockade-themed mod scenarios, such as detecting whether a country is actively imposing a trade embargo on a specific nation, thereby triggering corresponding diplomatic events or decisions. It can also be employed in AI strategy logic to determine whether breaking an embargo is necessary to maintain resource imports.
# In a country event, check if the player nation is being embargoed by a certain country
trigger = {
FROM = {
is_embargoing = ROOT
}
}
[break_embargo](/wiki/effect/break_embargo):Once conditions are met (embargo existence confirmed), this effect is commonly used in diplomatic events or decisions to lift embargo relations, forming a complete logical cycle of "detection → removal" between the two.[has_opinion_modifier](/wiki/trigger/has_opinion_modifier)(not in whitelist, skipped)[has_defensive_war](/wiki/trigger/has_defensive_war):Embargoes are often accompanied by defensive war pressure; combining these can determine whether a nation simultaneously faces dual threats of diplomatic isolation and military pressure.[any_neighbor_country](/wiki/trigger/any_neighbor_country):Nesting is_embargoing when iterating through neighboring countries allows checking whether any neighbor is actively imposing an embargo, suitable for comprehensive assessment of regional tensions.[convoy_threat](/wiki/trigger/convoy_threat):Embargo actions typically coexist with sea lane pressure; combining both provides a more complete measure of a nation's exposure to foreign trade threats.is_embargoing = X means "the current scope's country is embargoing X," not "X is embargoing the current scope." Beginners often reverse the active/passive relationship, causing conditions to never trigger or to trigger incorrectly. Always clarify "who embargoes whom" before deciding which scope to write in.THIS, ROOT, PREV, FROM, and identifiers like OWNER/CONTROLLER; it cannot directly reference country tags (e.g., GER). If you need to target a specific country, you must first pass the target into scope via the FROM chain or PREV chain of a country_event.