Air filtering (Corey's Fork) DEPRECIATED deprecated


Forked version of Schorty's Air Filtering mod with rebalanced stats and recipes, find the original here: https://mods.factorio.com/mod/air-filtering See the full list of my changes in the changelog!

Content
12 days ago
2.0 - 2.1
110
Manufacturing

b AdvancedAsembler (Solved)

12 days ago

Problem with Advanced Assembler in prototypes/recipe.lua

Error, loading Mods: Error while loading recipe prototype unused-air-filter (recipe): In RecipePrototype, category and additional_categories got merged into categories table. Please use that instead. Modifications: Air filtering (Corey s Fork) Advanced Assembler

All instances of category = "..." have been converted to the new table format categories = {"..."}, which is required by Factorio.

Error, loading Mods: Error while loading recipe prototype "air-filter-cleaning" (recipe): 'probability' property on a product prototype was renamed into 'independent_probability'. Please update. in property tree at ROOT.recipe.air-filter-cleaning.results[0]
Modifications: Air filtering (Corey's Fork) › Advanced Assembler

Here is the corrected script. Factorio has also renamed the probability property in product definitions to independent_probability.

data:extend({
{
type = "recipe-category",
name = "crafting-air-filter"
},
{
type = "recipe",
name = "air-filter-machine",
icon = "air-filtering-forked/graphics/icons/air-filter-machine.png",
icon_size = 32,
energy_required = 10.0,
enabled = false,
ingredients =
{
{type="item", name="assembling-machine-2", amount=1},
{type="item", name="electronic-circuit", amount=5},
{type="item", name="steel-plate", amount=10}
},
results = {{type="item", name="air-filter-machine", amount=1}}
},
{
type = "recipe",
name = "air-filter-machine-mk2",
icon = "air-filtering-forked/graphics/icons/air-filter-machine-mk2.png",
icon_size = 32,
energy_required = 10.0,
enabled = false,
ingredients =
{
{type="item", name="air-filter-machine", amount=2},
{type="item", name="advanced-circuit", amount=10}
},
results = {{type="item", name="air-filter-machine-mk2", amount=1}}
},
{
type = "recipe",
name = "air-filter-machine-mk3",
icon = "air-filtering-forked/graphics/icons/air-filter-machine-mk3.png",
icon_size = 32,
energy_required = 10.0,
enabled = false,
ingredients =
{
{type="item", name="air-filter-machine-mk2", amount=2},
{type="item", name="processing-unit", amount=10}
},
results = {{type="item", name="air-filter-machine-mk3", amount=1}}
},
{
type = "recipe",
name = "unused-air-filter",
icon = "air-filtering-forked/graphics/icons/unused-air-filter.png",
icon_size = 32,
categories = {"crafting"},
subgroup = "intermediate-product",
order = "f[plastic-bar]-f[unused-air-filter]",
energy_required = 5,
enabled = false,
ingredients =
{
{type="item", name="wood", amount=100},
{type="item", name="plastic-bar", amount=4},
{type="item", name="steel-plate", amount=2}
},
results = {{type="item", name="unused-air-filter", amount=1}}
},
{
type = "recipe",
name = "filter-air",
icon = "air-filtering-forked/graphics/icons/filter-air.png",
icon_size = 32,
categories = {"crafting-air-filter"},
order = "f[plastic-bar]-f[filter-air]",
energy_required = 100,
enabled = false,
ingredients =
{
{type="item", name="unused-air-filter", amount=1}
},
results = {{type="item", name="used-air-filter", amount=1}}
},
{
type = "recipe",
name = "air-filter-cleaning",
icon = "air-filtering-forked/graphics/icons/air-filter-recycling.png",
icon_size = 32,
categories = {"crafting-with-fluid"},
subgroup = "intermediate-product",
order = "f[unused-air-filter]-f[air-filter-cleaning]",
energy_required = 5,
enabled = false,
ingredients =
{
{type="item", name="used-air-filter", amount=1},
{type="fluid", name="water", amount=100},
},
results =
{
{
type="item",
name="unused-air-filter",
amount=1,
independent_probability = 0.9,
ignored_by_productivity = 1,
},
{
type="fluid",
name="sulfuric-acid",
amount=10,
},
},
}
})

12 days ago

Thanks for the help, kinda annoying when stuff like this happens from a major update.