5dims fixes, little tweaks

This commit is contained in:
Brevven 2022-02-10 18:31:59 -08:00
parent 805a87f3c1
commit 351f31581d
4 changed files with 95 additions and 78 deletions

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 1.0.4
Date: 2022-02-04
Fixes:
- Fix for some possible 5dim's loadouts
---------------------------------------------------------------------------------------------------
Version: 1.0.3
Date: 2022-01-24
Changes:

View file

@ -539,6 +539,15 @@ function util.set_icons(recipe_name, icons)
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)
util.set_category(recipe, "founding")
util.set_subgroup(recipe, "foundry-intermediate")

View file

@ -1,6 +1,6 @@
{
"name": "bztitanium",
"version": "1.0.3",
"version": "1.0.4",
"factorio_version": "1.1",
"title": "Titanium",
"author": "Brevven",
@ -21,6 +21,6 @@
"? EndgameCombat",
"! 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."
}

View file

@ -6,6 +6,8 @@ if mods["5dim_core"] then
data.raw.recipe["titanium-plate"].subgroup = "plates-plates"
data.raw.item["titanium-ore"].subgroup = "plates-ore"
if mods["5dim_resources"] then
-- Industrial furnace
data:extend({
{
@ -88,6 +90,7 @@ if mods["5dim_core"] then
{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"})
end
if mods["5dim_automation"] then
for i, name in ipairs(