Checks for amount of resources in a given collection.
### Example
```
has_resources_in_collection = {
collection = {
game:scope
operators = { country_and_all_subjects }
}
resource = chromium
amount > 10
extracted = yes # (optional, default: no) checks extracted amount instead of country balance
buildings = no # (optional, default: no) checks only amount from local buildings instead of country balance
Note: extracted and buildings are mutually exclusive
}
```
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
常用于检测某个国家连同其附庸国整体的战略资源储备是否达标,例如在决策或国策的 available 块中限制只有铬矿产出充足的国家才能走特定科技路线。collection 字段的灵活性使其适合多方联合资源池检测,而非单纯检查本国库存。