trigger · land_doctrine_level
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
checks researched land doctrine level
land_doctrine_levelCOUNTRYnonechecks researched land doctrine level
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
land_doctrine_level 常用于国策、决策或顾问的 available / trigger 块中,根据玩家已研究的陆地学说等级来解锁内容或给予奖励。例如在一个历史 mod 中,只有当某国陆地学说达到特定等级后才能触发特定军事改革决策:
available = {
land_doctrine_level > 2
}
[has_completed_subdoctrine](/wiki/trigger/has_completed_subdoctrine):两者配合可精确区分"研究等级够了但走了哪条分支",避免仅凭等级数值给错误阵营发放奖励。[has_doctrine](/wiki/trigger/has_doctrine):用于进一步确认具体学说树是否已解锁,与等级检查互补,构成更严格的条件。[add_doctrine_cost_reduction](/wiki/effect/add_doctrine_cost_reduction):当等级条件满足后作为奖励 effect 降低后续学说研究费用,形成"越研究越快"的正向激励。[add_tech_bonus](/wiki/effect/add_tech_bonus):常在 land_doctrine_level 条件满足时触发,给予下一级学说的科研加成奖励。land_doctrine_level 只能在 COUNTRY scope 下使用,若写在 STATE 或 CHARACTER 的 scope 块内会静默失效或报错,新手调试时容易忽略外层 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.
land_doctrine_level is commonly used in the available / trigger blocks of national focuses, decisions, or advisors to unlock content or grant rewards based on the player's researched land doctrine level. For example, in a historical mod, a specific military reform decision can only be triggered after a certain country's land doctrine reaches a particular tier:
available = {
land_doctrine_level > 2
}
[has_completed_subdoctrine](/wiki/trigger/has_completed_subdoctrine): Combined with this trigger, you can precisely distinguish "the required research level is met but which branch was taken," avoiding incorrectly granting rewards to the wrong faction based solely on tier numbers.[has_doctrine](/wiki/trigger/has_doctrine): Used to further confirm whether a specific doctrine tree has been unlocked, complementing tier checks and forming more stringent conditions.[add_doctrine_cost_reduction](/wiki/effect/add_doctrine_cost_reduction): Serves as a reward effect to reduce subsequent doctrine research costs once tier conditions are satisfied, creating a positive feedback loop of "the more you research, the faster you progress."[add_tech_bonus](/wiki/effect/add_tech_bonus): Commonly triggered when land_doctrine_level conditions are met, granting research bonuses for the next tier of doctrines.land_doctrine_level can only be used under COUNTRY scope. If written within STATE or CHARACTER scope blocks, it will silently fail or throw errors. Beginners often overlook the outer scope source during debugging.