pyro tech
This commit is contained in:
parent
97227adf19
commit
a08b953b5c
4 changed files with 17 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.2.1
|
||||||
|
Date: 2022-07-01
|
||||||
|
Changes:
|
||||||
|
- SE: Pyroflux tech name
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Date: 2022-07-01
|
Date: 2022-07-01
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -566,6 +566,14 @@ function util.set_subgroup(recipe_name, subgroup)
|
||||||
end
|
end
|
||||||
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
|
-- Set recipe icons
|
||||||
function util.set_icons(recipe_name, icons)
|
function util.set_icons(recipe_name, icons)
|
||||||
if me.bypass[recipe_name] then return end
|
if me.bypass[recipe_name] then return end
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztitanium",
|
"name": "bztitanium",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Titanium",
|
"title": "Titanium",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,9 @@ if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
|
||||||
order = "a-c-b"
|
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= "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"})
|
||||||
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "titanium-ingot-to-plate"})
|
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "titanium-ingot-to-plate"})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue