Home

PollutionSettings

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

Type

struct

Properties

enabled

diffusion_ratio

Amount that is diffused to neighboring chunks.

min_to_diffuse

This much pollution units must be on the chunk to start diffusing.

ageing

Constant modifier a percentage of 1; the pollution eaten by a chunks tiles. Also known as absorption modifier.

expected_max_per_chunk

Anything bigger than this is visualized as this value.

min_to_show_per_chunk

Anything lower than this (but > 0) is visualized as this value.

min_pollution_to_damage_trees

pollution_with_max_forest_damage

pollution_restored_per_tree_damage

pollution_per_tree_damage

max_pollution_to_restore_trees

enemy_attack_pollution_consumption_modifier