Remove alternative recipes from calculations for "total raw"

This commit is contained in:
Simon Brodtmann 2026-01-04 01:37:54 +01:00
parent a3a6d096f5
commit 9255ce7127

View file

@ -100,11 +100,11 @@ data:extend({
{ {
type = "recipe", type = "recipe",
name = "plastic-from-cupriavidus-necator", name = "plastic-from-cupriavidus-necator",
category = "organic-or-chemistry",
icons = { icons = {
{ icon = "__base__/graphics/icons/plastic-bar.png" }, { icon = "__base__/graphics/icons/plastic-bar.png" },
{ icon = Lignumis.graphics .. "icons/cupriavidus-necator-1.png", scale = 0.25, shift = { 8, 8 } } { icon = Lignumis.graphics .. "icons/cupriavidus-necator-1.png", scale = 0.25, shift = { 8, 8 } }
}, },
category = "organic-or-chemistry",
energy_required = 12.8, energy_required = 12.8,
enabled = false, enabled = false,
auto_recycle = false, auto_recycle = false,
@ -122,16 +122,17 @@ data:extend({
enabled = false, enabled = false,
subgroup = "lignumis-bioprocessing", subgroup = "lignumis-bioprocessing",
order = "0[lignumis]-d1[plastic]", order = "0[lignumis]-d1[plastic]",
allow_productivity = true allow_productivity = true,
allow_decomposition = false
}, },
{ {
type = "recipe", type = "recipe",
name = "plastic-from-dead-cupriavidus-necator", name = "plastic-from-dead-cupriavidus-necator",
category = "organic-or-chemistry",
icons = { icons = {
{ icon = "__base__/graphics/icons/plastic-bar.png" }, { icon = "__base__/graphics/icons/plastic-bar.png" },
{ icon = Lignumis.graphics .. "icons/dead-cupriavidus-necator-1.png", scale = 0.25, shift = { 8, 8 } } { icon = Lignumis.graphics .. "icons/dead-cupriavidus-necator-1.png", scale = 0.25, shift = { 8, 8 } }
}, },
category = "organic-or-chemistry",
energy_required = 12.8, energy_required = 12.8,
enabled = false, enabled = false,
auto_recycle = false, auto_recycle = false,
@ -149,11 +150,16 @@ data:extend({
enabled = false, enabled = false,
subgroup = "lignumis-bioprocessing", subgroup = "lignumis-bioprocessing",
order = "0[lignumis]-d2[plastic]", order = "0[lignumis]-d2[plastic]",
allow_productivity = true allow_productivity = true,
allow_decomposition = false
}, },
{ {
type = "recipe", type = "recipe",
name = "low-density-structure-gold", name = "low-density-structure-gold",
icons = {
{ icon = "__base__/graphics/icons/low-density-structure.png" },
{ icon = Lignumis.graphics .. "icons/gold-plate.png", scale = 0.25, shift = { 8, 8 } }
},
category = "crafting", category = "crafting",
energy_required = 15, energy_required = 15,
enabled = false, enabled = false,
@ -165,14 +171,15 @@ data:extend({
}, },
results = { { type = "item", name = "low-density-structure", amount = 2 } }, results = { { type = "item", name = "low-density-structure", amount = 2 } },
allow_productivity = true, allow_productivity = true,
icons = { allow_decomposition = false
{ icon = "__base__/graphics/icons/low-density-structure.png" },
{ icon = Lignumis.graphics .. "icons/gold-plate.png", scale = 0.25, shift = { 8, 8 } }
}
}, },
{ {
type = "recipe", type = "recipe",
name = "nutrients-from-wood-pulp", name = "nutrients-from-wood-pulp",
icons = {
{ icon = "__space-age__/graphics/icons/nutrients.png" },
{ icon = "__base__/graphics/icons/wood.png", scale = 0.25, shift = { 8, 8 } }
},
category = "organic-or-chemistry", category = "organic-or-chemistry",
energy_required = 1, energy_required = 1,
enabled = false, enabled = false,
@ -181,36 +188,33 @@ data:extend({
results = { { type = "item", name = "nutrients", amount = 5 } }, results = { { type = "item", name = "nutrients", amount = 5 } },
allow_productivity = true, allow_productivity = true,
subgroup = "lignumis-bioprocessing", subgroup = "lignumis-bioprocessing",
icons = {
{ icon = "__space-age__/graphics/icons/nutrients.png" },
{ icon = "__base__/graphics/icons/wood.png", scale = 0.25, shift = { 8, 8 } }
},
order = "0[lignumis]-a[nutrients]", order = "0[lignumis]-a[nutrients]",
}, },
{ {
type = "recipe", type = "recipe",
name = "rocket-fuel-from-wood-pulp-and-peat", name = "rocket-fuel-from-wood-pulp-and-peat",
energy_required = 15,
enabled = false,
auto_recycle = false,
category = "crafting-with-fluid",
ingredients =
{
{ type = "item", name = "peat", amount = 9 },
{ type = "fluid", name = "wood-pulp", amount = 45 }
},
results = { { type = "item", name = "rocket-fuel", amount = 1 } },
crafting_machine_tint =
{
primary = { r = 1.0, g = 0.7, b = 0.0, a = 1.000 },
secondary = { r = 1.0, g = 0.7, b = 0.0, a = 1.000 },
},
allow_productivity = true,
icons = { icons = {
{ icon = "__base__/graphics/icons/rocket-fuel.png" }, { icon = "__base__/graphics/icons/rocket-fuel.png" },
{ icon = Lignumis.graphics .. "icons/peat.png", scale = 0.25, shift = { 8, 8 } }, { icon = Lignumis.graphics .. "icons/peat.png", scale = 0.25, shift = { 8, 8 } },
{ icon = Lignumis.graphics .. "icons/wood-pulp.png", scale = 0.25, shift = { 8, 8 } } { icon = Lignumis.graphics .. "icons/wood-pulp.png", scale = 0.25, shift = { 8, 8 } }
}, },
category = "crafting-with-fluid",
energy_required = 15,
enabled = false,
auto_recycle = false,
ingredients =
{
{ type = "item", name = "peat", amount = 9 },
{ type = "fluid", name = "wood-pulp", amount = 45 }
},
results = { { type = "item", name = "rocket-fuel", amount = 1 } },
crafting_machine_tint =
{
primary = { r = 1.0, g = 0.7, b = 0.0, a = 1.000 },
secondary = { r = 1.0, g = 0.7, b = 0.0, a = 1.000 },
},
allow_productivity = true,
allow_decomposition = false,
subgroup = "lignumis-bioprocessing", subgroup = "lignumis-bioprocessing",
order = "0[lignumis]-e[rocket-fuel]", order = "0[lignumis]-e[rocket-fuel]",
} }
@ -221,6 +225,10 @@ if settings.startup["lignumis-basic-circuit-board"].value then
{ {
type = "recipe", type = "recipe",
name = "processing-unit-gold", name = "processing-unit-gold",
icons = {
{ icon = "__base__/graphics/icons/processing-unit.png" },
{ icon = Lignumis.graphics .. "icons/gold-cable.png", scale = 0.25, shift = { 8, 8 } }
},
category = "crafting-with-steam", category = "crafting-with-steam",
additional_categories = { "electromagnetics" }, additional_categories = { "electromagnetics" },
enabled = false, enabled = false,
@ -235,10 +243,7 @@ if settings.startup["lignumis-basic-circuit-board"].value then
}, },
results = { { type = "item", name = "processing-unit", amount = 1 } }, results = { { type = "item", name = "processing-unit", amount = 1 } },
allow_productivity = true, allow_productivity = true,
icons = { allow_decomposition = false
{ icon = "__base__/graphics/icons/processing-unit.png" },
{ icon = Lignumis.graphics .. "icons/gold-cable.png", scale = 0.25, shift = { 8, 8 } }
}
} }
}) })
Technology:new("processing-unit"):addRecipe("processing-unit-gold") Technology:new("processing-unit"):addRecipe("processing-unit-gold")