Supported target:THIS, ROOT, PREV, FROM, OWNER, CONTROLLER, OCCUPIED, CAPITAL
Description
Compares navies of two sides.
naval_strength_comparison = {
other = GER # by default compares to the from scope
tooltip = 'key' #tooltip is 'navy strength' by default, the key can be overridden if wanted
ratio > 1.5 # default is 1
sub_unit_def_weights = { # if not specified, it will weigh all ships as 1. otherwise only specified sub unit types will be counted
carrier = 1
battleship = 2
}
}
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
naval_strength_comparison 常用于判断某国海军是否已达到足以压制对手的规模,适合用在聚焦树解锁条件、决策可用判断或 AI 战略触发点中。例如,可以在"称霸大西洋"决策里要求本国海军实力至少是英国的 1.5 倍才能激活:
available = {
naval_strength_comparison = {
other = ENG
ratio > 1.5
sub_unit_def_weights = {
battleship = 2
destroyer = 1
submarine = 1
}
}
}