se, aai, k2 fixes

This commit is contained in:
Brevven 2022-01-01 00:03:17 -08:00
parent 6a6bbf190e
commit 26069b4fe0
4 changed files with 25 additions and 7 deletions

View file

@ -6,6 +6,13 @@ require("carbon-recipe-modules") -- Should be last import
local util = require("__bzcarbon__.data-util");
-- Green circuits in final fixes due to K2 shenanigans
util.replace_some_ingredient("electronic-circuit", "copper-cable", 1, "graphite", 1)
-- AAI alternate green circuit
util.replace_some_ingredient("electronic-circuit-stone", "copper-cable", 1, "graphite", 1)
-- Only electric smelters can make Diamonds
function diamondsInElectricSmelter(entity)
if entity.energy_source.type == "electric" then