recipe updates
This commit is contained in:
parent
afde65e71f
commit
2908a3b192
3 changed files with 157 additions and 8 deletions
30
aluminum-recipe-updates-lds.lua
Normal file
30
aluminum-recipe-updates-lds.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
local util = require("data-util");
|
||||
-- LDS
|
||||
util.remove_ingredient("low-density-structure", "copper-plate")
|
||||
util.remove_ingredient("low-density-structure", "steel-plate")
|
||||
util.remove_ingredient("low-density-structure", "titanium-plate")
|
||||
local amount = 20
|
||||
if mods.bzzirconium then
|
||||
if mods.Krastorio2 and data.raw.item["cermet"] then
|
||||
amount = 6
|
||||
else
|
||||
amount = 10
|
||||
end
|
||||
else
|
||||
if mods.Krastorio2 then
|
||||
amount = 14
|
||||
end
|
||||
end
|
||||
util.add_ingredient("low-density-structure", "aluminum-2219", amount)
|
||||
|
||||
if mods["space-exploration"] then
|
||||
util.remove_ingredient("se-low-density-structure-beryllium", "copper-plate")
|
||||
util.remove_ingredient("se-low-density-structure-beryllium", "steel-plate")
|
||||
util.remove_ingredient("se-low-density-structure-beryllium", "titanium-plate")
|
||||
if mods.bzzirconium then
|
||||
amount = 2
|
||||
else
|
||||
amount = 10
|
||||
end
|
||||
util.add_ingredient("se-low-density-structure-beryllium", "aluminum-2219", amount)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue