Check if K2 matter conversion is already done for gold ore (Error with ThemTharHills)
This commit is contained in:
parent
230d085856
commit
4de0ae6962
1 changed files with 15 additions and 13 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
-- Matter recipes for Krastorio2
|
-- Matter recipes for Krastorio2
|
||||||
if mods["Krastorio2"] then
|
if mods["Krastorio2"] then
|
||||||
local util = require("data-util");
|
local util = require("data-util")
|
||||||
|
|
||||||
|
if not data.raw.recipe["kr-gold-ore-to-matter"] then
|
||||||
util.k2matter({
|
util.k2matter({
|
||||||
k2matter = {
|
k2matter = {
|
||||||
material = { type = "item", name = "gold-ore", amount = 30 },
|
material = { type = "item", name = "gold-ore", amount = 30 },
|
||||||
|
|
@ -13,6 +14,7 @@ if mods["Krastorio2"] then
|
||||||
},
|
},
|
||||||
icon = {icon = "__bzgold2__/graphics/icons/gold-ore.png", icon_size = 128, scale = 0.5}
|
icon = {icon = "__bzgold2__/graphics/icons/gold-ore.png", icon_size = 128, scale = 0.5}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
util.k2matter({
|
util.k2matter({
|
||||||
k2matter = {
|
k2matter = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue