cermet in LDS
This commit is contained in:
parent
7cf7ddeaff
commit
3b02f6ea1c
9 changed files with 57 additions and 21 deletions
35
zirconium-recipe-updates-lds.lua
Normal file
35
zirconium-recipe-updates-lds.lua
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
local util = require("data-util");
|
||||
|
||||
if util.me.cermet_lds() then
|
||||
util.add_prerequisite("low-density-structure", "cermet")
|
||||
|
||||
if mods.Krastorio2 then
|
||||
util.add_ingredient("low-density-structure", "cermet", 5)
|
||||
else
|
||||
util.add_ingredient("low-density-structure", "cermet", 10)
|
||||
end
|
||||
|
||||
if mods.bztitanium then
|
||||
util.remove_ingredient("low-density-structure", "copper-plate")
|
||||
elseif mods.Krastorio2 then
|
||||
util.set_ingredient("low-density-structure", "copper-plate", 5)
|
||||
else
|
||||
util.set_ingredient("low-density-structure", "copper-plate", 10)
|
||||
end
|
||||
|
||||
util.remove_ingredient("low-density-structure", "steel-plate")
|
||||
else
|
||||
if mods.Krastorio2 then
|
||||
util.replace_some_ingredient("low-density-structure", "copper-plate", 5, "zirconia", 5)
|
||||
else
|
||||
util.replace_some_ingredient("low-density-structure", "copper-plate", 10, "zirconia", 10)
|
||||
end
|
||||
end
|
||||
|
||||
if mods["space-exploration"] then
|
||||
if util.me.cermet_lds() then
|
||||
util.replace_some_ingredient("se-aeroframe-scaffold", "se-aeroframe-pole", 1, "cermet", 2)
|
||||
else
|
||||
util.replace_some_ingredient("se-aeroframe-scaffold", "se-aeroframe-pole", 1, "zirconia", 2)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue