This commit is contained in:
Brevven 2023-03-19 01:22:36 -07:00
parent 1bafd5c7f2
commit fab73533b9
5 changed files with 76 additions and 4 deletions

55
prototypes/alchemy.lua Normal file
View file

@ -0,0 +1,55 @@
local util = require("data-util");
if util.me.alchemy() then
data:extend({
{
type = "recipe",
name = "alchemy",
main_product = "gold-ingot",
category = "smelting",
order = "d[gold-ingot]2",
enabled = false,
energy_required = 16,
ingredients = {{"lead-plate", 2}},
results = {{"gold-ingot", 1}},
icons = {
{
icon = "__bzgold__/graphics/icons/gold-ingot.png",
icon_size = 128,
},
{
icon = "__bzlead__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 4, shift = {-8,-8}, scale=0.25,
},
},
},
{
type = "technology",
name = "alchemy",
icons = {
{
icon = "__bzgold__/graphics/technology/gold-processing.png",
icon_size = 256,
},
{
icon = "__bzlead__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 4, shift = {-48,-48}, scale=2,
},
},
effects = {
{ type = "unlock-recipe", recipe = "alchemy" },
},
unit = {
count = 250, time = 30,
ingredients = {
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1},
},
},
prerequisites = {"gold-processing"},
order = "b-b",
},
})
end