Improve progressive belt recipes

This commit is contained in:
Simon Brodtmann 2025-02-14 23:17:26 +01:00
parent eef791aad3
commit d64036a13a

View file

@ -1,4 +1,5 @@
local Technology = require("__cf-lib__/data/Technology")
local Recipe = require("__cf-lib__/data/Recipe")
-- Burner mining drill
@ -125,18 +126,9 @@ data.raw.recipe["transport-belt"].enabled = false
-- Progressive recipes
if settings.startup["lignumis-belt-progression"].value then
table.insert(
data.raw.recipe["transport-belt"].ingredients,
{ type = "item", name = "wood-transport-belt", amount = 2 }
)
table.insert(
data.raw.recipe["underground-belt"].ingredients,
{ type = "item", name = "wood-underground-belt", amount = 2 }
)
table.insert(
data.raw.recipe["splitter"].ingredients,
{ type = "item", name = "wood-splitter", amount = 1 }
)
Recipe:new("transport-belt"):replaceIngredient("iron-plate", "wood-transport-belt", 2)
Recipe:new("underground-belt"):replaceIngredient("transport-belt", "wood-underground-belt", 2)
Recipe:new("splitter"):replaceIngredient("transport-belt", "wood-splitter", 1)
end
if settings.startup["lignumis-inserter-progression"].value then