22 lines
672 B
Markdown
22 lines
672 B
Markdown
![]() |
Adds the pollutant to the surface properties of all supported planets. This can be used just for the additional information or for surface conditions.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
Internally each pollutant is assigned a unique ID. If you want to add a surface condition for a specific pollutant, use that ID as the only allowed value.
|
||
|
|
||
|
### Example
|
||
|
|
||
|
```lua
|
||
|
{
|
||
|
type = "assembling-machine",
|
||
|
name = "active-noise-cancelling-tower",
|
||
|
surface_conditions = { { property = "pollutant-type", min = 3, max = 3 } }
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### Pollutants
|
||
|
|
||
|
1. Pollution
|
||
|
2. Spores
|
||
|
3. Noise ([Lignumis](https://mods.factorio.com/mod/lignumis))
|
||
|
4. Radiation ([Muluna](https://mods.factorio.com/mod/planet-muluna))
|