Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# DamageTypeFilters - Runtime Docs

## DamageTypeFilters :: table

#### Table fields

whitelist | :: boolean | Whether this is a whitelist or a blacklist of damage types. `true` means whitelist.
Whether this is a whitelist or a blacklist of damage types. `true` means whitelist.
types | :: dictionary[string → `true`] | The damage types to filter for. The value in the dictionary is meaningless and exists just to allow for easy lookup.
The damage types to filter for. The value in the dictionary is meaningless and exists just to allow for easy lookup.

Concept used in

- TriggerEffectItem