How about washing with sulfuric acid, 3 for plates/gears/sticks, 9 for engine? (+ water to rinse of the newly formed salts). (Yes i know, it,s not the best acid for rust removal, but it's what we got)
Code by AI, since i don't know how to code:
local derusting_material = "sulfuric-acid"
local base_game = not mods["aai-industry"]
--== Derusting recipes ==--
data:extend({
{
type = "recipe",
name = "rocs-rusting-iron-iron-plate-derusting",
-- ... other properties ...
ingredients = {
{ type = "item", name = "rocs-rusting-iron-iron-plate-rusty", amount = 1, ignored_by_stats = 1 },
{ type = "fluid", name = derusting_material, amount = 3 },
{ type = "fluid", name = "water", amount = 100 },
},
category = "chemistry",
-- ... rest of the recipe ...
},
{
type = "recipe",
name = "rocs-rusting-iron-iron-gear-wheel-derusting",
-- ... other properties ...
ingredients = {
{ type = "item", name = "rocs-rusting-iron-iron-gear-wheel-rusty", amount = 1, ignored_by_stats = 1 },
{ type = "fluid", name = derusting_material, amount = 3 },
{ type = "fluid", name = "water", amount = 100 },
},
category = "chemistry",
-- ... rest of the recipe ...
},
{
type = "recipe",
name = "rocs-rusting-iron-iron-stick-derusting",
-- ... other properties ...
ingredients = {
{ type = "item", name = "rocs-rusting-iron-iron-stick-rusty", amount = 1, ignored_by_stats = 1 },
{ type = "fluid", name = derusting_material, amount = 3 },
{ type = "fluid", name = "water", amount = 100 },
},
category = "chemistry",
-- ... rest of the recipe ...
},
})
if settings.startup["rocs-rusting-iron-engines-rust"].value then
data:extend({
{
type = "recipe",
name = base_game and "rocs-rusting-iron-engine-unit-derusting" or "rocs-rusting-iron-motor-derusting",
-- ... other properties ...
ingredients = {
{
type = "item",
name = base_game and "rocs-rusting-iron-engine-unit-rusty" or "rocs-rusting-iron-motor-rusty",
amount = 1,
ignored_by_stats = 1,
},
{ type = "fluid", name = derusting_material, amount = 9 },
{ type = "fluid", name = "water", amount = 300 },
},
category = "chemistry",
-- ... rest of the recipe ...
},
})
end