From 7bc50df7637c04ed8477a9fbe1b753909fedb824 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 18 Mar 2025 20:36:49 +0100 Subject: [PATCH] Regular lab recipe always uses wood belt --- lignumis/prototypes/integrations/vanilla.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lignumis/prototypes/integrations/vanilla.lua b/lignumis/prototypes/integrations/vanilla.lua index c8bf5a2..d515473 100644 --- a/lignumis/prototypes/integrations/vanilla.lua +++ b/lignumis/prototypes/integrations/vanilla.lua @@ -64,14 +64,7 @@ stone_furnace_remnants.animation[1].filename = Lignumis.graphics .. "entity/ston -- Lab -if settings.startup["lignumis-belt-progression"].value then - local lab_recipe = data.raw.recipe["lab"] - for _, ingredient in pairs(lab_recipe.ingredients) do - if ingredient.name == "transport-belt" then - ingredient.name = "wood-transport-belt" - end - end -end +Recipe:new("lab"):replaceIngredient("transport-belt", "wood-transport-belt") -- Gun turret