detect mineclone/default dye recipe for agave->cyan

This commit is contained in:
tenplus1 2023-02-13 13:30:54 +00:00
parent 1d33b21cf2
commit 91fcaf9505

View File

@ -75,10 +75,20 @@ minetest.register_node("wine:blue_agave", {
-- blue agave into cyan dye
minetest.register_craft( {
if minetest.get_modpath("mcl_dye") then
minetest.register_craft( {
output = "mcl_dye:cyan 4",
recipe = {{"wine:blue_agave"}}
})
elseif minetest.get_modpath("dye") then
minetest.register_craft( {
output = "dye:cyan 4",
recipe = {{"wine:blue_agave"}}
})
})
end
-- blue agave as fuel
minetest.register_craft({