update
This commit is contained in:
parent
ff4dd82f2c
commit
dd404b8a12
2 changed files with 3 additions and 1 deletions
|
|
@ -407,6 +407,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "nanotubes",
|
name = "nanotubes",
|
||||||
|
main_product = "nanotubes",
|
||||||
icon = "__bzcarbon__/graphics/icons/nanotube.png",
|
icon = "__bzcarbon__/graphics/icons/nanotube.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
category = "chemistry",
|
category = "chemistry",
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@ if mods["crafting-efficiency-2"] then
|
||||||
|
|
||||||
for i, recipe in pairs(recipes) do
|
for i, recipe in pairs(recipes) do
|
||||||
-- add remaining recipes with direct items to find the icons
|
-- 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] = {
|
eff_data[recipe] = {
|
||||||
name = recipe.." efficiency",
|
name = recipe.." efficiency",
|
||||||
max = 15,
|
max = 15,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue