Air Scrubbing


Adds air scrubbing to remove pollution and spores.

Content
5 months ago
2.0
11.5K
Enemies Manufacturing

g Filter requires Carbon

8 months ago
(updated 8 months ago)

Hey,

I don't know why but the filters requires Carbon instead of coal. The strange thing is, if I remove the coal in the recipe the carbon is still there but it replaces the plastic.

If I remove plastic it replaces the steel.

ingredients = {
{ type = "item", name = "steel-plate", amount = 1 }
}

For now I added the filters to the building as output

results = {
{ type = "item", name = "atan-air-scrubber", amount = 1 },
{ type = "item", name = "atan-pollution-filter", amount = 1000 },
},

but that is kinda cheating but I dont want to build everytime a building to get just 1 filter.

The problem remains even if I remove all other mods. Just Vanilla + Air Scrubbing.

8 months ago

When Space Age is present, coal in the filter recipe is replaced with carbon. This is intended and documented on the mod information page. With Space Age (assuming starting on Nauvis), the pollution scrubbing technology requires space platform to ensure that the player does have access to carbon before filters can be made.

For info, when Space Age is present, the mod executes: data.raw["recipe"]["atan-pollution-filter"].ingredients[1].name = "carbon". ingredients[2] is steel-plate and ingredients[3] is plastic-bar. You can see all the Space Age specific code in the compatibility/space-age and compatibility/any-planet-start directories.

8 months ago

My bad, I am sorry. I havent read that. Thank you very much for the response.

New response