SE+K2+Bobs recipe fixes

This commit is contained in:
Brevven 2023-12-29 17:34:46 -08:00
parent fc3a955594
commit 0a946a2c36
3 changed files with 6 additions and 3 deletions

View file

@ -3,8 +3,8 @@ local util = require("data-util");
if util.me.silver() then
if mods.bobelectronics then
-- alternate electronic circuit recipe that uses silver
if mods.bobelectronics or mods.MDbobelectronics then
-- alternate electronic component recipe that uses silver
local ec = futil.table.deepcopy(data.raw.recipe["basic-electronic-components"])
ec.name = "basic-electronic-components-silver"
data:extend({ec})

View file

@ -1,7 +1,7 @@
local util = require("data-util");
if not mods.bobelectronics then
if not (mods.bobelectronics or mods.MDbobelectronics) then
data:extend({
{