checks for amount of resources in state
Example:
has_resources_amount = {
resource = chromium
amount > 10
state = 31 (optional - can be used in state scope instead)
delivered = no # (optional, default: no) check the actual delivered amount from the state to its controller, with all modifiers applied
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
has_resources_amount 常见于资源相关的决策解锁条件、国策可用性判断,以及动态事件触发(例如"当某州铬矿储量超过阈值时才允许建设特定工厂")。配合 delivered = yes 参数还可以检查实际输送量,适合制作资源短缺警告事件或殖民地开发 mod 中的产能评估逻辑。