forked from cacklingfiend/lignumis
Add setting for assembler recipe progression and move some lumber mill recipes to a setting
This commit is contained in:
parent
1b622ffa05
commit
34d3b4a1a5
6 changed files with 41 additions and 12 deletions
|
|
@ -41,12 +41,14 @@ burner_inserter.energy_source.initial_fuel_percent = 0.15
|
|||
|
||||
data.raw.item["burner-inserter"].icon = Lignumis.graphics .. "icons/burner-inserter.png"
|
||||
|
||||
local burner_inesrter_recipe = data.raw.recipe["burner-inserter"]
|
||||
burner_inesrter_recipe.ingredients = {
|
||||
local burner_inserter_recipe = data.raw.recipe["burner-inserter"]
|
||||
burner_inserter_recipe.ingredients = {
|
||||
{ type = "item", name = "wooden-gear-wheel", amount = 1 },
|
||||
{ type = "item", name = "lumber", amount = 1 }
|
||||
}
|
||||
burner_inesrter_recipe.category = "wood-processing-or-assembling"
|
||||
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
|
||||
burner_inserter_recipe.category = "wood-processing-or-assembling"
|
||||
end
|
||||
|
||||
|
||||
-- Stone furnace
|
||||
|
|
@ -149,10 +151,11 @@ if settings.startup["lignumis-belt-progression"].value then
|
|||
end
|
||||
|
||||
if settings.startup["lignumis-inserter-progression"].value then
|
||||
table.insert(
|
||||
data.raw.recipe["inserter"].ingredients,
|
||||
{ type = "item", name = "burner-inserter", amount = 1 }
|
||||
)
|
||||
Recipe:new("inserter"):addIngredient("burner-inserter", 1)
|
||||
end
|
||||
|
||||
if settings.startup["lignumis-assembler-progression"].value then
|
||||
Recipe:new("assembling-machine-1"):addIngredient("burner-assembling-machine", 1)
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue