User:Abdiel Kavash/Pollution: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Many machines in GregTech generate pollution while running. If left unchecked, pollution can cause various negative effects, such as affecting players with debuffs, destroying plant life, or even damaging blocks. Fortunately, pollution dissipates over time, and there are several machines that can clean up pollution at a much faster rate. |
Many machines in GregTech generate pollution while running. If left unchecked, pollution can cause various negative effects, such as affecting players with debuffs, destroying plant life, or even damaging blocks. Fortunately, pollution dissipates over time, and there are several machines that can clean up pollution at a much faster rate. |
||
== Basics == |
== Basics == |
||
Pollution is a chunk-based effect. Every Minecraft [https://minecraft.fandom.com/wiki/Chunk chunk] has an associated pollution amount, measured in units called ''gibbl''. This means that every block in the same chunk is affected by pollution equally |
Pollution is a chunk-based effect. Every Minecraft [https://minecraft.fandom.com/wiki/Chunk chunk] has an associated pollution amount, measured in units called ''gibbl''. This means that every block in the same chunk is affected by pollution equally. It also does not matter where in the chunk pollution-generating machines are. Specifically, there is no difference between having your machines out in an open field, or hidden in a closed-off cave. They will all contribute to the pollution in their chunk in the same way. |
||
If pollution in a chunk becomes too high, it will slowly spread to the four adjacent chunks. Pollution also slowly [[#Natural Dissipation|dissipates]] over time by itself. |
If pollution in a chunk becomes too high, it will slowly spread to the four adjacent chunks. Pollution also slowly [[#Natural Dissipation|dissipates]] over time by itself. |
||
Pollution works the same in every dimension, including the Nether, space, and personal dimensions. However, there is no way for pollution to spread from one dimension to another. |
|||
== Generating Pollution == |
== Generating Pollution == |
||
Line 12: | Line 13: | ||
[[File:Bricked Blast Furnace tooltip.png|thumb|right|alt=Tooltip of a Bricked Blast Furnace, showing that it causes 200 pollution per second.|A Bricked Blast Furnace causes 200 pollution per second.]] |
[[File:Bricked Blast Furnace tooltip.png|thumb|right|alt=Tooltip of a Bricked Blast Furnace, showing that it causes 200 pollution per second.|A Bricked Blast Furnace causes 200 pollution per second.]] |
||
The most common sources of pollution are running machines. Machines which cause pollution usually display the generated amount in their tooltip |
The most common sources of pollution are running machines. Machines which cause pollution usually display the generated amount in their tooltip (see picture). |
||
Note, however, that some machines do not list the amount this way; and for some machines the amount of pollution generated is not a fixed value, but depends on the settings or process that is currently being run. As a safe rule of thumb, if a multiblock structure includes a muffler hatch, it will cause some pollution. |
Note, however, that some machines do not list the amount this way; and for some machines the amount of pollution generated is not a fixed value, but depends on the settings or process that is currently being run. As a safe rule of thumb, if a multiblock structure includes a muffler hatch, it will cause some pollution. |
||
Machines only generate pollution while running. Overclocking a machine to make it run faster does not |
Machines only generate pollution while running. Overclocking a machine to make it run faster does not make the machine generate more pollution. |
||
Other sources of pollution include machine explosions (due to overvolting, fire, or otherwise), which generate a huge amount of pollution at once (millions of gibbl). [[Rockets|Rocket]] launches also cause a large amount of pollution, see the tooltip of the rocket for details. |
|||
== Measuring Pollution == |
== Measuring Pollution == |
||
Line 25: | Line 26: | ||
[[File:Nuclear Control Pollution Device.png|200px|thumb|right|alt=Nuclear Control information panel displaying info from a Pollution Detection Device.|Information Panel displaying the amount of pollution in a chunk.]] |
[[File:Nuclear Control Pollution Device.png|200px|thumb|right|alt=Nuclear Control information panel displaying info from a Pollution Detection Device.|Information Panel displaying the amount of pollution in a chunk.]] |
||
Pollution can be measured by a ''Pollution Detection Device'', which can be crafted in LV. |
Pollution can be measured by a ''Pollution Detection Device'' (PDD), which can be crafted in LV. Place the device down and right-click it, and it will write the amount of pollution in the current chunk in the in-game chat. The PDD does not need power. |
||
The PDD can also output a redstone signal when the amount of pollution exceeds some specified value. You can use this to automatically turn off your heavily polluting machinery, or to sound an alarm when pollution gets too bad. Right-click the front face of the PDD with a GT screwdriver to configure the threshold. Click the left half of the face (with a '''-''' sign) to lower the threshold, click the right half (with a '''+''' sign) to increase it. Click the top half of the face to modify the threshold by 5,000; click the bottom half to modify it by 50,000. You will see a message in chat when you do this correctly. |
|||
Finally, you can also connect |
Finally, you can also connect the device to a [https://www.curseforge.com/minecraft/mc-mods/nuclear-control-2 Nuclear Control] Information Panel using the ''GregTech Sensor Kit''. |
||
In MV, |
In MV, you can craft the hand-held ''Portable Scanner'', which can also give the amount of pollution in the current chunk in chat when right-clicked. This is much more convenient than carrying the PDD around, and the scanner has many other uses as well. |
||
== Pollution Effects == |
== Pollution Effects == |
||
As the amount of pollution in a chunk increases, it will begin causing more and more severe effects on players and the environment. All of the following effects stack, so a chunk with high levels of pollution will be able to cause all of them at the same time. |
|||
Players in a chunk with high levels of pollution will be affected by various negative [[#Pollution Effects|debuffs]], unless they are wearing a full set of armor that provides hazmat protection. These debuffs linger over time, even after the player leaves a polluted chunk. |
|||
=== Smog === |
|||
[[File:Polluted Area.jpg|thumb|right|alt=Picture of a polluted area. Distain terrain is shrouded in grey fog.|Smog in a polluted area.]] |
|||
If the pollution amount in a chunk exceeds 500,000 gibbl, all living entities in this chunk (including players) might get affected by the following debuffs: Weakness, Slowness, or Mining Fatigue. The level and duration of the debuffs scale with the amount of pollution: |
|||
* <code>Level = 1 + (pollution / 400,000)</code>, rounded down. |
|||
* <code>Duration = (pollution / 1,000)</code> ticks, up to a maximum of 1,000 ticks (50 seconds). |
|||
The debuffs last for their full duration, even if the player leaves the polluted chunk. Normal methods of removing debuffs still work on these, such as drinking milk. |
|||
Players wearing a full set of armor which provides hazmat protection do not get afflicted by these debuffs. |
|||
Pollution also creates a visual fog effect, which gets more intense as the pollution levels increase. |
|||
=== Poison === |
|||
If the pollution amount in a chunk exceeds 750,000 gibbl, all living entities in this chunk (including players) might get affected by the following debuffs: Hunger, Nausea, Poison, or Blindness. The level and duration of the debuffs scale with the amount of pollution: |
|||
* Hunger: |
|||
** Level is always 1. |
|||
** <code>Duration = (pollution / 500,000)</code> ticks. This means that unless the pollution levels are extremely high, you will usually not notice the debuff. But it will still drain one point from your hunger bar. |
|||
* Nausea and Blindness: |
|||
** Level is always 2 for both effects. |
|||
** <code>Duration = (pollution / 2,000)</code> ticks, up to a maximum of 1,000 ticks (50 seconds). |
|||
* Poison: |
|||
** <code>Level = 1 + (pollution / 500,000)</code>, rounded down. |
|||
** <code>Duration = (pollution / 4,000)</code> ticks, up to a maximum of 1,000 ticks (50 seconds). |
|||
Players wearing a full set of armor which provides hazmat protection do not get afflicted by these debuffs. |
|||
=== Vegetation Destruction === |
|||
If the pollution amount in a chunk exceeds 1,000,000 gibbl, plant life in the chunk might get destroyed. |
|||
A number of random block coordinates equal to <code>Pollution / 25,000</code> is chosen from the chunk during each "pollution check" (see below). The selection process slightly prioritizes blocks near height <code>y = 60</code>, but any block can be chosen. The details are complicated and not important for this article. |
|||
Then for each of the chosen blocks: |
|||
* Leaf blocks get deleted. |
|||
* Vanilla plants (Wheat, Carrots, Pumpkins, Sugar Canes, Vines, flowers, etc.) get broken and drop as an item. |
|||
* Tall grass and saplings get turned into a Dead Bush. |
|||
* Mossy Cobblestone gets turned into regular Cobblestone. |
|||
* Grass (block) gets turned into Dirt. |
|||
* Dirt and farmland get turned into Sand. |
|||
=== Sour Rain === |
|||
[[File:Heavily Polluted Area.png|thumb|right|alt=Picture of a heavily polluted area. Heavy fog and smoke particles cover the screen.|A very heavily polluted area. Don't let it get this bad!]] |
|||
If the pollution amount in a chunk exceeds 2,000,000 gibbl, and it is currently raining, the block destruction method from above can cause new effects on blocks that are exposed to the open sky: |
|||
* Stone gets turned into Cobblestone. |
|||
* Cobblestone gets turned into Gravel. |
|||
* Gravel gets turned into Sand. |
|||
== Dealing with Pollution == |
== Dealing with Pollution == |
||
=== Natural Dissipation === |
=== Natural Dissipation === |
||
The easiest and laziest way of dealing with pollution is to ignore the problem until it goes away. Pollution in every chunk slowly dissipates on its own. The more pollution there is in a chunk, the faster it dissipates. This means that any running machine will eventually reach an equilibrium where the pollution can dissipate as fast as the machine can produce it. (Although this equilibrium might not be a healthy amount.) |
|||
If pollution in a chunk exceeds 400,000 gibbl, it can also spread to adjacent chunks. This is both good or bad: pollution will affect a larger area, but since the spread moves the pollution around it helps mitigate its impact on the chunk that your machines are in. |
|||
==== Details ==== |
|||
=== Preventing Pollution === |
=== Preventing Pollution === |
||
Line 47: | Line 105: | ||
=== Pollution Scrubbers === |
=== Pollution Scrubbers === |
||
== Commands == |
|||
If you are an admin (op) on a server, or you are playing singleplayer with cheats enabled, you can use the command <code>/gt pollution <amount></code> to modify the amount of pollution in your current chunk. Positive numbers add that number of gibbl to the chunk, negative numbers subtract. |
|||
== Configuration Options == |
== Configuration Options == |
||
Several facets of pollution can be tweaked in <code>.minecraft\config\GregTech.cfg</code> for players who want either an easier or a more punishing experience. You can change the pollution thresholds for smog, poison, vegetation destruction, and sour rain; change how much pollution certain machines generate; or ultimately set <code>B:EnablePollution=false</code> to completely disable the pollution mechanic. Note that this will not remove existing pollution from chunks that already have it, you will need to do that yourself. |