In other languages: Deutsch Español Français 日本語 Nederlands Русский 中文

Pollution: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(63 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[[File:Pollution.png|400px|thumb|Example of ingame pollution (red squares) in the map]]
{{languages}}
Pollution is represented as an abstract "cloud", updated [[Chunk|per chunk]] every game second (60 ticks) and visible on the minimap and [[Map]], when [[Alternative view]] is on (default [[Game-Options/Keyboard-Defaults#Alt|Alt-Key]]).
[[File:Pollution.png|300px|thumb|Example of in-game pollution (red squares) in the map]]
[[File:pollution_gui.png|300px|thumb|Pollution tab in the production GUI.]]


[[Crafting network|It is produced by many buildings]] involved in processing items and spreads outwards at a steady rate.
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), and visible on the map, when "alt-view" is on (default [[Keyboard bindings|Alt-Key]]). It appears as a red colored blocky cloud.


The [[Enemies#Evolution|evolution factor]] is not increased by the spreading/absorbed pollution, but by the pollution produced by all your [[Pollution_Production#Polluters|machinery]] at every tick. The pollution cloud is used to trigger biter attacks and determines the size of the attacks.
It is produced by many buildings involved in processing items and spreads outwards at a steady rate.
 
The [[Enemies#Evolution|evolution factor]] is not increased by the spreading/absorbed pollution, but by the pollution produced by all the player's [[Pollution#Polluters|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 generator|map generation]] settings, or can be disabled entirely.


== 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% game second (60 ticks).
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.


e.g. 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 everyone of the 4 surrounding spreads 2.0 pollution "back" to the center chunk, so it only loses 24.0 + [[Pollution_Production#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]].


== Pollution dissipation==
== Pollution dissipation==
* Every [[Chunk]] (32x32) of map slowly reduces the pollution it covers (See [[Pollution Production#Chunks]]). So the more the pollution spreads, the more is absorbed.
 
* [[Tree|Trees]] also absorb some pollution (See [[Pollution Production#Trees]]).
* 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.
* [[Enemies#Spawner|Spawners]] absorb a great amount of pollution.
* [[Tree]]s also absorb some pollution (See [[#Trees]]).
* In certain [[Mods]] it is possible to build devices or trees which reduce pollution.
* [[Enemies#Spawner|Spawners]] absorb a great amount of pollution, and use this to assign enemies to attacks.


== Native life ==
== Native life ==
Pollution attracts [[Biter|biters]] to your factory. [[Biter|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.


Each [[Biter#Spawners|spawner]] absorbs 20 + 0.01 * [chunks pollution] every game second (60 ticks), if the chunks pollution is greater than 20 otherwise it absorbs the total pollution.
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.


Required pollution to add an additional biter/spitter to the attack wave:
Required pollution to add an additional biter/spitter to the attack wave:
{| class="wikitable" style="text-align:right;"
! style="width: 100px;" | Pollution 
! style="width: 130px;" | Type 
|-
| 4  || Small biter 
|-
| 20  || Medium biter 
|-
| 80  || Big biter 
|-
| 400  || Behemoth biter 
|-
| 4  || Small spitter 
|-
| 12  || Medium spitter 
|-
| 30  || Big spitter 
|-
| 200  || Behemoth spitter 
|-
|}
== Modules ==
[[Module]]s 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 ===
{| class="wikitable"
! Structure !! Pollution per minute at full power
|-
| {{Imagelink|Stone furnace}} || 2
|-
| {{Imagelink|Steel furnace}} || 4
|-
| {{Imagelink|Electric furnace}} || 1
|-
| {{Imagelink|Burner mining drill}} || 12
|-
| {{Imagelink|Electric mining drill}} || 10
|-
| {{imagelink|Pumpjack}} || 10
|-
| {{Imagelink|Assembling machine 1}} || 4
|-
| {{Imagelink|Assembling machine 2}} || 3
|-
| {{Imagelink|Assembling machine 3}} || 2
|-
| {{imagelink|Boiler}} || 30
|-
| {{Imagelink|Oil refinery}} || 6
|-
| {{Imagelink|Chemical plant}} || 4
|-
| {{Imagelink|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 [[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 ====
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"
! Tile !! Pollution per second !! Absorption rating
|-
| Grass 1-4 || -0.0000075 || 10
|-
| Dirt 1-7, dry dirt || -0.0000066 || 9
|-
| Red desert 0-3 || -0.0000066 || 9
|-
| Sand 1-3 || -0.0000058 || 8
|-
| Water, green water, deep water, deep green water, shallow water, mud water  || -0.000005 || 7
|-
| Nuclear ground || -0.0000025 || 3
|-
| Path tiles (Stone bricks, concrete etc), landfill || 0 || 0
|-
| Special tiles (Lab tiles, tutorial grid, Water Wube) || 0 || 0
|-
| Out of map || -0.00001 || 13
|-
|}
==== 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.<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"
! Pollution !! Type
! Object !! Stage !! Pollution per second
|-
| rowspan="4" | [[File:Green tree.png|120px]] Tree, red tree, brown tree || 0 (Max leaf density) || -0.001
|-
|-
|200 || Small biter
| 1 || -0.00067
|-
|-
|1000 || Medium biter
| 2 || -0.00033
|-
|-
|4000 || Big biter
| 3 (Min leaf density) || 0
|-
|-
|20000 || Behemoth biter
| [[File:Dead dry hairy tree.png|120px]] Dead dry hairy tree || No stages || -0.0001
|-
|-
|200 || Small spitter
| [[File:Dead grey trunk.png|120px]] Dead gray trunk || No stages || -0.0001
|-
|-
|600 || Medium spitter
| [[File:Dead tree desert.png|120px]] Dead tree - desert|| No stages || -0.0001
|-
|-
|1500 || Big apitter
| [[File:Dry hairy tree.png|120px]] Dry hairy tree || No stages || -0.0001
|-
|-
|10000 || Behemoth spitter
| [[File:Dry tree.png|120px]] Dry tree || No stages || -0.0001
|-
|-
|}
|}


With 1350 absorbed pollution at the time of attack the following wave consists of 6 small biters and 1 medium biter OR 6 small spitters and 2 medium spitters depending on the spawner's type and [[Biter#Spawn_chances_by_evolution_factor|evolution factor]].
== Achievements ==
Pollution is directly connected to the following achievement:
{{Achievement|it-stinks-and-they-dont-like-it}}
 
== History ==
 
{{history|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.}}
 
{{history|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.}}
 
{{history|0.13.2|
* Optimized rendering of huge pollution clouds on the map.}}
 
{{history|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.
}}
 
{{history|0.12.0|
* [[Tree]]s degenerate slowly when exposed to pollution at high levels. }}
 
{{history|0.8.0|
* Added option to turn off pollution visibility even when detailed info is on. }}
 
{{history|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.
}}


== Modules ==
{{history|0.7.0|
[[Module|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.
* Introduced concept of pollution.}}


== See also ==
== See also ==
* [[Pollution Production]]
* [[Crafting]]
* [[Crafting network]]
* [[Module]]s
* [[Module|Modules]]
* [[Enemies]]
* [[Enemies]]

Latest revision as of 04:04, 10 September 2022

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), and visible on the map, when "alt-view" is on (default Alt-Key). It appears as a red colored blocky 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.

Following numbers are the pollution reduction for a single tile per second.

Tile Pollution per second Absorption rating
Grass 1-4 -0.0000075 10
Dirt 1-7, dry dirt -0.0000066 9
Red desert 0-3 -0.0000066 9
Sand 1-3 -0.0000058 8
Water, green water, deep water, deep green water, shallow water, mud water -0.000005 7
Nuclear ground -0.0000025 3
Path tiles (Stone bricks, concrete etc), landfill 0 0
Special tiles (Lab tiles, tutorial grid, Water Wube) 0 0
Out of map -0.00001 13

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 dont like it

Trigger an alien attack by pollution.

History

  • 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