pollution-as-surface-property/README.md
Simon Brodtmann 2a55a25c1d Add pain
2025-02-18 22:09:41 +01:00

23 lines
No EOL
691 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))
5. Pain (Ghelmina)