5dims fixes, little tweaks
This commit is contained in:
parent
805a87f3c1
commit
351f31581d
4 changed files with 95 additions and 78 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.0.4
|
||||||
|
Date: 2022-02-04
|
||||||
|
Fixes:
|
||||||
|
- Fix for some possible 5dim's loadouts
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.0.3
|
Version: 1.0.3
|
||||||
Date: 2022-01-24
|
Date: 2022-01-24
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -539,6 +539,15 @@ function util.set_icons(recipe_name, icons)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Set recipe icons
|
||||||
|
function util.set_item_icons(item_name, icons)
|
||||||
|
if data.raw.recipe[item_name] then
|
||||||
|
data.raw.recipe[item_name].icons = icons
|
||||||
|
data.raw.recipe[item_name].icon = nil
|
||||||
|
data.raw.recipe[item_name].icon_size = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function util.set_to_founding(recipe)
|
function util.set_to_founding(recipe)
|
||||||
util.set_category(recipe, "founding")
|
util.set_category(recipe, "founding")
|
||||||
util.set_subgroup(recipe, "foundry-intermediate")
|
util.set_subgroup(recipe, "foundry-intermediate")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztitanium",
|
"name": "bztitanium",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Titanium",
|
"title": "Titanium",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
@ -21,6 +21,6 @@
|
||||||
"? EndgameCombat",
|
"? EndgameCombat",
|
||||||
"! nullius"
|
"! nullius"
|
||||||
],
|
],
|
||||||
"description": "Adds titanium to the base game.\n\nTitanium is used in Low Density Structures, Flying Robot Frames and a few other places.\n\nCompatible with Krastorio 2, Space Exploration, Aircraft, 5Dim's, FE+ and other mods. A standalone piece of BZ Mods."
|
"description": "Adds titanium to the base game.\n\nTitanium is used in Low Density Structures, Flying Robot Frames and a few other places.\n\nCompatible with Krastorio 2, Space Exploration, Aircraft, 5Dim's, FE+ and other mods. A standalone piece of BZ Mods.\n\nWith graphics by snouz."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,88 +6,91 @@ if mods["5dim_core"] then
|
||||||
data.raw.recipe["titanium-plate"].subgroup = "plates-plates"
|
data.raw.recipe["titanium-plate"].subgroup = "plates-plates"
|
||||||
data.raw.item["titanium-ore"].subgroup = "plates-ore"
|
data.raw.item["titanium-ore"].subgroup = "plates-ore"
|
||||||
|
|
||||||
-- Industrial furnace
|
if mods["5dim_resources"] then
|
||||||
data:extend({
|
|
||||||
{
|
-- Industrial furnace
|
||||||
type = "recipe",
|
data:extend({
|
||||||
name = "titanium-plate-industrial-ore",
|
{
|
||||||
category = "industrial-furnace",
|
type = "recipe",
|
||||||
subgroup = "plates-industrial-ore",
|
name = "titanium-plate-industrial-ore",
|
||||||
order = "ad[titanium-plate]",
|
category = "industrial-furnace",
|
||||||
icon = "__bztitanium__/graphics/icons/titanium-plate.png",
|
subgroup = "plates-industrial-ore",
|
||||||
icon_size = 64, icon_mipmaps = 3,
|
order = "ad[titanium-plate]",
|
||||||
enabled = false,
|
icon = "__bztitanium__/graphics/icons/titanium-plate.png",
|
||||||
energy_required = 140,
|
icon_size = 64, icon_mipmaps = 3,
|
||||||
ingredients = {{"titanium-ore", 425}},
|
enabled = false,
|
||||||
result = util.me.titanium_plate,
|
energy_required = 140,
|
||||||
result_count = 100,
|
ingredients = {{"titanium-ore", 425}},
|
||||||
}
|
result = util.me.titanium_plate,
|
||||||
})
|
result_count = 100,
|
||||||
table.insert(data.raw.technology[util.me.titanium_processing].effects,
|
}
|
||||||
{type = "unlock-recipe", recipe="titanium-plate-industrial-ore"})
|
})
|
||||||
|
table.insert(data.raw.technology[util.me.titanium_processing].effects,
|
||||||
|
{type = "unlock-recipe", recipe="titanium-plate-industrial-ore"})
|
||||||
|
|
||||||
|
|
||||||
-- Titanium dust
|
-- Titanium dust
|
||||||
data:extend(
|
data:extend(
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "titanium-dust",
|
name = "titanium-dust",
|
||||||
subgroup = "plates-dust",
|
subgroup = "plates-dust",
|
||||||
order = "d[titanium-plate]",
|
order = "d[titanium-plate]",
|
||||||
icon = "__bztitanium__/graphics/icons/titanium-powder.png",
|
icon = "__bztitanium__/graphics/icons/titanium-powder.png",
|
||||||
icon_size = 64, icon_mipmaps = 3,
|
icon_size = 64, icon_mipmaps = 3,
|
||||||
stack_size = 200
|
stack_size = 200
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "titanium-plate-dust",
|
||||||
|
icon = "__bztitanium__/graphics/icons/titanium-plate.png",
|
||||||
|
icon_size = 64, icon_mipmaps = 3,
|
||||||
|
subgroup = "plates-plates2",
|
||||||
|
order = "d[titanium-plate]",
|
||||||
|
category = "smelting",
|
||||||
|
energy_required = 8,
|
||||||
|
enabled = false,
|
||||||
|
ingredients = {
|
||||||
|
{"titanium-dust", 5}
|
||||||
|
},
|
||||||
|
result = util.me.titanium_plate
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "titanium-dust",
|
||||||
|
category = "mashering",
|
||||||
|
order = "d[titanium-plate]",
|
||||||
|
energy_required = 3.2,
|
||||||
|
enabled = false,
|
||||||
|
ingredients = {
|
||||||
|
{"titanium-ore", 1}
|
||||||
|
},
|
||||||
|
result = "titanium-dust",
|
||||||
|
result_count = 2
|
||||||
|
},
|
||||||
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "titanium-plate-dust",
|
name = "titanium-plate-industrial-dust",
|
||||||
|
category = "industrial-furnace",
|
||||||
|
subgroup = "plates-industrial-dust",
|
||||||
|
order = "ad[titanium-plate]",
|
||||||
icon = "__bztitanium__/graphics/icons/titanium-plate.png",
|
icon = "__bztitanium__/graphics/icons/titanium-plate.png",
|
||||||
icon_size = 64, icon_mipmaps = 3,
|
icon_size = 64, icon_mipmaps = 3,
|
||||||
subgroup = "plates-plates2",
|
|
||||||
order = "d[titanium-plate]",
|
|
||||||
category = "smelting",
|
|
||||||
energy_required = 8,
|
|
||||||
enabled = false,
|
enabled = false,
|
||||||
ingredients = {
|
energy_required = 140,
|
||||||
{"titanium-dust", 5}
|
ingredients = {{"titanium-dust", 425}},
|
||||||
},
|
result = util.me.titanium_plate,
|
||||||
result = util.me.titanium_plate
|
result_count = 100,
|
||||||
},
|
}
|
||||||
{
|
})
|
||||||
type = "recipe",
|
table.insert(data.raw.technology[util.me.titanium_processing].effects,
|
||||||
name = "titanium-dust",
|
{type = "unlock-recipe", recipe="titanium-dust"})
|
||||||
category = "mashering",
|
table.insert(data.raw.technology[util.me.titanium_processing].effects,
|
||||||
order = "d[titanium-plate]",
|
{type = "unlock-recipe", recipe="titanium-plate-dust"})
|
||||||
energy_required = 3.2,
|
table.insert(data.raw.technology[util.me.titanium_processing].effects,
|
||||||
enabled = false,
|
{type = "unlock-recipe", recipe="titanium-plate-industrial-dust"})
|
||||||
ingredients = {
|
end
|
||||||
{"titanium-ore", 1}
|
|
||||||
},
|
|
||||||
result = "titanium-dust",
|
|
||||||
result_count = 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type = "recipe",
|
|
||||||
name = "titanium-plate-industrial-dust",
|
|
||||||
category = "industrial-furnace",
|
|
||||||
subgroup = "plates-industrial-dust",
|
|
||||||
order = "ad[titanium-plate]",
|
|
||||||
icon = "__bztitanium__/graphics/icons/titanium-plate.png",
|
|
||||||
icon_size = 64, icon_mipmaps = 3,
|
|
||||||
enabled = false,
|
|
||||||
energy_required = 140,
|
|
||||||
ingredients = {{"titanium-dust", 425}},
|
|
||||||
result = util.me.titanium_plate,
|
|
||||||
result_count = 100,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
table.insert(data.raw.technology[util.me.titanium_processing].effects,
|
|
||||||
{type = "unlock-recipe", recipe="titanium-dust"})
|
|
||||||
table.insert(data.raw.technology[util.me.titanium_processing].effects,
|
|
||||||
{type = "unlock-recipe", recipe="titanium-plate-dust"})
|
|
||||||
table.insert(data.raw.technology[util.me.titanium_processing].effects,
|
|
||||||
{type = "unlock-recipe", recipe="titanium-plate-industrial-dust"})
|
|
||||||
|
|
||||||
if mods["5dim_automation"] then
|
if mods["5dim_automation"] then
|
||||||
for i, name in ipairs(
|
for i, name in ipairs(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue