Apply setting for progressive belt recipes to lab
This commit is contained in:
parent
545b915a79
commit
328dfba605
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue