pyro tech

This commit is contained in:
Brevven 2022-07-01 18:35:09 -07:00
parent 97227adf19
commit a08b953b5c
4 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 1.2.1
Date: 2022-07-01
Changes:
- SE: Pyroflux tech name
---------------------------------------------------------------------------------------------------
Version: 1.2.0
Date: 2022-07-01
Changes:

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": "bztitanium",
"version": "1.2.0",
"version": "1.2.1",
"factorio_version": "1.1",
"title": "Titanium",
"author": "Brevven",

View file

@ -106,6 +106,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-titanium"})
util.add_effect("se-pyroflux-smelting", {type = "unlock-recipe", recipe= "titanium-ingot"})
util.add_effect("se-pyroflux-smelting", {type = "unlock-recipe", recipe= "titanium-ingot-to-plate"})
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "molten-titanium"})
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "titanium-ingot"})
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "titanium-ingot-to-plate"})