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
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
remove_core_of 常用于领土转让、战后和平条约或事件中,将某个国家对某州的核心声索移除,避免被移除核心的国家因"失去核心领土"而持续产生战争意志惩罚。例如在一场战后领土割让事件中,先转移州的归属,再同步清除旧宿主的核心:
# 在 STATE scope 下执行
transfer_state_to = GER
remove_core_of = FRA # 移除法国对该州的核心
[add_core_of](/wiki/effect/add_core_of):与 remove_core_of 互为逆操作,常成对出现——先移除旧国家的核心,再给新宿主国家添加核心,完成核心的"转移"。[set_state_owner_to](/wiki/effect/set_state_owner_to):改变州的所有权后,通常需要同步用 remove_core_of 清除原主权国的核心,否则该国会持续获得战争意志加成并视该州为"被占领核心"。[is_core_of](/wiki/trigger/is_core_of):在执行 remove_core_of 前用此触发器做条件检查,确保只在该国确实拥有核心时才执行移除,避免无效调用或逻辑错误。[remove_claim_by](/wiki/effect/remove_claim_by):领土移交场景中,往往在移除核心的同时也一并清除对该州的宣称,两者组合才能彻底断绝旧国的领土主张。remove_core_of 必须在 STATE scope 下执行,若写在 COUNTRY scope 中会被游戏忽略且不报错,导致核心始终未被移除——务必确认外层是州作用域(如 every_state、capital_scope 或具体州事件块)。THIS、ROOT、FROM、OWNER 等)指向一个国家对象,不能直接填写国家标签字符串(如 = "FRA"),后者是无效写法,正确做法是先通过 scope 切换到目标国家,再用 THIS 或 ROOT 引用。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.