Rusting Iron


Bringing a piece of Gleba to everyone. Iron plates, gears, sticks and engines spoil by rusting, then need to be derusted with stone.

Content
5 days ago
2.0
1.02K
Factorio: Space Age Icon Space Age Mod
Manufacturing

g Derusting quality items also needs quality stone

3 months ago

Derusting quality items also needs quality stone. That might be a bit too harsh?

3 months ago

This isn’t something mods can choose to affect right now.

3 months ago

Perhaps we could make a de-rusting solution, as fluids don't have quality attributes?

3 months ago

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

New response