Initial working version
This commit is contained in:
parent
57813953d4
commit
4c4f13aadc
82 changed files with 893 additions and 0 deletions
65
lead-recipe-se.lua
Normal file
65
lead-recipe-se.lua
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
-- Additional recipes if Space Exploration mod is enabled
|
||||
local util = require("__bzlead__.util");
|
||||
|
||||
if mods["space-exploration"] then
|
||||
if mods["Krastorio2"] then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "enriched-lead-smelting-vulcanite",
|
||||
category = "smelting",
|
||||
order = "d[lead-plate]",
|
||||
energy_required = 24,
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
ingredients = {
|
||||
{name = "enriched-lead", amount = 8},
|
||||
{name = "se-vulcanite-block", amount = 1},
|
||||
},
|
||||
results = {
|
||||
{name = util.lead_plate, amount = 12},
|
||||
},
|
||||
icons =
|
||||
{
|
||||
{ icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64 },
|
||||
{ icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 64, scale=0.25, shift= {-10, -10}},
|
||||
},
|
||||
|
||||
},
|
||||
})
|
||||
table.insert(data.raw.technology["se-processing-vulcanite"].effects,
|
||||
{type = "unlock-recipe", recipe= "enriched-lead-smelting-vulcanite"})
|
||||
data.raw.recipe["enriched-lead-plate"].order= "d[lead-plate]"
|
||||
else
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "lead-smelting-vulcanite",
|
||||
category = "smelting",
|
||||
order = "d[lead-plate]",
|
||||
energy_required = 48,
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
ingredients = {
|
||||
{name = "lead-ore", amount = 20},
|
||||
{name = "se-vulcanite-block", amount = 1},
|
||||
},
|
||||
results = {
|
||||
{name = util.lead_plate, amount = 6},
|
||||
},
|
||||
icons =
|
||||
{
|
||||
{ icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64 },
|
||||
{ icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 64, scale=0.25, shift= {-10, -10}},
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
})
|
||||
table.insert(data.raw.technology["se-processing-vulcanite"].effects,
|
||||
{type = "unlock-recipe", recipe= "lead-smelting-vulcanite"})
|
||||
util.add_lead_prerequisite(data.raw.technology["se-processing-vulcanite"])
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue