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

@ -24,6 +24,10 @@ if bzutil.me.use_fullerenes() then
result = "se-aeroframe-scaffold", result = "se-aeroframe-scaffold",
result_count = 2, result_count = 2,
}, },
})
bzutil.add_effect("se-aeroframe-scaffold", {type="unlock-recipe", recipe="aeroframe-scaffold-nanotubes"})
data:extend({
{ {
type = "recipe", type = "recipe",
name = "nanomaterial-nanotubes", name = "nanomaterial-nanotubes",
@ -46,7 +50,6 @@ if bzutil.me.use_fullerenes() then
} }
}) })
bzutil.add_to_product("nanomaterial-nanotubes", "se-nanomaterial", 16) bzutil.add_to_product("nanomaterial-nanotubes", "se-nanomaterial", 16)
bzutil.add_effect("nanotubes", {type="unlock-recipe", recipe="aeroframe-scaffold-nanotubes"})
bzutil.add_effect("se-nanomaterial", {type="unlock-recipe", recipe="nanomaterial-nanotubes"}) bzutil.add_effect("se-nanomaterial", {type="unlock-recipe", recipe="nanomaterial-nanotubes"})
-- core mining balancing -- core mining balancing

View file

@ -36,8 +36,8 @@ if util.me.use_fullerenes() then
-- SE -- SE
util.add_ingredient("se-vitalic-reagent", "fullerenes", 4) util.add_ingredient("se-vitalic-reagent", "fullerenes", 4)
util.add_ingredient("se-medpack-2", "fullerenes", 100) util.add_ingredient("se-medpack-2", "fullerenes", 100)
util.add_ingredient("se-nutrient-gel", "fullerene", 5) util.add_ingredient("se-nutrient-gel", "fullerenes", 5)
util.add_ingredient("se-nutrient-gel-coal", "fullerene", 5) util.add_ingredient("se-nutrient-gel-coal", "fullerenes", 5)
end end
@ -63,7 +63,6 @@ if util.me.use_carbon_black() then
end end
util.replace_some_ingredient("electronic-circuit", "copper-cable", 1, "graphite", 1)
util.add_ingredient("battery", "graphite", 1) util.add_ingredient("battery", "graphite", 1)
util.add_ingredient("pump", "graphite", 2) util.add_ingredient("pump", "graphite", 2)
@ -83,6 +82,7 @@ else
end end
util.add_ingredient("assembling-machine-3", "diamond", 4) util.add_ingredient("assembling-machine-3", "diamond", 4)
util.add_ingredient("low-density-structure", "diamond", 1) util.add_ingredient("low-density-structure", "diamond", 1)
util.add_ingredient("se-low-density-structure-beryllium", "diamond", 1)
util.add_ingredient("laser-turret", "diamond", 1) util.add_ingredient("laser-turret", "diamond", 1)
if mods.Krastorio2 then if mods.Krastorio2 then
@ -93,9 +93,15 @@ elseif mods.bzfoundry then
util.replace_some_ingredient("tungsten-carbide", "tungsten-plate", 1, "graphite", 1) util.replace_some_ingredient("tungsten-carbide", "tungsten-plate", 1, "graphite", 1)
end end
util.multiply_recipe("lubricant", 2) if not mods.Krastorio2 then
util.multiply_recipe("lubricant", 2)
end
util.replace_some_ingredient("lubricant", "heavy-oil", 10, "graphite", 1) util.replace_some_ingredient("lubricant", "heavy-oil", 10, "graphite", 1)
-- SE Lubricant
util.multiply_recipe("se-cryonite-lubricant", 2)
util.replace_some_ingredient("se-cryonite-lubricant", "se-cryonite-slush", 10, "graphite", 1)
util.add_ingredient("nuclear-reactor", "graphite", 500) util.add_ingredient("nuclear-reactor", "graphite", 500)
util.add_ingredient("power-armor-mk2", "graphene", 30) util.add_ingredient("power-armor-mk2", "graphene", 30)

View file

@ -2,8 +2,10 @@
Version: 0.0.4 Version: 0.0.4
Date: 2022-01-01 Date: 2022-01-01
Changes: Changes:
- SE: More facility recipes - SE: More facility recipes, Nutrient gel, LDS diamonds, alt lube, unlocks
SE: Nutrient gel - K2 green circuit fix
- AAI green circuit fix
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.0.3 Version: 0.0.3
Date: 2021-12-31 Date: 2021-12-31

View file

@ -6,6 +6,13 @@ require("carbon-recipe-modules") -- Should be last import
local util = require("__bzcarbon__.data-util"); 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 -- Only electric smelters can make Diamonds
function diamondsInElectricSmelter(entity) function diamondsInElectricSmelter(entity)
if entity.energy_source.type == "electric" then if entity.energy_source.type == "electric" then