diff --git a/carbon-recipe.lua b/carbon-recipe.lua index 4fc99d6..3fd3fd3 100644 --- a/carbon-recipe.lua +++ b/carbon-recipe.lua @@ -407,6 +407,7 @@ data:extend({ { type = "recipe", name = "nanotubes", + main_product = "nanotubes", icon = "__bzcarbon__/graphics/icons/nanotube.png", icon_size = 128, category = "chemistry", diff --git a/compatibility/crafting-efficiency.lua b/compatibility/crafting-efficiency.lua index e844c62..189987b 100644 --- a/compatibility/crafting-efficiency.lua +++ b/compatibility/crafting-efficiency.lua @@ -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,