launch nuke at a state. usage :
launch_nuke = {
provinve = 42 #will nuke this province if specified
state = 42 #use either province or state. if state is used it will prefer enemies first while picking a province to nuke. otherwise it will pick one of the neutrals
controller = GER #if state and controller is specified, the effect will pick a province that is controlled by this tag
use_nuke = yes #will consume nuke if specified
nuke_type = nuclear_bomb # type of nuke to use (e.g. nuclear_bomb, thermonuclear_bomb etc.)
}
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
launch_nuke 常用于剧情事件或决策中触发核打击,例如在玩家完成特定核武器项目后赋予一次"战略核打击"选项,或在 AI 脚本中模拟历史上的核武器使用。下面示例演示在一个国家事件中对指定州发动核打击并消耗核弹:
country_event = {
id = my_mod.1
option = {
name = my_mod.1.a
# 对目标州发动核打击,优先选择敌方省份,并消耗一枚核弹
launch_nuke = {
state = 42
controller = GER
use_nuke = yes
nuke_type = nuclear_bomb
}
}
}