forked from mtcontrib/plantlife_modpack
discontinue the old non-farming junglegrass-based pie recipe.
This commit is contained in:
parent
9e8c58895e
commit
27c1cc58e7
@ -64,24 +64,13 @@ for i, berry in ipairs(bushes_classic.bushes) do
|
|||||||
on_use = minetest.item_eat(1),
|
on_use = minetest.item_eat(1),
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
minetest.register_craft({
|
||||||
if minetest.registered_nodes["farming:soil"] then
|
output = "bushes:"..berry.."_pie_raw 1",
|
||||||
minetest.register_craft({
|
recipe = {
|
||||||
output = "bushes:"..berry.."_pie_raw 1",
|
{ "group:food_sugar", "farming:flour", "group:food_sugar" },
|
||||||
recipe = {
|
{ "group:"..berry, "group:"..berry, "group:"..berry },
|
||||||
{ "group:food_sugar", "farming:flour", "group:food_sugar" },
|
},
|
||||||
{ "group:"..berry, "group:"..berry, "group:"..berry },
|
})
|
||||||
},
|
|
||||||
})
|
|
||||||
else
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "bushes:"..berry.."_pie_raw 1",
|
|
||||||
recipe = {
|
|
||||||
{ "group:food_sugar", "group:junglegrass", "group:food_sugar" },
|
|
||||||
{ "group:"..berry, "group:"..berry, "group:"..berry },
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Cooked pie
|
-- Cooked pie
|
||||||
|
Loading…
Reference in New Issue
Block a user