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