pyro tech

This commit is contained in:
Brevven 2022-07-01 19:08:02 -07:00
parent da2c6024ab
commit 4d118ec869
4 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 1.2.2
Date: 2022-07-02
Chnages:
- SE: Pyroflux tech compatibility
---------------------------------------------------------------------------------------------------
Version: 1.2.1
Date: 2022-07-01
Fixes:

View file

@ -566,6 +566,14 @@ function util.set_subgroup(recipe_name, subgroup)
end
end
-- Set item subgroup
function util.set_item_subgroup(item, subgroup)
if me.bypass[item] then return end
if data.raw.item[item] and data.raw["item-subgroup"][subgroup] then
data.raw.item[item].subgroup = subgroup
end
end
-- Set recipe icons
function util.set_icons(recipe_name, icons)
if me.bypass[recipe_name] then return end

View file

@ -1,6 +1,6 @@
{
"name": "bzlead",
"version": "1.2.1",
"version": "1.2.2",
"factorio_version": "1.1",
"title": "Lead",
"author": "Brevven",

View file

@ -108,6 +108,9 @@ if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
order = "a-c-b"
},
})
util.add_effect("se-pyroflux-smelting", {type = "unlock-recipe", recipe= "molten-lead"})
util.add_effect("se-pyroflux-smelting", {type = "unlock-recipe", recipe= "lead-ingot"})
util.add_effect("se-pyroflux-smelting", {type = "unlock-recipe", recipe= "lead-ingot-to-plate"})
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"})