fix
This commit is contained in:
parent
e8a99ed17c
commit
ea0a7e1981
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ if mods["crafting-efficiency-2"] then
|
||||||
if data.raw.recipe[recipe] and (data.raw.item[recipe] or data.raw.fluid[recipe])
|
if data.raw.recipe[recipe] and (data.raw.item[recipe] or data.raw.fluid[recipe])
|
||||||
and not eff_data[recipe] and
|
and not eff_data[recipe] and
|
||||||
recipe ~= "alumina" and -- for some reason this does not work, despite having a main_product
|
recipe ~= "alumina" and -- for some reason this does not work, despite having a main_product
|
||||||
|
recipe ~= "phenol" and -- for some reason this does not work, despite having a main_product
|
||||||
|
"enriched-" ~= string.sub(recipe, 1, string.len("enriched-")) and
|
||||||
(data.raw.recipe[recipe].main_product or util.get_result_count(recipe) == 1) then
|
(data.raw.recipe[recipe].main_product or util.get_result_count(recipe) == 1) then
|
||||||
eff_data[recipe] = {
|
eff_data[recipe] = {
|
||||||
max = 15,
|
max = 15,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue