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

# Factorio Prototype Docs Version 2.0.77

# MapGenPresetPollutionSettings - Prototype Docs

## MapGenPresetPollutionSettings :: struct

The pollution settings, the values are for 60 ticks (1 second).

## Properties

- default
- sorted

enabled optional | :: boolean |
diffusion_ratio optional | :: double | Must be <= 0.25. [...]
Must be <= 0.25. [...]
ageing optional | :: double | Must be >= 0.1. [...]
Must be >= 0.1. [...]
min_pollution_to_damage_trees optional | :: double |
enemy_attack_pollution_consumption_modifier optional | :: double | Must be >= 0.1.
Must be >= 0.1.
pollution_restored_per_tree_damage optional | :: double |

ageing optional | :: double | Must be >= 0.1. [...]
Must be >= 0.1. [...]
diffusion_ratio optional | :: double | Must be <= 0.25. [...]
Must be <= 0.25. [...]
enabled optional | :: boolean |
enemy_attack_pollution_consumption_modifier optional | :: double | Must be >= 0.1.
Must be >= 0.1.
min_pollution_to_damage_trees optional | :: double |
pollution_restored_per_tree_damage optional | :: double |

## Properties

### enabled :: boolean optional

### diffusion_ratio :: double optional

Must be <= 0.25. Amount that is diffused to neighboring chunks.

### ageing :: double optional

Must be >= 0.1. Also known as absorption modifier.

### min_pollution_to_damage_trees :: double optional

### enemy_attack_pollution_consumption_modifier :: double optional

Must be >= 0.1.

### pollution_restored_per_tree_damage :: double optional

Type used in

- AdvancedMapGenSettings::pollution