Skip to content

Commit

Permalink
add recipes for converting between pipeworks injector variants
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames committed Feb 24, 2021
1 parent fc1fea1 commit 2e17eea
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions recipes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,40 @@ if minetest.get_modpath("farming") and minetest.get_modpath("moreores") then
}
})
end

-- Recipes for converting between pipeworks injector variants
-- https://github.com/pandorabox-io/pandorabox.io/issues/622
if minetest.get_modpath("pipeworks") then
minetest.register_craft({
output = "pipeworks:filter",
recipe = {{"pipeworks:mese_filter", "default:mese_crystal"}},
replacements = {{"pipeworks:mese_filter", "default:mese"}}
})
minetest.register_craft({
output = "pipeworks:mese_filter",
recipe = {{"pipeworks:filter", "default:mese"}},
replacements = {{"pipeworks:filter", "default:mese_crystal"}}
})
if minetest.get_modpath("digilines") then
minetest.register_craft({
output = "pipeworks:digiline_filter",
recipe = {{"pipeworks:mese_filter", "digilines:wire_std_00000000"}},
replacements = {{"pipeworks:mese_filter", "default:mese"}}
})
minetest.register_craft({
output = "pipeworks:digiline_filter",
recipe = {{"pipeworks:filter", "digilines:wire_std_00000000"}},
replacements = {{"pipeworks:filter", "default:mese_crystal"}}
})
minetest.register_craft({
output = "pipeworks:filter",
recipe = {{"pipeworks:digiline_filter", "default:mese_crystal"}},
replacements = {{"pipeworks:digiline_filter", "digilines:wire_std_00000000"}}
})
minetest.register_craft({
output = "pipeworks:mese_filter",
recipe = {{"pipeworks:digiline_filter", "default:mese"}},
replacements = {{"pipeworks:digiline_filter", "digilines:wire_std_00000000"}}
})
end
end

0 comments on commit 2e17eea

Please sign in to comment.