This commit is contained in:
Brevven 2023-01-16 19:05:17 -08:00
parent 7f61825b87
commit 740ba5a5ae
2 changed files with 5 additions and 12 deletions

View file

@ -1,10 +1,10 @@
---------------------------------------------------------------------------------------------------
Version: 0.11.8
Date: 2023-01-15
Date: 2023-01-17
Fixes:
- Add optional depenency on aai-industry to fix some mod load order discrepancies
Features:
- Support for Crafting Efficieny mod
- (Beta) Support for Crafting Efficieny mod
---------------------------------------------------------------------------------------------------
Version: 0.11.7
Date: 2023-01-01

View file

@ -2,21 +2,14 @@ local util = require("data-util");
if mods["crafting-efficiency-2"] then
local recipes = util.me.recipes
local eff_data = {
-- ["synthetic-diamond"] = {
-- max = 15,
-- icon = data.raw.item["diamond"].icon,
-- crafting = { efficiency = 10 },
-- research = { level = 6 },
-- },
}
for i, recipe in pairs(recipes) do
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] 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,
icon = data.raw.item[recipe].icon,
crafting = { efficiency = 10 },