In other languages: Deutsch Español Français 日本語 Nederlands Русский Українська 简体中文

Pollution: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(→‎Pollution spread: pollution generates chunks)
(Tile pollution values updated and reordered based on 2.0 game files. No references to "absorption rating" or its origin could be found outside of this wiki page, so the column was removed.)
 
(24 intermediate revisions by 8 users not shown)
Line 3: Line 3:
[[File:pollution_gui.png|300px|thumb|Pollution tab in the production GUI.]]
[[File:pollution_gui.png|300px|thumb|Pollution tab in the production GUI.]]


Pollution is represented as an abstract "cloud", updated [[Chunk|per chunk]] every game second (60 ticks) and visible on the map, when "alt-view" is on (default [[Keyboard bindings|Alt-Key]]). It appears as a red colored blocky cloud.
Pollution is represented as an abstract "cloud", updated [[Map_structure#Chunk|per chunk]] every 64 [[Time#Ticks|ticks]] (which is 4 ticks more than a game-second). It is visible on the map if the "pollution" setting is on, and appears as a blocky red cloud.


It is produced by many buildings involved in processing items and spreads outwards at a steady rate.
It is produced by many buildings involved in processing items and spreads outwards at a steady rate.
Line 13: Line 13:
== Pollution spread ==
== Pollution spread ==


As soon as a chunk has reached 15.0 pollution it starts spreading in all four cardinal directions at a rate of 2% per [[game-second]] (60 ticks). Pollution can generate new chunks if it needs to spread to them.
As soon as a chunk has reached 15.0 pollution it starts spreading in all four cardinal directions at a rate of 2% per 64 ticks. Pollution can generate new chunks if it needs to spread to them.


For example, a chunk with 400.0 pollution and 4 adjacent chunks with 100.0 pollution each, raises the pollution in all adjacent chunks by 8.0 while reducing its own pollution by 32.0. But every one of the 4 surrounding spreads 2.0 pollution "back" to the center chunk, so it only loses 24.0 + [[Pollution#De-polluters|absorbed value]].
For example, a chunk with 400.0 pollution and 4 adjacent chunks with 100.0 pollution each, raises the pollution in all adjacent chunks by 8.0 while reducing its own pollution by 32.0. But every one of the 4 surrounding spreads 2.0 pollution "back" to the center chunk, so it only loses 24.0 + [[Pollution#De-polluters|absorbed value]].
Line 19: Line 19:
== Pollution dissipation==
== Pollution dissipation==


* Every [[chunk]] (32x32) of map slowly reduces the pollution it covers (See [[Pollution#Chunks]]). So the more the pollution spreads, the more is absorbed.
* Every [[Map_structure#Chunk|chunk]] (32x32) of map slowly reduces the pollution it covers (See [[#Chunks]]). So the more the pollution spreads, the more is absorbed.
* [[Tree]]s also absorb some pollution (See [[Pollution#Trees]]).
* [[Tree]]s also absorb some pollution (See [[#Trees]]).
* [[Enemies#Spawner|Spawners]] absorb a great amount of pollution, and use this to assign enemies to attacks.
* [[Enemies#Spawner|Spawners]] absorb a great amount of pollution, and use this to assign enemies to attacks.


== Native life ==
== Native life ==
Pollution attracts [[Enemies|biters]] to the Player's factory. Biters who find themselves in a polluted area will attempt to reach the source of pollution and destroy it.
Pollution attracts [[Enemies#Biters|biters]] to the Player's factory. Biters who find themselves in a polluted area will attempt to reach the source of pollution and destroy it. Any [[water]] near the source of pollution will turn green, which is a visual-only effect. The effect can be turned off by disabling animated water in the graphics settings.


If a chunk's pollution is greater than 20, each enemy spawner absorbs 20 + 0.01 * [chunk's pollution] every game second (60 ticks), otherwise it absorbs 3 times the amount of pollution needed for the most expensive unit it can spawn for the current evolution factor.  
If a chunk's pollution is greater than 20, each enemy spawner absorbs 20 + 0.01 * [chunk's pollution] every 64 ticks, otherwise it absorbs 3 times the amount of pollution needed for the most expensive unit it can spawn for the current evolution factor.  


Higher pollution values decrease the time it takes for biters to join the attack force. After a certain amount of pollution is absorbed the spawner sends one of its biters/spitters to a rendezvous point. Every 1 to 10 minutes (random) the mustered biters launch an attack. If not all biters have arrived at the rendezvous point by that time, they will wait up to an additional 2 minutes for stragglers.
Higher pollution values decrease the time it takes for biters to join the attack force. After a certain amount of pollution is absorbed the spawner sends one of its biters/spitters to a rendezvous point. Every 1 to 10 minutes (random) the mustered biters launch an attack. If not all biters have arrived at the rendezvous point by that time, they will wait up to an additional 2 minutes for stragglers.
Line 43: Line 43:
| 400  || Behemoth biter 
| 400  || Behemoth biter 
|-
|-
| 1  || Small spitter 
| 4  || Small spitter 
|-
|-
| 12  || Medium spitter 
| 12  || Medium spitter 
Line 90: Line 90:
|}
|}


Fire on the ground and burning trees produce 0.005 pollution per second.
Fire on the ground and burning trees produce 0.3 pollution per minute.


=== De-polluters ===
=== De-polluters ===


==== Spawner ====
==== Spawners ====
If a chunk's pollution is greater than 20, each enemy spawner absorbs 20 + 0.01 * [chunk's pollution] every game second (60 ticks), otherwise it absorbs 3 times the amount of pollution needed for the most expensive unit it can spawn for the current evolution factor.  
Every 64 ticks, spawners absorb pollution until they have absorbed more than 3 times the amount needed to send the [[Enemies#Creatures|most expensive unit]] at the current evolution level.
 
If they have not absorbed more than that threshold, they will absorb 20 + 0.01 * [chunk's pollution] and check the threshold again.
 
Note that absorbing pollution is not for spawning biters, but for sending biters to an attack group. Spawners will spawn enemies regardless of pollution absorption until they reach their spawn limit.


==== Chunks ====
==== Chunks ====
Every chunk has a natural absorption rate per second which is determined by the sum of the pollution absorption of its floor tiles.
Every chunk has a natural absorption rate per second which is determined by the sum of the pollution absorption of its floor tiles.


Following numbers are the pollution reduction for a single tile per second.
{| class="wikitable"
{| class="wikitable"
! Tile !! Pollution per second
! Tile !! Pollution per tile per second !! Pollution per chunk per minute
|-
|-
| Grass 1-4, landfill || 0.0000075
| Water, green water, deep water, deep green water, shallow water, mud water  || -0.000025 || -1.536
|-
|-
| Dirt 1-7, dry dirt || 0.0000066
| Grass 1-4 || -0.000018 || -1.10592
|-
|-
| Sand 1-3 || 0.0000058
| Dirt 1-7, dry dirt || -0.000018 || -1.10592
|-
|-
| Red desert 0-3 || 0.0000066
| Red desert 0-3 || -0.000015 || -0.9216
|-
|-
| Water, green water, deep water, deep green water, shallow water, mud water  || 0.000005
| Sand 1-3 || -0.000015 || -0.9216
|-
|-
| Path tiles (Stone bricks, concrete etc) || 0
| Nuclear ground || -0.0000125 || -0.768
|-
|-
| Out of map || 0.00001
| Path tiles (Stone bricks, concrete etc), landfill || 0 || 0
|-
|-
| Special tiles (Lab tiles, tutorial grid) || 0
| Special tiles (Lab tiles, tutorial grid, Water Wube) || 0 || 0
|-
| Out of map || -0.0001 || -6.144
|-
|-
|}
|}


==== Trees ====
==== Trees ====
Every single tree absorbs a small amount of pollution in its chunk per second. If the total pollution in that chunk is above 60 units, trees lose their leaves for every 10 pollution absorbed. The less dense the leaves, the slower the tree absorbs pollution.
 
Every single [[tree]] absorbs a small amount of pollution in its chunk per second. If the total pollution in a chunk is above 60 units, once per second some of the trees in that chunk each have a chance to either lose one stage of leaves or have their leaves become one stage more gray. Regardless of whether the tree loses leaves or gets grayer, 10 pollution are absorbed by the tree.<br>
A tree stops losing leaves/becoming more gray once the sum of its gray percentage and its leaves lost percentage is above 120%. 50% of trees stop their leaf progression one stage earlier. As the grayness and leaf stage are then locked for that tree forever, it is possible for trees to keep some leaves in heavily polluted chunks but in turn be very gray, or the other way around.<br>
The less dense the leaves, the slower the tree absorbs pollution, however tree grayness does not affect pollution absorption.


{| class="wikitable"
{| class="wikitable"
Line 138: Line 146:
| [[File:Dead dry hairy tree.png|120px]] Dead dry hairy tree || No stages || -0.0001
| [[File:Dead dry hairy tree.png|120px]] Dead dry hairy tree || No stages || -0.0001
|-
|-
| [[File:Dead grey trunk.png|120px]] Dead grey trunk || No stages || -0.0001
| [[File:Dead grey trunk.png|120px]] Dead gray trunk || No stages || -0.0001
|-
|-
| [[File:Dead tree desert.png|120px]] Dead tree - desert|| No stages || -0.0001
| [[File:Dead tree desert.png|120px]] Dead tree - desert|| No stages || -0.0001
Line 153: Line 161:


== History ==
== History ==
{{history|2.0.7|
* Greatly increased default tile pollution absorption. (Out of map x10, water and nuclear ground x5, rest roughly x2.5)}}


{{history|0.17.12|
{{history|0.17.12|
Line 192: Line 202:
* [[Module]]s
* [[Module]]s
* [[Enemies]]
* [[Enemies]]
{{C|Main}}

Latest revision as of 16:56, 12 November 2024

Example of in-game pollution (red squares) in the map
Pollution tab in the production GUI.

Pollution is represented as an abstract "cloud", updated per chunk every 64 ticks (which is 4 ticks more than a game-second). It is visible on the map if the "pollution" setting is on, and appears as a blocky red cloud.

It is produced by many buildings involved in processing items and spreads outwards at a steady rate.

The evolution factor is not increased by the spreading/absorbed pollution, but by the pollution produced by all the player's machinery at every tick. This means that no matter how hard the player tries to contain the pollution, enemies will still evolve at the same rate. They just won't attack the player as frequently. The pollution cloud is used to trigger biter attacks and determines the size of the attacks.

Pollution settings can be changed via map generation settings, or can be disabled entirely.

Pollution spread

As soon as a chunk has reached 15.0 pollution it starts spreading in all four cardinal directions at a rate of 2% per 64 ticks. Pollution can generate new chunks if it needs to spread to them.

For example, a chunk with 400.0 pollution and 4 adjacent chunks with 100.0 pollution each, raises the pollution in all adjacent chunks by 8.0 while reducing its own pollution by 32.0. But every one of the 4 surrounding spreads 2.0 pollution "back" to the center chunk, so it only loses 24.0 + absorbed value.

Pollution dissipation

  • Every chunk (32x32) of map slowly reduces the pollution it covers (See #Chunks). So the more the pollution spreads, the more is absorbed.
  • Trees also absorb some pollution (See #Trees).
  • Spawners absorb a great amount of pollution, and use this to assign enemies to attacks.

Native life

Pollution attracts biters to the Player's factory. Biters who find themselves in a polluted area will attempt to reach the source of pollution and destroy it. Any water near the source of pollution will turn green, which is a visual-only effect. The effect can be turned off by disabling animated water in the graphics settings.

If a chunk's pollution is greater than 20, each enemy spawner absorbs 20 + 0.01 * [chunk's pollution] every 64 ticks, otherwise it absorbs 3 times the amount of pollution needed for the most expensive unit it can spawn for the current evolution factor.

Higher pollution values decrease the time it takes for biters to join the attack force. After a certain amount of pollution is absorbed the spawner sends one of its biters/spitters to a rendezvous point. Every 1 to 10 minutes (random) the mustered biters launch an attack. If not all biters have arrived at the rendezvous point by that time, they will wait up to an additional 2 minutes for stragglers.

Required pollution to add an additional biter/spitter to the attack wave:

Pollution  Type 
Small biter 
20  Medium biter 
80  Big biter 
400  Behemoth biter 
Small spitter 
12  Medium spitter 
30  Big spitter 
200  Behemoth spitter 

Modules

Modules that list "+x% pollution" increase pollution multiplier, not a flat pollution rate. Final pollution value is (pollution multiplier * energy usage multiplier * base pollution), meaning heavily boosted buildings are likely to account for most of the pollution produced in a factory.

Production/Absorption

These tables contain information about the levels of pollution produced/absorbed by items in the game.

Polluters

Structure Pollution per minute at full power
Stone furnace.png
Stone furnace
2
Steel furnace.png
Steel furnace
4
Electric furnace.png
Electric furnace
1
Burner mining drill.png
Burner mining drill
12
Electric mining drill.png
Electric mining drill
10
Pumpjack.png
Pumpjack
10
Assembling machine 1.png
Assembling machine 1
4
Assembling machine 2.png
Assembling machine 2
3
Assembling machine 3.png
Assembling machine 3
2
Boiler.png
Boiler
30
Oil refinery.png
Oil refinery
6
Chemical plant.png
Chemical plant
4
Centrifuge.png
Centrifuge
4

Fire on the ground and burning trees produce 0.3 pollution per minute.

De-polluters

Spawners

Every 64 ticks, spawners absorb pollution until they have absorbed more than 3 times the amount needed to send the most expensive unit at the current evolution level.

If they have not absorbed more than that threshold, they will absorb 20 + 0.01 * [chunk's pollution] and check the threshold again.

Note that absorbing pollution is not for spawning biters, but for sending biters to an attack group. Spawners will spawn enemies regardless of pollution absorption until they reach their spawn limit.

Chunks

Every chunk has a natural absorption rate per second which is determined by the sum of the pollution absorption of its floor tiles.

Tile Pollution per tile per second Pollution per chunk per minute
Water, green water, deep water, deep green water, shallow water, mud water -0.000025 -1.536
Grass 1-4 -0.000018 -1.10592
Dirt 1-7, dry dirt -0.000018 -1.10592
Red desert 0-3 -0.000015 -0.9216
Sand 1-3 -0.000015 -0.9216
Nuclear ground -0.0000125 -0.768
Path tiles (Stone bricks, concrete etc), landfill 0 0
Special tiles (Lab tiles, tutorial grid, Water Wube) 0 0
Out of map -0.0001 -6.144

Trees

Every single tree absorbs a small amount of pollution in its chunk per second. If the total pollution in a chunk is above 60 units, once per second some of the trees in that chunk each have a chance to either lose one stage of leaves or have their leaves become one stage more gray. Regardless of whether the tree loses leaves or gets grayer, 10 pollution are absorbed by the tree.
A tree stops losing leaves/becoming more gray once the sum of its gray percentage and its leaves lost percentage is above 120%. 50% of trees stop their leaf progression one stage earlier. As the grayness and leaf stage are then locked for that tree forever, it is possible for trees to keep some leaves in heavily polluted chunks but in turn be very gray, or the other way around.
The less dense the leaves, the slower the tree absorbs pollution, however tree grayness does not affect pollution absorption.

Object Stage Pollution per second
Green tree.png Tree, red tree, brown tree 0 (Max leaf density) -0.001
1 -0.00067
2 -0.00033
3 (Min leaf density) 0
Dead dry hairy tree.png Dead dry hairy tree No stages -0.0001
Dead grey trunk.png Dead gray trunk No stages -0.0001
Dead tree desert.png Dead tree - desert No stages -0.0001
Dry hairy tree.png Dry hairy tree No stages -0.0001
Dry tree.png Dry tree No stages -0.0001

Achievements

Pollution is directly connected to the following achievement:

It-stinks-and-they-dont-like-it-achievement.png It stinks and they don't like it

Trigger an alien attack by pollution.

History

  • 2.0.7:
    • Greatly increased default tile pollution absorption. (Out of map x10, water and nuclear ground x5, rest roughly x2.5)
  • 0.17.12:
    • Added pollution tab to the production statistics.
    • Spawner tooltip (including the pollution statistics), shows distribution of biters spawn for the current evolution factor with the pollution costs.
    • Pollution generation is now shown in the x/s format both on the entity and in the item/crafting slot.
    • Internal pollution values have been normalized, and they are now roughly 60 times less compared to what they were.
  • 0.17.0:
    • Rebalanced assembling machine 1,2 and 3 power consumption and pollution - higher tiers eat more power, but produce less pollution.
    • Changed spawner pollution absorption logic so that all the pollution on a chunk doesn't build up un-spent in a single spawner.
  • 0.13.2:
    • Optimized rendering of huge pollution clouds on the map.
  • 0.13.0:
    • Large amounts of pollution is created when burning fires.
    • Pollution creation of the productivity module was reduced drastically.
    • Optimized pollution rendering on map and minimap.
  • 0.12.0:
    • Trees degenerate slowly when exposed to pollution at high levels.
  • 0.8.0:
    • Added option to turn off pollution visibility even when detailed info is on.
  • 0.7.1:
    • Speed modules no longer produce extra pollution.
    • Added missing pollution descriptions.
    • Pollution is only shown on the minimap with alt mode on.
  • 0.7.0:
    • Introduced concept of pollution.

See also