Wiki

effect · career_profile_step_missiolini

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Step completed Mussolini missions by one for the career profile

实战 · 配合 · 坑

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

实战用法

此 effect 专用于职业档案系统(Career Profile)中追踪墨索里尼任务的完成进度,每调用一次即将已完成的墨索里尼任务计数加一。典型场景是在意大利相关国策焦点或决策的 completion_reward / immediate 块中触发,用于解锁职业档案成就或里程碑奖励。

# 某个完成墨索里尼主题国策时的奖励块
focus = {
    id = ITA_march_on_rome_legacy
    # ...
    completion_reward = {
        career_profile_step_missiolini = yes
        add_political_power = 50
    }
}

配合关系

  • [has_completed_focus](/wiki/trigger/has_completed_focus) — 用于在 trigger 块中确认前置墨索里尼任务链的国策已完成,再执行本 effect,避免跳步触发。
  • [add_political_power](/wiki/effect/add_political_power) — 完成任务里程碑时通常同步给予政治点数奖励,两者常写在同一 completion_reward 块内。
  • [add_ideas](/wiki/effect/add_ideas) — 职业档案步骤推进往往伴随解锁特定执政理念,与本 effect 配合强化叙事连贯性。
  • [has_country_flag](/wiki/trigger/has_country_flag) — 通过国家标记判断当前是否处于正确的任务阶段,防止因存档读取或脚本时序问题导致重复计数。

常见坑

  1. Scope 写错:本 effect 只能在 COUNTRY scope 下调用,若不小心写在 STATE 或某个角色的 scope 内(如 every_unit_leader 的循环体中),游戏不会报错但计数不会生效,排查时极难发现。
  2. 重复触发未设防:若触发该 effect 的事件或决策缺少"已触发"标记(如未配合 [has_country_flag](/wiki/trigger/has_country_flag) 做判断),玩家通过多次完成可重复决策可能将计数刷超上限,导致职业档案统计异常。

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

This effect is dedicated to tracking the completion progress of Mussolini tasks within the Career Profile system. Each invocation increments the counter of completed Mussolini tasks by one. The typical scenario is triggering it in the completion_reward / immediate block of Italian-related national focus or decisions to unlock Career Profile achievements or milestone rewards.

# Reward block for completing a Mussolini-themed national focus
focus = {
    id = ITA_march_on_rome_legacy
    # ...
    completion_reward = {
        career_profile_step_missiolini = yes
        add_political_power = 50
    }
}

Synergy

  • [has_completed_focus](/wiki/trigger/has_completed_focus) — Use in trigger blocks to confirm that prerequisite Mussolini task chain focuses are completed before executing this effect, preventing skipped progression.
  • [add_political_power](/wiki/effect/add_political_power) — Milestone completions typically grant political power rewards simultaneously; both are often written in the same completion_reward block.
  • [add_ideas](/wiki/effect/add_ideas) — Career Profile step progression is often accompanied by unlocking specific ideologies; pairing with this effect strengthens narrative coherence.
  • [has_country_flag](/wiki/trigger/has_country_flag) — Use country flags to verify whether the current task stage is correct, preventing duplicate counting due to save loading or script timing issues.

Common Pitfalls

  1. Incorrect Scope: This effect can only be invoked under COUNTRY scope. If mistakenly placed in STATE scope or within a character's scope (such as inside an every_unit_leader loop), the game will not report an error but the counter will not function, making it extremely difficult to debug.
  2. No Protection Against Repeated Triggers: If the event or decision triggering this effect lacks an "already triggered" flag (such as by not using [has_country_flag](/wiki/trigger/has_country_flag) for validation), players can inflate the counter by repeatedly completing repeatable decisions, causing Career Profile statistics to become abnormal.