same for mixed berry pies

This commit is contained in:
Vanessa Ezekowitz 2014-08-18 23:16:38 -04:00
parent 27c1cc58e7
commit 0f20658a2a

View File

@ -114,23 +114,13 @@ for i, berry in ipairs(bushes_classic.bushes) do
}) })
end end
if minetest.registered_nodes["farming:soil"] then minetest.register_craft({
minetest.register_craft({
output = "bushes:mixed_berry_pie_raw 2", output = "bushes:mixed_berry_pie_raw 2",
recipe = { recipe = {
{ "group:food_sugar", "farming:flour", "group:food_sugar" }, { "group:food_sugar", "farming:flour", "group:food_sugar" },
{ "group:berry", "group:berry", "group:berry" }, { "group:berry", "group:berry", "group:berry" },
{ "group:berry", "group:berry", "group:berry" }, { "group:berry", "group:berry", "group:berry" },
}, },
}) })
else
minetest.register_craft({
output = "bushes:mixed_berry_pie_raw 2",
recipe = {
{ "group:food_sugar", "group:junglegrass", "group:food_sugar" },
{ "group:berry", "group:berry", "group:berry" },
{ "group:berry", "group:berry", "group:berry" },
},
})
end