Indium2/Indium2/recipe-modify.lua
pla 29eed595fa Make bz* and bz*2 compatible (#1)
If you accept the PR, don't forget to add the bz* mods to the info.json

Co-authored-by: pla
Reviewed-on: #1
Co-authored-by: pla
Co-committed-by: pla
2025-11-01 12:48:24 +01:00

19 lines
No EOL
778 B
Lua

local util = require("data-util")
-- Main vanilla changes
-- Mod changes
if mods["IfNickel-Updated"] then
if mods["IfNickel-Updated"] and util.bz.thungsten then
util.replace_some_ingredient(mods["IfNickel-Updated"] and "gimbaled-thruster", util.bz.thungsten and "rocket-engine-nozzle", 1, "cryogenic-seal", 1)
end
util.remove_ingredient("satellite", "gimbaled-thruster")
end
if mods["space-exploration"] then
util.add_product(mods["space-exploration"] and "se-scrap-recycling", { type = "item", name = "indite-ore", amount=1, probability=0.05})
util.remove_ingredient("se-space-pipe-to-ground", "lead-plate")
util.remove_ingredient("se-space-pipe-to-ground", "tin-plate")
util.add_ingredient("se-space-pipe-to-ground", "indium-solder", 1)
end