has _resources _in _collection
Details
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
}Source: Triggers Documentation