Wiki

trigger · has_convoys_war_support

Definition

  • Supported scope:COUNTRY
  • Supported target:THIS, ROOT, PREV, FROM, OWNER, CONTROLLER, OCCUPIED, CAPITAL

Description

check value of convoys sunk malus to war support 0-1: Example has_convoys_war_support < 0.1

实战 · 配合 · 坑

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

实战用法

has_convoys_war_support 常用于判断本国因商船被击沉而导致的战争意志惩罚程度,适合在海战惨烈时触发特定决议、事件或外交选项。例如,当护航损失极为严重时,自动解锁议和或求援的选项:

# 在某个 decision 的 available 块中
available = {
    has_convoys_war_support < 0.15
    has_war = yes
}

配合关系

  • [has_bombing_war_support](/wiki/trigger/has_bombing_war_support) — 同为战争意志惩罚系的 trigger,可联合使用以综合评估一国因战略轰炸与护航损失导致的士气崩溃风险。
  • [has_casualties_war_support](/wiki/trigger/has_casualties_war_support) — 伤亡带来的战争意志惩罚,与本 trigger 并列检查可构建"多重压力"触发条件,模拟濒临崩溃的战时状态。
  • [add_war_support](/wiki/effect/add_war_support) — 当条件成立时用来补偿战争意志,常见于"抢救士气"类事件的 effect 块。
  • [add_political_power](/wiki/effect/add_political_power) — 在护航损失严重时给予政治资本作为危机应对资源,搭配本 trigger 限定触发时机。

常见坑

  1. 比较方向搞反has_convoys_war_support 的值越小表示惩罚越重(即护航损失越惨),新手容易误写成 > 0.9 来表示"损失严重",实际上应使用 < 0.1 这类小值才代表高惩罚状态。
  2. 在非 COUNTRY scope 下使用:该 trigger 仅在国家 scope 下有效,若误写在 state 或 unit leader 的条件块内将静默失败或报错,务必确认外层 scope 为国家。

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

has_convoys_war_support is commonly used to gauge the severity of war support penalties incurred by a nation due to sunken merchant vessels. It is well-suited for triggering specific decisions, events, or diplomatic options during intense naval warfare. For example, when escort losses become catastrophic, you can automatically unlock armistice or aid-seeking options:

# In the available block of a decision
available = {
    has_convoys_war_support < 0.15
    has_war = yes
}

Synergy

  • [has_bombing_war_support](/wiki/trigger/has_bombing_war_support) — Another war support penalty trigger in the same family; can be combined to comprehensively assess the risk of morale collapse from both strategic bombing and convoy losses.
  • [has_casualties_war_support](/wiki/trigger/has_casualties_war_support) — War support penalty from casualties; checking this alongside the current trigger creates a "multi-pressure" condition set, simulating a nation on the brink of collapse.
  • [add_war_support](/wiki/effect/add_war_support) — Used to compensate war support when conditions are met; commonly found in the effect block of "morale rescue" events.
  • [add_political_power](/wiki/effect/add_political_power) — Grants political capital as a crisis response resource when convoy losses are severe, paired with this trigger to define trigger timing.

Common Pitfalls

  1. Inverted comparison logic: Lower values of has_convoys_war_support indicate heavier penalties (i.e., worse convoy losses). Beginners often mistakenly write > 0.9 to mean "severe losses," when in fact < 0.1 or similarly low values represent high penalty states.
  2. Usage outside COUNTRY scope: This trigger only works within country scope. If mistakenly placed in a state or unit leader condition block, it will silently fail or throw an error. Always verify that the parent scope is a country.