fix deadlock in SE
This commit is contained in:
parent
00af5fd67f
commit
b5a9708d97
3 changed files with 28 additions and 8 deletions
|
|
@ -63,13 +63,7 @@ data:extend({
|
||||||
name = "graphite-processing",
|
name = "graphite-processing",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
icon = "__bzcarbon__/graphics/icons/graphite.png",
|
icon = "__bzcarbon__/graphics/icons/graphite.png",
|
||||||
effects =
|
effects = {},
|
||||||
{
|
|
||||||
{
|
|
||||||
type = "unlock-recipe",
|
|
||||||
recipe = "graphite"
|
|
||||||
},
|
|
||||||
},
|
|
||||||
unit =
|
unit =
|
||||||
{
|
{
|
||||||
count = 30,
|
count = 30,
|
||||||
|
|
@ -83,8 +77,29 @@ data:extend({
|
||||||
order = "b-b"
|
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
|
-- diamonds
|
||||||
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "diamond",
|
name = "diamond",
|
||||||
|
|
|
||||||
|
|
@ -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
|
Version: 0.0.6
|
||||||
Date: 2022-01-03
|
Date: 2022-01-03
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzcarbon",
|
"name": "bzcarbon",
|
||||||
"version": "0.0.6",
|
"version": "0.0.7",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Graphite & Diamonds",
|
"title": "Graphite & Diamonds",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue