Compare commits
No commits in common. "6c0876d0c8f5b3b50d5efd1d5ba91310242434a9" and "c3c414f36a77ab480fb0a5647702f33716bdf654" have entirely different histories.
6c0876d0c8
...
c3c414f36a
4 changed files with 5 additions and 13 deletions
|
|
@ -27,7 +27,6 @@ if util.me.handcraft() then
|
||||||
end
|
end
|
||||||
local hcec = futil.table.deepcopy(data.raw.recipe["electronic-circuit"])
|
local hcec = futil.table.deepcopy(data.raw.recipe["electronic-circuit"])
|
||||||
hcec.name = "electronic-circuit-handcraft-only"
|
hcec.name = "electronic-circuit-handcraft-only"
|
||||||
hcec.localized_name = { "item-name.electronic-circuit" }
|
|
||||||
data:extend({hcec})
|
data:extend({hcec})
|
||||||
util.set_icons("electronic-circuit-handcraft-only",
|
util.set_icons("electronic-circuit-handcraft-only",
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,9 @@ util.set_product_amount("se-core-fragment-omni", "gas", 24)
|
||||||
|
|
||||||
-- Fix basic chemical plant fuels for K2
|
-- Fix basic chemical plant fuels for K2
|
||||||
if mods.Krastorio2 and
|
if mods.Krastorio2 and
|
||||||
data.raw["assembling-machine"]["basic-chemical-plant"] 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 and
|
||||||
data.raw["assembling-machine"]["basic-chemical-plant"].energy_source.fuel_categories then
|
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")
|
table.insert(data.raw["assembling-machine"]["basic-chemical-plant"].energy_source.fuel_categories , "kr-vehicle-fuel")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
local util = require("data-util");
|
local util = require("data-util");
|
||||||
|
|
||||||
local prereq = {"basic-chemistry"}
|
local prereq = {"basic-chemistry"}
|
||||||
if mods["Krastorio2"] then
|
if mods["bzfoundry2"] then
|
||||||
table.insert(prereq, "steel-processing")
|
|
||||||
elseif mods["bzfoundry2"] then
|
|
||||||
table.insert(prereq, "foundry")
|
table.insert(prereq, "foundry")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "fluid",
|
type = "fluid",
|
||||||
|
|
@ -45,7 +40,7 @@ data:extend({
|
||||||
name = "basic-chemistry",
|
name = "basic-chemistry",
|
||||||
icon = "__bzgas2__/graphics/technology/formaldehyde.png",
|
icon = "__bzgas2__/graphics/technology/formaldehyde.png",
|
||||||
icon_size = 256,
|
icon_size = 256,
|
||||||
prerequisites = prereq,
|
prerequisites = {"gas-extraction"},
|
||||||
effects = {
|
effects = {
|
||||||
{type = "unlock-recipe", recipe = "basic-chemical-plant"},
|
{type = "unlock-recipe", recipe = "basic-chemical-plant"},
|
||||||
{type = "unlock-recipe", recipe = "formaldehyde"},
|
{type = "unlock-recipe", recipe = "formaldehyde"},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue