Fix SA compatibility
This commit is contained in:
parent
dbcbdaeaa0
commit
e282b6df53
4 changed files with 7 additions and 7 deletions
|
|
@ -302,7 +302,7 @@ data:extend({
|
||||||
energy_required = 5,
|
energy_required = 5,
|
||||||
ingredients = (mods["space-age"] or util.k2()) and {
|
ingredients = (mods["space-age"] or util.k2()) and {
|
||||||
{type="item", name="graphite", amount=1},
|
{type="item", name="graphite", amount=1},
|
||||||
{type="fluid", name="kr-ammonia", amount=5},
|
{type="fluid", name=util.k2() and "kr-ammonia" or "ammonia", amount=5},
|
||||||
{type="fluid", name="sulfuric-acid", amount=5},
|
{type="fluid", name="sulfuric-acid", amount=5},
|
||||||
} or {
|
} or {
|
||||||
{type="item", name="graphite", amount=1},
|
{type="item", name="graphite", amount=1},
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ if mods["wood-industry"] then precursor = "charcoal" end
|
||||||
order = "d[graphite-carbon-fiber]",
|
order = "d[graphite-carbon-fiber]",
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 2.5,
|
energy_required = 2.5,
|
||||||
ingredients = data.raw.fluid["kr-ammonia"] and
|
ingredients = data.raw.fluid["ammonia"] and
|
||||||
{
|
{
|
||||||
util.item(precursor),
|
util.item(precursor),
|
||||||
util.fluid("steam"),
|
util.fluid("steam"),
|
||||||
|
|
@ -45,7 +45,7 @@ if mods["wood-industry"] then precursor = "charcoal" end
|
||||||
order = "d[graphite-carbon-fiber]",
|
order = "d[graphite-carbon-fiber]",
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 2.5,
|
energy_required = 2.5,
|
||||||
ingredients = data.raw.fluid["kr-ammonia"] and
|
ingredients = data.raw.fluid["ammonia"] and
|
||||||
{
|
{
|
||||||
util.item("carbon-black", 5),
|
util.item("carbon-black", 5),
|
||||||
util.fluid("steam"),
|
util.fluid("steam"),
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ if mods["space-age"] then
|
||||||
{icon="__bzcarbon__/graphics/icons/flake-graphite.png", icon_size=128, scale=0.125, shift={8,0}},
|
{icon="__bzcarbon__/graphics/icons/flake-graphite.png", icon_size=128, scale=0.125, shift={8,0}},
|
||||||
{icon="__bzcarbon__/graphics/icons/rough-diamond.png", icon_size=128, scale=0.125, shift={-8,0}},
|
{icon="__bzcarbon__/graphics/icons/rough-diamond.png", icon_size=128, scale=0.125, shift={-8,0}},
|
||||||
},
|
},
|
||||||
category = "kr-crushing",
|
category = "crushing",
|
||||||
subgroup="space-crushing",
|
subgroup="space-crushing",
|
||||||
order = "b-a-z-b",
|
order = "b-a-z-b",
|
||||||
auto_recycle = false,
|
auto_recycle = false,
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ if mods["space-age"] then
|
||||||
util.item("spoilage", 1),
|
util.item("spoilage", 1),
|
||||||
},
|
},
|
||||||
results = {
|
results = {
|
||||||
util.fluid("kr-ammonia", 10),
|
util.fluid("ammonia", 10),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -58,8 +58,8 @@ if mods["space-age"] then
|
||||||
util.remove_ingredient("polyacrylonitrile", "petroleum-gas")
|
util.remove_ingredient("polyacrylonitrile", "petroleum-gas")
|
||||||
util.add_ingredient("polyacrylonitrile", "jelly", 10)
|
util.add_ingredient("polyacrylonitrile", "jelly", 10)
|
||||||
util.add_ingredient("polyacrylonitrile", "jelly", 10)
|
util.add_ingredient("polyacrylonitrile", "jelly", 10)
|
||||||
util.add_ingredient("polyacrylonitrile", "kr-ammonia", 10)
|
util.add_ingredient("polyacrylonitrile", "ammonia", 10)
|
||||||
util.add_ingredient("carbon-fiber", "kr-ammonia", 10)
|
util.add_ingredient("carbon-fiber", "ammonia", 10)
|
||||||
util.replace_ingredient("carbon-fiber", "carbon", "polyacrylonitrile")
|
util.replace_ingredient("carbon-fiber", "carbon", "polyacrylonitrile")
|
||||||
util.set_item_icons("carbon-fiber", { {icon = "__bzcarbon__/graphics/icons/carbon-fiber.png", icon_size = 128,} })
|
util.set_item_icons("carbon-fiber", { {icon = "__bzcarbon__/graphics/icons/carbon-fiber.png", icon_size = 128,} })
|
||||||
util.add_unlock("biochamber", "ammonia-from-spoilage")
|
util.add_unlock("biochamber", "ammonia-from-spoilage")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue