Wiki

effect · add_research_slot

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Adds a research slot (negative values subtracts)

实战 · 配合 · 坑

实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。

实战用法

add_research_slot 常用于国策树奖励、事件选项或成就触发时给予玩家/AI额外的科研槽位,是增强某国科技发展能力的核心手段。例如在一个专注工业化的国策完成后奖励额外研究槽:

focus = {
    id = industrial_expansion
    ...
    completion_reward = {
        add_research_slot = 1
    }
}

配合关系

  • [amount_research_slots](/wiki/trigger/amount_research_slots) — 在触发条件中检查当前研究槽数量,避免叠加过多槽位导致平衡失调,例如限定只有槽位不足某值时才触发奖励。
  • [add_tech_bonus](/wiki/effect/add_tech_bonus) — 同时给予科技研究加速,让新槽位能立刻高效利用,二者组合常见于"科技强国"类国策奖励。
  • [add_ideas](/wiki/effect/add_ideas) — 搭配一个包含科研加成的顾问或国家精神一同授予,使槽位收益与科研效率同步提升,增强奖励的整体感。
  • [add_political_power](/wiki/effect/add_political_power) — 研究槽通常是高价值奖励,配合政治点数一起发放可以平衡国策路线的吸引力设计。

常见坑

  1. 忘记负值可以减少槽位:传入负数会扣除研究槽,如果在惩罚事件或傀儡条件中不慎写成负数,会让目标国家直接损失槽位,调试时很难察觉,务必确认符号方向。
  2. 未限制最大槽位上限:游戏本身对研究槽数量没有硬性UI上限保护,mod中若将该效果放在可反复触发的事件或决议中而不加[amount_research_slots](/wiki/trigger/amount_research_slots)条件守门,会导致槽位无限叠加,严重破坏平衡。

Hands-On Notes

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.

Hands-On Usage

add_research_slot is commonly used to grant players/AI additional research slots as rewards from focus trees, event options, or achievement triggers. It is a core mechanic for enhancing a nation's technological development capacity. For example, awarding an extra research slot upon completion of a focus tree centered on industrialization:

focus = {
    id = industrial_expansion
    ...
    completion_reward = {
        add_research_slot = 1
    }
}

Synergy

  • [amount_research_slots](/wiki/trigger/amount_research_slots) — Check the current number of research slots in trigger conditions to prevent stacking too many slots and breaking game balance. For instance, restrict the reward to trigger only when slot count falls below a certain threshold.
  • [add_tech_bonus](/wiki/effect/add_tech_bonus) — Pair this with research speed bonuses so newly acquired slots can be utilized immediately and efficiently. This combination is common in "tech superpower" style focus rewards.
  • [add_ideas](/wiki/effect/add_ideas) — Award alongside an advisor or national spirit containing research bonuses to ensure slot benefits and research efficiency improvements scale together, enhancing the overall reward package.
  • [add_political_power](/wiki/effect/add_political_power) — Research slots are typically high-value rewards, so distributing them together with political power helps balance the attractiveness of focus tree paths.

Common Pitfalls

  1. Forgetting that negative values reduce slots: Passing a negative number will subtract research slots. If mistakenly written as negative in punishment events or puppet conditions, the target nation loses slots directly, making it hard to catch during testing. Always verify the sign direction.
  2. Failing to cap maximum slot limits: The game itself has no hard UI cap on research slot quantity. If this effect is placed in mod events or decisions that trigger repeatedly without [amount_research_slots](/wiki/trigger/amount_research_slots) as a gating condition, slots can stack infinitely and severely break game balance.