effect · remove_core_of
Definition
- Supported scope:
STATE - Supported target:
THIS,ROOT,PREV,FROM,OWNER,CONTROLLER,OCCUPIED,CAPITAL
Description
Removes state as core of country
remove_core_ofSTATETHIS, ROOT, PREV, FROM, OWNER, CONTROLLER, OCCUPIED, CAPITALRemoves state as core of 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.
remove_core_of is commonly used in territorial transfers, post-war peace treaties, or events to remove a country's core claim on a state, preventing the state from continuously generating war support penalties for the losing country. For example, in a post-war territorial cession event, first transfer the state's ownership, then simultaneously clear the old owner's core:
# Execute under STATE scope
transfer_state_to = GER
remove_core_of = FRA # Remove France's core from this state
[add_core_of](/wiki/effect/add_core_of): The inverse operation of remove_core_of, often used as a paired operation—remove the old country's core first, then add a core for the new owner state to complete the core "transfer".[set_state_owner_to](/wiki/effect/set_state_owner_to): After changing a state's ownership, you typically need to simultaneously use remove_core_of to clear the original owner's core; otherwise, that country will continue to gain war support bonuses and treat the state as an "occupied core".[is_core_of](/wiki/trigger/is_core_of): Use this trigger as a condition check before executing remove_core_of to ensure removal only occurs when the country actually holds a core, avoiding invalid calls or logic errors.[remove_claim_by](/wiki/effect/remove_claim_by): In territorial transfer scenarios, claims on the state are usually cleared simultaneously with core removal; the combination of both effects completely severs the old country's territorial claims.remove_core_of must be executed under a STATE scope; if written in a COUNTRY scope, the game will ignore it without error, resulting in the core never being removed—always verify that the outer scope is a state scope (such as every_state, capital_scope, or a specific state event block).THIS, ROOT, FROM, OWNER, etc.) to reference a country object; you cannot directly enter a country tag string (such as = "FRA"). The latter is invalid syntax; the correct approach is to first switch scope to the target country, then reference it using THIS or ROOT.