fix deadlock in SE

This commit is contained in:
Brevven 2022-01-03 22:57:19 -08:00
parent 00af5fd67f
commit b5a9708d97
3 changed files with 28 additions and 8 deletions

View file

@ -63,13 +63,7 @@ data:extend({
name = "graphite-processing",
icon_size = 128,
icon = "__bzcarbon__/graphics/icons/graphite.png",
effects =
{
{
type = "unlock-recipe",
recipe = "graphite"
},
},
effects = {},
unit =
{
count = 30,
@ -83,8 +77,29 @@ data:extend({
order = "b-b"
},
})
if mods["space-exploration"] and not mods.Krastorio2 then
data:extend({
{
type = "recipe",
name = "graphite-se",
category = "advanced-crafting",
order = "d[graphite]",
enabled = false,
energy_required = 0.5,
ingredients = {{"flake-graphite", 2}},
result = "graphite"
}
})
util.add_effect("graphite-processing", { type = "unlock-recipe", recipe = "graphite-se" })
util.add_effect("se-pulveriser", { type = "unlock-recipe", recipe = "graphite" })
else
util.add_effect("graphite-processing", { type = "unlock-recipe", recipe = "graphite" })
end
-- diamonds
data:extend({
{
type = "item",
name = "diamond",

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 0.0.7
Date: 2022-01-04
Changes:
- SE - non-pulverizer recipe for graphite to fix deadlock
---------------------------------------------------------------------------------------------------
Version: 0.0.6
Date: 2022-01-03
Changes:

View file

@ -1,6 +1,6 @@
{
"name": "bzcarbon",
"version": "0.0.6",
"version": "0.0.7",
"factorio_version": "1.1",
"title": "Graphite & Diamonds",
"author": "Brevven",