Apply setting for progressive belt recipes to lab

This commit is contained in:
Simon Brodtmann 2025-02-04 14:49:46 +01:00
parent 545b915a79
commit 328dfba605

View file

@ -55,10 +55,12 @@ stone_furnace_remnants.animation[1].filename = "__lignumis__/graphics/entity/sto
-- Lab -- Lab
local lab_recipe = data.raw.recipe["lab"] if settings.startup["lignumis-belt-progression"].value then
for _, ingredient in pairs(lab_recipe.ingredients) do local lab_recipe = data.raw.recipe["lab"]
if ingredient.name == "transport-belt" then for _, ingredient in pairs(lab_recipe.ingredients) do
ingredient.name = "wood-transport-belt" if ingredient.name == "transport-belt" then
ingredient.name = "wood-transport-belt"
end
end end
end end