This commit is contained in:
Brevven 2023-01-16 19:06:39 -08:00
parent ff4dd82f2c
commit dd404b8a12
2 changed files with 3 additions and 1 deletions

View file

@ -407,6 +407,7 @@ data:extend({
{
type = "recipe",
name = "nanotubes",
main_product = "nanotubes",
icon = "__bzcarbon__/graphics/icons/nanotube.png",
icon_size = 128,
category = "chemistry",

View file

@ -20,7 +20,8 @@ if mods["crafting-efficiency-2"] then
for i, recipe in pairs(recipes) do
-- add remaining recipes with direct items to find the icons
if data.raw.recipe[recipe] and data.raw.item[recipe] and not eff_data[recipe] then
if data.raw.recipe[recipe] and data.raw.item[recipe] and not eff_data[recipe] and
(data.raw.recipe[recipe].main_product or util.get_result_count(recipe) == 1) then
eff_data[recipe] = {
name = recipe.." efficiency",
max = 15,