diff --git a/bzgas2/compatibility/electronic-circuit.lua b/bzgas2/compatibility/electronic-circuit.lua index 1dc0e02..65995f0 100644 --- a/bzgas2/compatibility/electronic-circuit.lua +++ b/bzgas2/compatibility/electronic-circuit.lua @@ -27,7 +27,6 @@ if util.me.handcraft() then end local hcec = futil.table.deepcopy(data.raw.recipe["electronic-circuit"]) hcec.name = "electronic-circuit-handcraft-only" - hcec.localized_name = { "item-name.electronic-circuit" } data:extend({hcec}) util.set_icons("electronic-circuit-handcraft-only", { diff --git a/bzgas2/data-final-fixes.lua b/bzgas2/data-final-fixes.lua index dfa6292..b23574f 100644 --- a/bzgas2/data-final-fixes.lua +++ b/bzgas2/data-final-fixes.lua @@ -9,9 +9,9 @@ util.set_product_amount("se-core-fragment-omni", "gas", 24) -- Fix basic chemical plant fuels for K2 if mods.Krastorio2 and - data.raw["assembling-machine"]["basic-chemical-plant"] and - data.raw["assembling-machine"]["basic-chemical-plant"].energy_source and - data.raw["assembling-machine"]["basic-chemical-plant"].energy_source.fuel_categories then +data.raw["assembling-machine"]["basic-chemical-plant"] and +data.raw["assembling-machine"]["basic-chemical-plant"].energy_source and +data.raw["assembling-machine"]["basic-chemical-plant"].energy_source.fuel_categories then table.insert(data.raw["assembling-machine"]["basic-chemical-plant"].energy_source.fuel_categories , "kr-vehicle-fuel") end diff --git a/bzgas2/prototypes/bakelite.lua b/bzgas2/prototypes/bakelite.lua index 4597f08..7b7ceed 100644 --- a/bzgas2/prototypes/bakelite.lua +++ b/bzgas2/prototypes/bakelite.lua @@ -1,9 +1,7 @@ local util = require("data-util"); local prereq = {"basic-chemistry"} -if mods["Krastorio2"] then - table.insert(prereq, "steel-processing") -elseif mods["bzfoundry2"] then +if mods["bzfoundry2"] then table.insert(prereq, "foundry") end diff --git a/bzgas2/prototypes/formaldehyde.lua b/bzgas2/prototypes/formaldehyde.lua index 66724e3..36b0be4 100644 --- a/bzgas2/prototypes/formaldehyde.lua +++ b/bzgas2/prototypes/formaldehyde.lua @@ -7,11 +7,6 @@ local util = require("data-util"); -- } -- }) -local prereq = {"gas-extraction"} -if mods["Krastorio2"] then - table.insert(prereq, "automation-science-pack") -end - data:extend({ { type = "fluid", @@ -45,7 +40,7 @@ data:extend({ name = "basic-chemistry", icon = "__bzgas2__/graphics/technology/formaldehyde.png", icon_size = 256, - prerequisites = prereq, + prerequisites = {"gas-extraction"}, effects = { {type = "unlock-recipe", recipe = "basic-chemical-plant"}, {type = "unlock-recipe", recipe = "formaldehyde"},