This commit is contained in:
Simon Brodtmann 2025-02-18 22:08:50 +01:00
parent ee43ea6454
commit 2a55a25c1d
4 changed files with 6 additions and 4 deletions

View file

@ -19,4 +19,5 @@ Internally each pollutant is assigned a unique ID. If you want to add a surface
1. Pollution 1. Pollution
2. Spores 2. Spores
3. Noise ([Lignumis](https://mods.factorio.com/mod/lignumis)) 3. Noise ([Lignumis](https://mods.factorio.com/mod/lignumis))
4. Radiation ([Muluna](https://mods.factorio.com/mod/planet-muluna)) 4. Radiation ([Muluna](https://mods.factorio.com/mod/planet-muluna))
5. Pain (Ghelmina)

View file

@ -2,7 +2,8 @@ local pollutants = {
["pollution"] = 1, ["pollution"] = 1,
["spores"] = 2, ["spores"] = 2,
["noise"] = 3, ["noise"] = 3,
["radiation"] = 4 ["radiation"] = 4,
["pain"] = 5
} }
for _, planet in pairs(data.raw["planet"]) do for _, planet in pairs(data.raw["planet"]) do

View file

@ -1,6 +1,6 @@
{ {
"name": "pollution-as-surface-property", "name": "pollution-as-surface-property",
"version": "1.0.0", "version": "1.0.1",
"title": "Pollution as surface property", "title": "Pollution as surface property",
"description": "Planets list the pollutant type as surface property and you can use it for surface conditions.", "description": "Planets list the pollutant type as surface property and you can use it for surface conditions.",
"author": "cackling fiend", "author": "cackling fiend",

View file

@ -5,4 +5,4 @@ surface-condition-too-high=__1__ does not fit.
pollutant-type=Pollutant type pollutant-type=Pollutant type
[surface-property-unit] [surface-property-unit]
pollutant-type=__plural_for_parameter__1__{1=Pollution|2=Spores|3=Noise|4=Radiation|rest=-}__ pollutant-type=__plural_for_parameter__1__{1=Pollution|2=Spores|3=Noise|4=Radiation|5=Pain|rest=-}__