effect · inherit_technology
Definition
- Supported scope:
COUNTRY - Supported target:
THIS,ROOT,PREV,FROM,OWNER,CONTROLLER,OCCUPIED,CAPITAL
Description
Copies over technology state from target
inherit_technologyCOUNTRYTHIS, ROOT, PREV, FROM, OWNER, CONTROLLER, OCCUPIED, CAPITALCopies over technology state from target
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
inherit_technology 常用于吞并、傀儡转直辖或特殊事件场景中,让玩家国家或 AI 直接获得目标国的科技树状态,省去逐条授予科技的繁琐操作。例如在一个"科技继承"事件中,让新政权完整接收前政权的科研成果:
country_event = {
id = my_mod.42
# ...
option = {
name = my_mod.42.a
# 当前国家继承 FROM 国的全部科技状态
inherit_technology = FROM
}
}
[annex_country](/wiki/effect/annex_country) — 吞并目标国后通常需要同步继承其科技,两者配合可还原"完整接管"的逻辑。[has_completed_focus](/wiki/trigger/has_completed_focus) — 用于在 focus 完成后触发继承,确保只在特定国策节点才执行科技转移,避免过早生效。[add_tech_bonus](/wiki/effect/add_tech_bonus) — 若只想部分加速而非全盘复制,可与本 effect 搭配,给特定领域额外加成作为补充。[add_research_slot](/wiki/effect/add_research_slot) — 继承科技后同步扩充研究槽,确保目标国后续科研能力也跟上,逻辑上更完整。inherit_technology 的执行者是"接收方",target 是"来源方"。新手常写反,导致源国科技被清空或效果完全无效,务必明确当前 scope 是哪个国家。inherit_technology = OVERLORD 等看似合理,但如果当前 scope 并非预期的接收国,结果会张冠李戴;应先用 every_subject_country 等迭代器切入正确 scope 再执行。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.
inherit_technology is commonly used in annexation, puppet-to-direct-control conversion, or special event scenarios, allowing the player nation or AI to directly acquire the target nation's technology tree state, eliminating the tedious process of granting technologies one by one. For example, in a "technology inheritance" event, allowing the new regime to fully inherit the research achievements of the previous regime:
country_event = {
id = my_mod.42
# ...
option = {
name = my_mod.42.a
# Current country inherits all technology state from country FROM
inherit_technology = FROM
}
}
[annex_country](/wiki/effect/annex_country) — After annexing the target nation, you typically need to simultaneously inherit its technologies; combining these two restores the logic of "complete takeover."[has_completed_focus](/wiki/trigger/has_completed_focus) — Use to trigger inheritance after a focus completes, ensuring technology transfer only executes at specific national spirit nodes and prevents premature activation.[add_tech_bonus](/wiki/effect/add_tech_bonus) — If you only want partial acceleration rather than wholesale copying, this effect can be paired with inherit_technology to provide additional bonuses to specific fields as a supplement.[add_research_slot](/wiki/effect/add_research_slot) — After inheriting technologies, simultaneously expand research slots to ensure the target nation's subsequent research capacity keeps pace, making the logic more complete.inherit_technology is the "recipient" and the target is the "source." Beginners often reverse these, causing the source nation's technologies to be cleared or the effect to fail entirely. Always clarify which nation is the current scope.inherit_technology = OVERLORD directly in the overlord's scope may seem logical, but if the current scope is not the intended recipient, the result will be mismatched. Use iterators like every_subject_country to enter the correct scope before executing the effect.