support se 0.5
This commit is contained in:
parent
76d4f59e98
commit
8baf2acdbf
3 changed files with 70 additions and 2 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.0.2
|
||||||
|
Date: 2022-07-06
|
||||||
|
Features:
|
||||||
|
- Compatible with both Space Exploration 0.5 and 0.6. Compatibility with SE 0.5 will likely not
|
||||||
|
be as up to date, and will eventually not be supported after a few months.
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.0.1
|
Version: 0.0.1
|
||||||
Date: 2022-07-05
|
Date: 2022-07-05
|
||||||
Features:
|
Features:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztin",
|
"name": "bztin",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Tin",
|
"title": "Tin",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
"? bzzirconium >= 0.6.0",
|
"? bzzirconium >= 0.6.0",
|
||||||
"? bztungsten >= 0.6.0",
|
"? bztungsten >= 0.6.0",
|
||||||
"? bzcarbon >= 0.3.0",
|
"? bzcarbon >= 0.3.0",
|
||||||
"? space-exploration >= 0.6.0",
|
"? space-exploration >= 0.5.100",
|
||||||
"? aai-industry",
|
"? aai-industry",
|
||||||
"? Krastorio2",
|
"? Krastorio2",
|
||||||
"? sand-and-glass",
|
"? sand-and-glass",
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ if mods["space-exploration"] then
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "item-subgroup",
|
type = "item-subgroup",
|
||||||
|
|
@ -116,4 +117,65 @@ if mods["space-exploration"] then
|
||||||
data.raw.recipe["enriched-tin-plate"].order= "d[tin-plate]"
|
data.raw.recipe["enriched-tin-plate"].order= "d[tin-plate]"
|
||||||
se_delivery_cannon_recipes["enriched-tin"] = {name= "enriched-tin"}
|
se_delivery_cannon_recipes["enriched-tin"] = {name= "enriched-tin"}
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
data.raw.item["tin-plate"].subgroup = "plates"
|
||||||
|
if mods["Krastorio2"] then
|
||||||
|
|
||||||
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "enriched-tin-smelting-vulcanite",
|
||||||
|
category = "smelting",
|
||||||
|
order = "d[tin-plate]",
|
||||||
|
energy_required = 18,
|
||||||
|
enabled = false,
|
||||||
|
always_show_made_in = true,
|
||||||
|
allow_as_intermediate = false,
|
||||||
|
ingredients = {
|
||||||
|
{name = "enriched-tin", amount = 8},
|
||||||
|
{name = "se-vulcanite-block", amount = 1},
|
||||||
|
},
|
||||||
|
results = {
|
||||||
|
{name = "tin-plate", amount = 12},
|
||||||
|
},
|
||||||
|
icons =
|
||||||
|
{
|
||||||
|
{ icon = "__bztin__/graphics/icons/tin-plate.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-tin-smelting-vulcanite"})
|
||||||
|
data.raw.recipe["enriched-tin-plate"].order= "d[tin-plate]"
|
||||||
|
se_delivery_cannon_recipes["enriched-tin"] = {name= "enriched-tin"}
|
||||||
|
else
|
||||||
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "tin-smelting-vulcanite",
|
||||||
|
category = "smelting",
|
||||||
|
order = "d[tin-plate]",
|
||||||
|
energy_required = 18,
|
||||||
|
enabled = false,
|
||||||
|
always_show_made_in = true,
|
||||||
|
allow_as_intermediate = false,
|
||||||
|
ingredients = {
|
||||||
|
{name = "tin-ore", amount = 8},
|
||||||
|
{name = "se-vulcanite-block", amount = 1},
|
||||||
|
},
|
||||||
|
results = {
|
||||||
|
{name = "tin-plate", amount = 12},
|
||||||
|
},
|
||||||
|
icons =
|
||||||
|
{
|
||||||
|
{ icon = "__bztin__/graphics/icons/tin-plate.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= "tin-smelting-vulcanite"})
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue