bzchlorine2/compatibility/bob.lua
Simon Brodtmann 06281ea9ca Update to 2.0
2025-10-16 17:38:34 +02:00

16 lines
720 B
Lua

local util = require("data-util");
if mods.bobelectronics or mods.MDbobelectronics or mods.MDbobelectronics2 then
-- FeCL3 is now anhydrous, so hydrate it for bob
util.remove_ingredient("ferric-chloride-solution", "iron-ore")
util.remove_ingredient("ferric-chloride-solution", mods["Krastorio2"] and "kr-hydrogen-chloride" or "hydrogen-chloride")
util.add_ingredient("ferric-chloride-solution", "ferric-chloride", 5)
util.add_ingredient("ferric-chloride-solution", "water", 50)
-- Phenolic board replaced with substrate
util.replace_ingredient("circuit-board", "phenolic-board", "pcb-substrate")
-- NOTE ingredients like phenolic board etc will not be used in many mod loadouts. Maybe fix later
end