if data.raw.item["invar-alloy"] then
  bobmods.lib.recipe.replace_ingredient("storage-tank-2", "steel-plate", "invar-alloy")
  bobmods.lib.recipe.replace_ingredient("bob-storage-tank-all-corners-2", "steel-plate", "invar-alloy")
  bobmods.lib.tech.add_prerequisite("bob-fluid-handling-2", "invar-processing")
end

if data.raw.item["steel-pipe"] then
  bobmods.lib.recipe.replace_ingredient("bob-storage-tank-all-corners-2", "pipe", "steel-pipe")
end


if data.raw.item["titanium-plate"] then
  bobmods.lib.recipe.replace_ingredient("storage-tank-3", "steel-plate", "titanium-plate")
  bobmods.lib.recipe.replace_ingredient("bob-storage-tank-all-corners-3", "steel-plate", "titanium-plate")
  bobmods.lib.tech.add_prerequisite("bob-fluid-handling-3", "titanium-processing")
end

if data.raw.item["titanium-pipe"] then
  bobmods.lib.recipe.replace_ingredient("bob-storage-tank-all-corners-3", "pipe", "titanium-pipe")
end


if data.raw.item["nitinol-alloy"] then
  bobmods.lib.recipe.replace_ingredient("storage-tank-4", "steel-plate", "nitinol-alloy")
  bobmods.lib.recipe.replace_ingredient("bob-storage-tank-all-corners-4", "steel-plate", "nitinol-alloy")
  bobmods.lib.tech.add_prerequisite("bob-fluid-handling-4", "nitinol-processing")
end

if data.raw.item["nitinol-pipe"] then
  bobmods.lib.recipe.replace_ingredient("bob-storage-tank-all-corners-4", "pipe", "nitinol-pipe")
end

