Update to 2.0
This commit is contained in:
parent
b819550db8
commit
70d34155af
19 changed files with 212 additions and 450 deletions
|
|
@ -24,7 +24,6 @@ if mods["space-exploration"] then
|
|||
starting_rq_factor_multiplier = 1.5,
|
||||
}
|
||||
|
||||
if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
||||
util.se_matter({ore="aluminum-ore", energy_required=1, quant_out=10, stream_out=60})
|
||||
data:extend({
|
||||
{
|
||||
|
|
@ -71,7 +70,7 @@ if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
|||
},
|
||||
energy_required = 60,
|
||||
ingredients = {
|
||||
{name = "alumina", amount = 24},
|
||||
{ type = "item", name = "alumina", amount = 24},
|
||||
{type = "fluid", name = "se-pyroflux", amount = 10},
|
||||
},
|
||||
enabled = false,
|
||||
|
|
@ -83,7 +82,7 @@ if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
|||
type = "recipe",
|
||||
name = "aluminum-ingot",
|
||||
category = "casting",
|
||||
results = {{"aluminum-ingot", 1}},
|
||||
results = {{type="item", name="aluminum-ingot", amount=1}},
|
||||
energy_required = 25,
|
||||
ingredients = {
|
||||
{type = "fluid", name = "molten-aluminum", amount = 250},
|
||||
|
|
@ -102,11 +101,11 @@ if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
|||
{icon = "__bzaluminum__/graphics/icons/aluminum-ingot.png", icon_size = 128, scale = 0.125, shift = {-8, -8}},
|
||||
},
|
||||
results = {
|
||||
{name = "aluminum-plate", amount = 10},
|
||||
{ type = "item", name = "aluminum-plate", amount = 10},
|
||||
},
|
||||
energy_required = 5,
|
||||
ingredients = {
|
||||
{name = "aluminum-ingot", amount = 1}
|
||||
{ type = "item", name = "aluminum-ingot", amount = 1}
|
||||
},
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
|
|
@ -126,101 +125,4 @@ if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
|||
end
|
||||
se_delivery_cannon_recipes["aluminum-ingot"] = {name= "aluminum-ingot"}
|
||||
|
||||
else
|
||||
-- Organization
|
||||
data.raw.item["aluminum-plate"].subgroup = "plates"
|
||||
data.raw.recipe["aluminum-plate"].subgroup = "plates"
|
||||
|
||||
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 = util.me.byproduct() and 10 or 12},
|
||||
},
|
||||
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}},
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
})
|
||||
if util.me.byproduct() then util.add_product("alumina-smelting-vulcanite", {"silica", 2}, {force=true}) end
|
||||
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
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue