enriched, vulcanite
This commit is contained in:
parent
43db184f64
commit
25847840d2
6 changed files with 245 additions and 10 deletions
117
aluminum-recipe-se.lua
Normal file
117
aluminum-recipe-se.lua
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
-- Additional recipes if Space Exploration mod is enabled
|
||||
local util = require("data-util");
|
||||
|
||||
if mods["space-exploration"] then
|
||||
se_delivery_cannon_recipes["aluminum-ore"] = {name= "aluminum-ore"}
|
||||
se_delivery_cannon_recipes["alumina"] = {name= "alumina"}
|
||||
se_delivery_cannon_recipes["aluminum-plate"] = {name= "aluminum-plate"}
|
||||
|
||||
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
icons = {
|
||||
{ icon = "__base__/graphics/icons/landfill.png", icon_size = 64, icon_mipmaps = 3 },
|
||||
{ icon = "__bzaluminum__/graphics/icons/aluminum-ore.png", icon_size = 64, scale = 0.25},
|
||||
},
|
||||
name = "landfill-aluminum-ore",
|
||||
category = "hard-recycling",
|
||||
order = "z-b-aluminum",
|
||||
subgroup = "terrain",
|
||||
result = "landfill",
|
||||
ingredients = {{"aluminum-ore", 50}},
|
||||
}
|
||||
})
|
||||
|
||||
if mods["Krastorio2"] then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "enriched-alumina-smelting-vulcanite",
|
||||
category = "smelting",
|
||||
order = "d[alumina]",
|
||||
energy_required = 24,
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
ingredients = {
|
||||
{name = "enriched-aluminum", amount = 8},
|
||||
{name = "se-vulcanite-block", amount = 1},
|
||||
},
|
||||
results = {
|
||||
{name = "alumina", amount = 12},
|
||||
},
|
||||
icons =
|
||||
{
|
||||
{ icon = "__bzaluminum__/graphics/icons/alumina.png", icon_size = 128 },
|
||||
{ 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-alumina-smelting-vulcanite"})
|
||||
data.raw.recipe["enriched-alumina"].order= "d[alumina]"
|
||||
se_delivery_cannon_recipes["enriched-aluminum"] = {name= "enriched-aluminum"}
|
||||
else
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "alumina-smelting-vulcanite",
|
||||
category = "smelting",
|
||||
subgroup = "plates",
|
||||
order = "d[alumina]",
|
||||
energy_required = 24,
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
ingredients = {
|
||||
{name = "aluminum-ore", amount = 8},
|
||||
{name = "se-vulcanite-block", amount = 1},
|
||||
},
|
||||
results = {
|
||||
{name = "alumina", amount = 10},
|
||||
{name = "silica", amount = 2},
|
||||
},
|
||||
icons =
|
||||
{
|
||||
{ icon = "__bzaluminum__/graphics/icons/alumina.png", icon_size = 128},
|
||||
{ icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-10, -10}},
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
})
|
||||
table.insert(data.raw.technology["se-processing-vulcanite"].effects,
|
||||
{type = "unlock-recipe", recipe= "alumina-smelting-vulcanite"})
|
||||
end
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "aluminum-plate-smelting-vulcanite",
|
||||
category = "smelting",
|
||||
subgroup = "plates",
|
||||
order = "d[aluminum-plate]",
|
||||
energy_required = 24,
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
ingredients = {
|
||||
{name = "alumina", amount = 8},
|
||||
{name = "se-vulcanite-block", amount = 1},
|
||||
},
|
||||
results = {
|
||||
{name = "aluminum-plate", amount = 12},
|
||||
},
|
||||
icons =
|
||||
{
|
||||
{ icon = "__bzaluminum__/graphics/icons/aluminum-plate.png", icon_size = 128},
|
||||
{ icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-10, -10}},
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
})
|
||||
table.insert(data.raw.technology["se-processing-vulcanite"].effects,
|
||||
{type = "unlock-recipe", recipe= "aluminum-plate-smelting-vulcanite"})
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue