SE 0.6 + K2
This commit is contained in:
parent
6f57afa7a9
commit
872c4c6303
8 changed files with 109 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
-- Additional recipes if Space Exploration mod is enabled
|
||||
local util = require("__bzlead__.data-util");
|
||||
local util = require("data-util");
|
||||
|
||||
if mods["space-exploration"] then
|
||||
se_delivery_cannon_recipes[util.me.lead_ore] = {name= util.me.lead_ore}
|
||||
|
|
@ -21,6 +21,103 @@ if mods["space-exploration"] then
|
|||
}
|
||||
})
|
||||
|
||||
if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
||||
data:extend({
|
||||
{
|
||||
type = "item-subgroup",
|
||||
name = "lead",
|
||||
group = "resources",
|
||||
order = "a-h-z-a",
|
||||
}
|
||||
})
|
||||
data.raw.item["lead-plate"].subgroup = "lead"
|
||||
data:extend({
|
||||
{
|
||||
type = "item",
|
||||
name = "lead-ingot",
|
||||
icons = {{icon = "__bzlead__/graphics/icons/lead-ingot.png", icon_size = 128}},
|
||||
order = "b-b",
|
||||
stack_size = 50,
|
||||
subgroup = "lead",
|
||||
},
|
||||
{
|
||||
type = "fluid",
|
||||
name = "molten-lead",
|
||||
default_temperature = 600,
|
||||
max_temperature = 600,
|
||||
base_color = {r=121, g=80, b=80},
|
||||
flow_color = {r=121, g=80, b=80},
|
||||
icons = {{icon = "__bzlead__/graphics/icons/molten-lead.png", icon_size = 128}},
|
||||
order = "a[molten]-a",
|
||||
pressure_to_speed_ratio = 0.4,
|
||||
flow_to_energy_ratio = 0.59,
|
||||
auto_barrel = false,
|
||||
subgroup = "fluid",
|
||||
},
|
||||
{
|
||||
type = "recipe",
|
||||
category = "smelting",
|
||||
name = "molten-lead",
|
||||
subgroup = "lead",
|
||||
results = {
|
||||
{type = "fluid", name = "molten-lead", amount = mods.Krastorio2 and 750 or 900},
|
||||
},
|
||||
energy_required = 60,
|
||||
ingredients = {
|
||||
{name = mods.Krastorio2 and "enriched-lead" or "lead-ore", amount = 24},
|
||||
{type = "fluid", name = "se-pyroflux", amount = 10},
|
||||
},
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
order = "a-a"
|
||||
},
|
||||
{
|
||||
type = "recipe",
|
||||
name = "lead-ingot",
|
||||
category = "casting",
|
||||
results = {{"lead-ingot", 1}},
|
||||
energy_required = 100,
|
||||
ingredients = {
|
||||
{type = "fluid", name = "molten-lead", amount = 250},
|
||||
},
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_as_intermediate = false,
|
||||
},
|
||||
{
|
||||
type = "recipe",
|
||||
category = "crafting",
|
||||
name = "lead-ingot-to-plate",
|
||||
|
||||
icons = {
|
||||
{icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3},
|
||||
{icon = "__bzlead__/graphics/icons/lead-ingot.png", icon_size = 128, scale = 0.25, shift = {-8, -8}},
|
||||
},
|
||||
results = {
|
||||
{name = "lead-plate", amount = 10},
|
||||
},
|
||||
energy_required = 5,
|
||||
ingredients = {
|
||||
{name = "lead-ingot", amount = 1}
|
||||
},
|
||||
enabled = false,
|
||||
always_show_made_in = true,
|
||||
allow_decomposition = false,
|
||||
order = "a-c-b"
|
||||
},
|
||||
})
|
||||
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "molten-lead"})
|
||||
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "lead-ingot"})
|
||||
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "lead-ingot-to-plate"})
|
||||
if mods["Krastorio2"] then
|
||||
data.raw.recipe["enriched-lead-plate"].order= "d[lead-plate]"
|
||||
se_delivery_cannon_recipes["enriched-lead"] = {name= "enriched-lead"}
|
||||
else
|
||||
util.add_product("molten-lead", {"copper-ore", 6})
|
||||
end
|
||||
else
|
||||
data.raw.item["lead-plate"].subgroup = "plates"
|
||||
if mods["Krastorio2"] then
|
||||
data:extend({
|
||||
{
|
||||
|
|
@ -84,3 +181,4 @@ if mods["space-exploration"] then
|
|||
{type = "unlock-recipe", recipe= "lead-smelting-vulcanite"})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue