Add crafting recipe item replacements

This commit is contained in:
PrairieWind 2022-11-05 09:28:38 -06:00 committed by cora
parent 4bb824cd38
commit db0b44326b

View file

@ -66,6 +66,12 @@ minetest.register_craft({
{ "mcl_honey:honey_bottle", "mcl_honey:honey_bottle" }, { "mcl_honey:honey_bottle", "mcl_honey:honey_bottle" },
{ "mcl_honey:honey_bottle", "mcl_honey:honey_bottle" }, { "mcl_honey:honey_bottle", "mcl_honey:honey_bottle" },
}, },
replacements = {
{ "mcl_honey:honey_bottle", "mcl_potions:glass_bottle" },
{ "mcl_honey:honey_bottle", "mcl_potions:glass_bottle" },
{ "mcl_honey:honey_bottle", "mcl_potions:glass_bottle" },
{ "mcl_honey:honey_bottle", "mcl_potions:glass_bottle" },
},
}) })
minetest.register_craft({ minetest.register_craft({
@ -80,4 +86,7 @@ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "mcl_core:sugar 3", output = "mcl_core:sugar 3",
recipe = { "mcl_honey:honey_bottle" }, recipe = { "mcl_honey:honey_bottle" },
replacements = {
{ "mcl_honey:honey_bottle", "mcl_potions:glass_bottle" },
},
}) })