adds resistance target to the scoped state :
add_resistance_target = 10
add_resistance_target = {
id = 123 #if set, id can be used for removing an added resistance target using remove_resistance_target effect amount = 10 #original tag of new country
occupied = GER #if set, the resistance target will only apply if the occupied country is GER
occupier = ENG #if set, the resistance target will only apply if the occupier country is ENG
days = 42 #if set the newly added resistance target will be only active for this many days
tooltip = "BLABLA" #tooltip loc key to display in resistance target tooltips
}
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
add_resistance_target 常用于占领事件或决策中,为特定州临时提高抵抗目标值,模拟民众对压迫性占领政策的反应,或配合叙事事件制造动荡局势。例如在"残酷镇压"决策触发后,为被占领州设置带时限的额外抵抗目标,并绑定一个 ID 以便后续通过其他事件手动移除:
# 在某占领决策的 effect 块中
123_occupied_state = {
add_resistance_target = {
id = brutal_crackdown_target
amount = 15
occupied = POL
occupier = GER
days = 90
tooltip = "BRUTAL_CRACKDOWN_RESISTANCE_TT"
}
}
配合关系
[remove_resistance_target](/wiki/effect/remove_resistance_target):与本命令配对使用,当设置了 id 字段后,可在条件满足时(如事件触发或决策完成)精确移除之前添加的抵抗目标,避免永久堆叠效果。