vulcanite smelting
This commit is contained in:
parent
1b85c3802a
commit
e2eec8d6d7
3 changed files with 61 additions and 4 deletions
55
titanium-recipe-se.lua
Normal file
55
titanium-recipe-se.lua
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
-- Additional recipes if Space Exploration mod is enabled
|
||||
local util = require("__bztitanium__.data-util");
|
||||
|
||||
if mods["space-exploration"] then
|
||||
if mods["Krastorio2"] then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "enriched-titanium-smelting-vulcanite",
|
||||
category = "smelting",
|
||||
order = "d[titanium-plate]",
|
||||
energy_required = 24,
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
ingredients = {
|
||||
{name = "enriched-titanium", amount = 8},
|
||||
{name = "se-vulcanite-block", amount = 1},
|
||||
},
|
||||
results = {
|
||||
{name = util.titanium_plate, amount = 6},
|
||||
},
|
||||
|
||||
},
|
||||
})
|
||||
table.insert(data.raw.technology["se-processing-vulcanite"].effects,
|
||||
{type = "unlock-recipe", recipe= "enriched-titanium-smelting-vulcanite"})
|
||||
table.insert(data.raw.technology["se-processing-vulcanite"].prerequisites, "enriched-titanium")
|
||||
data.raw.recipe["enriched-titanium-plate"].order= "d[titanium-plate]"
|
||||
else
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "titanium-smelting-vulcanite",
|
||||
category = "smelting",
|
||||
order = "d[titanium-plate]",
|
||||
energy_required = 48,
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
ingredients = {
|
||||
{name = "titanium-ore", amount = 20},
|
||||
{name = "se-vulcanite-block", amount = 1},
|
||||
},
|
||||
results = {
|
||||
{name = util.titanium_plate, amount = 6},
|
||||
},
|
||||
|
||||
},
|
||||
})
|
||||
table.insert(data.raw.technology["se-processing-vulcanite"].effects,
|
||||
{type = "unlock-recipe", recipe= "titanium-smelting-vulcanite"})
|
||||
util.add_titanium_prerequisite(data.raw.technology["se-processing-vulcanite"])
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue