forked from cacklingfiend/lignumis
Improve progressive belt recipes
This commit is contained in:
parent
eef791aad3
commit
d64036a13a
1 changed files with 4 additions and 12 deletions
|
@ -1,4 +1,5 @@
|
||||||
local Technology = require("__cf-lib__/data/Technology")
|
local Technology = require("__cf-lib__/data/Technology")
|
||||||
|
local Recipe = require("__cf-lib__/data/Recipe")
|
||||||
|
|
||||||
-- Burner mining drill
|
-- Burner mining drill
|
||||||
|
|
||||||
|
@ -125,18 +126,9 @@ data.raw.recipe["transport-belt"].enabled = false
|
||||||
-- Progressive recipes
|
-- Progressive recipes
|
||||||
|
|
||||||
if settings.startup["lignumis-belt-progression"].value then
|
if settings.startup["lignumis-belt-progression"].value then
|
||||||
table.insert(
|
Recipe:new("transport-belt"):replaceIngredient("iron-plate", "wood-transport-belt", 2)
|
||||||
data.raw.recipe["transport-belt"].ingredients,
|
Recipe:new("underground-belt"):replaceIngredient("transport-belt", "wood-underground-belt", 2)
|
||||||
{ type = "item", name = "wood-transport-belt", amount = 2 }
|
Recipe:new("splitter"):replaceIngredient("transport-belt", "wood-splitter", 1)
|
||||||
)
|
|
||||||
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 }
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup["lignumis-inserter-progression"].value then
|
if settings.startup["lignumis-inserter-progression"].value then
|
||||||
|
|
Loading…
Add table
Reference in a new issue