This commit is contained in:
Brevven 2023-01-16 18:03:55 -08:00
parent fb65610ec4
commit a714bc6a01
2 changed files with 5 additions and 3 deletions

View file

@ -1,8 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 0.4.20
Date: 2022-01-15
Date: 2022-01-17
Features:
- Crafting efficiency compatibility
- (Beta) Crafting efficiency compatibility
---------------------------------------------------------------------------------------------------
Version: 0.4.19
Date: 2022-12-30

View file

@ -7,7 +7,9 @@ if mods["crafting-efficiency-2"] then
for i, recipe in pairs(util.me.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] and util.get_result_count(recipe) == 1 then
if data.raw.recipe[recipe] and data.raw.item[recipe] and not eff_data[recipe] and
recipe ~= "alumina" and -- for some reason this does not work, despite having a main_product
(data.raw.recipe[recipe].main_product or util.get_result_count(recipe) == 1) then
eff_data[recipe] = {
max = 15,
icon = data.raw.item[recipe].icon,