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
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages}}
{{languages}}
[[File:Pollution.png|400px|thumb|Example of in-game pollution (red squares) in the map]]
[[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.]]
[[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), and visible on the map, when "alt-view" is on (default [[Keyboard bindings|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.
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).
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 produce enemies.
* [[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.


Each [[Enemies|spawner]] absorbs 20 + 0.01 * [chunk's pollution] every game second (60 ticks) if the chunk's pollution is greater than 20.  If there is 20 or less pollution in the chunk, the spawner absorbs all the 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.
Line 35: Line 35:
! style="width: 130px;" | Type 
! style="width: 130px;" | Type 
|-
|-
| 200  || Small biter 
| 4  || Small biter 
|-
|-
| 1,000  || Medium biter 
| 20  || Medium biter 
|-
|-
| 4,000  || Big biter 
| 80  || Big biter 
|-
|-
| 20,000  || Behemoth biter 
| 400  || Behemoth biter 
|-
|-
| 200  || Small spitter 
| 4  || Small spitter 
|-
|-
| 600  || Medium spitter 
| 12  || Medium spitter 
|-
|-
| 1,500  || Big spitter 
| 30  || Big spitter 
|-
|-
| 10,000  || Behemoth spitter 
| 200  || Behemoth spitter 
|-
|-
|}
|}
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 [[Enemies#Spawn_chances_by_evolution_factor|evolution factor]].


== Modules ==
== Modules ==
Line 62: Line 60:
=== Polluters ===
=== Polluters ===
{| class="wikitable"
{| class="wikitable"
| '''Object''' || '''Pollution per KW per game second (60 ticks)''' || '''Pollution per game second at full power'''
! Structure !! Pollution per minute at full power
|-
| {{Imagelink|Stone furnace}} || 0.01/KW || 1.8
|-
|-
| {{Imagelink|Steel furnace}} || 0.02/KW || 3.6
| {{Imagelink|Stone furnace}} || 2
|-
|-
| {{Imagelink|Electric furnace}} || 0.005/KW || 0.9
| {{Imagelink|Steel furnace}} || 4
|-
|-
| {{Imagelink|Burner mining drill}} || 0.03333/KW || 10
| {{Imagelink|Electric furnace}} || 1
|-
|-
| {{Imagelink|Electric mining drill}} || 0.1/KW || 9
| {{Imagelink|Burner mining drill}} || 12
|-
|-
| {{imagelink|Pumpjack}} || 0.1/KW || 9
| {{Imagelink|Electric mining drill}} || 10
|-
|-
| {{Imagelink|Assembling machine 1}} || 0.03333/KW || 3
| {{imagelink|Pumpjack}} || 10
|-
|-
| {{Imagelink|Assembling machine 2}} || 0.016/KW || 2.4
| {{Imagelink|Assembling machine 1}} || 4
|-
|-
| {{Imagelink|Assembling machine 3}} || 0.00857/KW || 1.8
| {{Imagelink|Assembling machine 2}} || 3
|-
|-
| {{Imagelink|Pump}} || 0.004/KW || 0.12
| {{Imagelink|Assembling machine 3}} || 2
|-
|-
| {{imagelink|Boiler}} || 0.01538/KW || 27.6923
| {{imagelink|Boiler}} || 30
|-
|-
| {{Imagelink|Oil refinery}} || 0.00857/KW || 3.6
| {{Imagelink|Oil refinery}} || 6
|-
|-
| {{Imagelink|Chemical plant}} || 0.00857/KW || 1.8
| {{Imagelink|Chemical plant}} || 4
|-
|-
| {{Imagelink|Centrifuge}} || 0.016/KW || 5.6
| {{Imagelink|Centrifuge}} || 4
|-
|-
|}
|}


Fire on the ground and burning trees produce 0.005 pollution per tick.
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 the chunk's total pollution.
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 tick which is determined by the weighted average 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 full chunk (32x32 tiles) composed of the same floor tiles per tick.
Following numbers are the pollution reduction for a single tile per second.
{| class="wikitable"
{| class="wikitable"
! Tile !! Pollution per tick !! Pollution per second
! Tile !! Pollution per second !! Absorption rating
|-
|Grass 1-4 || -0.00045|| -0.027
|-
|-
|Dirt 1|| -0.0004|| -0.024
| Grass 1-4 || -0.0000075 || 10
|-
|-
|Dirt 2-7 || -0.00045|| -0.027
| Dirt 1-7, dry dirt || -0.0000066 || 9
|-
|-
|Dry dirt || -0.00039|| -0.0234
| Red desert 0-3 || -0.0000066 || 9
|-
|-
|Sand 1-3 || -0.00039|| -0.0234
| Sand 1-3 || -0.0000058 || 8
|-
|-
|Red desert 0 || -0.00045|| -0.027
| Water, green water, deep water, deep green water, shallow water, mud water  || -0.000005 || 7
|-
|-
|Red desert 1-3 || -0.0004|| -0.024
| Nuclear ground || -0.0000025 || 3
|-
|-
|Water, Green water, Deep water, Deep green water || -0.0003 || -0.018
| Path tiles (Stone bricks, concrete etc), landfill || 0 || 0
|-
|-
|Path tiles (Stone bricks, concrete etc) || 0.0 || 0.0
| Special tiles (Lab tiles, tutorial grid, Water Wube) || 0 || 0
|-
|-
|Special tiles (Lab tiles, out of map, tutorial grid) || -0.0006 || -0.036
| Out of map || -0.00001 || 13
|-
|-
|}
|}


==== Trees ====
==== Trees ====
Every single tree absorbs a small amount of pollution in its chunk per tick if the total pollution in that chunk is above 3500 units. By absorbing pollution, trees lose their leaves for every 500 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"
! Object !! Stage !! Pollution per tick !! Pollution per second
! Object !! Stage !! Pollution per second
|-
|-
| rowspan="4" | [[File:Green tree.png|120px]] Tree, red tree, brown tree || 0 (Max leaf density) || -0.001 || -0.06
| rowspan="4" | [[File:Green tree.png|120px]] Tree, red tree, brown tree || 0 (Max leaf density) || -0.001
|-
|-
| 1 || -0.00067 || -0.04
| 1 || -0.00067
|-
|-
| 2 || -0.00033 || -0.02
| 2 || -0.00033
|-
|-
| 3 (Min leaf density) || 0 || 0
| 3 (Min leaf density) || 0
|-
|-
| [[File:Dead dry hairy tree.png|120px]] Dead dry hairy tree || No stages || -0.0001 || -0.006
| [[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 || -0.006
| [[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 || -0.006
| [[File:Dead tree desert.png|120px]] Dead tree - desert|| No stages || -0.0001
|-
|-
| [[File:Dry hairy tree.png|120px]] Dry hairy tree || No stages || -0.0001 || -0.006
| [[File:Dry hairy tree.png|120px]] Dry hairy tree || No stages || -0.0001
|-
|-
| [[File:Dry tree.png|120px]] Dry tree || No stages || -0.0001 || -0.006
| [[File:Dry tree.png|120px]] Dry tree || No stages || -0.0001
|-
|-
|}
|}
Line 161: Line 162:


== History ==
== 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|
{{history|0.13.2|

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