forked from cacklingfiend/bzgold2
Compare commits
2 commits
4de0ae6962
...
4b691d654c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b691d654c | ||
|
|
b91b89e109 |
2 changed files with 20 additions and 15 deletions
|
|
@ -168,7 +168,11 @@ function util.k2matter(params)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
if params.k2matter.only_deconversion then
|
||||||
|
matter.make_deconversion_recipe(params.k2matter)
|
||||||
|
else
|
||||||
matter.make_recipes(params.k2matter)
|
matter.make_recipes(params.k2matter)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,10 @@ if mods["Krastorio2"] then
|
||||||
needs_stabilizer = false,
|
needs_stabilizer = false,
|
||||||
unlocked_by = "gold-matter-processing",
|
unlocked_by = "gold-matter-processing",
|
||||||
},
|
},
|
||||||
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
|
end
|
||||||
|
if settings["bzgold-silver"].value then
|
||||||
util.k2matter({
|
util.k2matter({
|
||||||
k2matter = {
|
k2matter = {
|
||||||
material = { type = "item", name = "silver-ore", amount = 8 },
|
material = { type = "item", name = "silver-ore", amount = 8 },
|
||||||
|
|
@ -25,6 +25,7 @@ if mods["Krastorio2"] then
|
||||||
needs_stabilizer = false,
|
needs_stabilizer = false,
|
||||||
unlocked_by = "silver-matter-processing",
|
unlocked_by = "silver-matter-processing",
|
||||||
},
|
},
|
||||||
icon = {icon = "__bzgold2__/graphics/icons/silver-ore.png", icon_size = 128, scale = 0.5}
|
icon = { icon = "__bzgold2__/graphics/icons/silver-ore.png", icon_size = 128, scale = 0.5 },
|
||||||
})
|
})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue