forked from Wuzzy/realtest_mt5
Remove support for farming_plus
This commit is contained in:
parent
205f3c73c5
commit
7747ceda7e
|
@ -37,25 +37,12 @@ for i, berry in ipairs(bushes_classic.bushes) do
|
|||
|
||||
if berry ~= "mixed_berry" then
|
||||
|
||||
if berry == "strawberry" and minetest.registered_nodes["farming_plus:strawberry"] then
|
||||
-- Special case for strawberries, when farming_plus is in use. Use
|
||||
-- the item from that mod, but redefine it so it has the right
|
||||
-- groups and does't look so ugly!
|
||||
minetest.register_craftitem(":farming_plus:strawberry_item", {
|
||||
description = S("Strawberry"),
|
||||
inventory_image = "bushes_"..berry..".png",
|
||||
on_use = minetest.item_eat(2),
|
||||
groups = {berry=1, strawberry=1}
|
||||
})
|
||||
minetest.register_alias("bushes:strawberry", "farming_plus:strawberry_item")
|
||||
else
|
||||
minetest.register_craftitem(":bushes:"..berry, {
|
||||
description = desc,
|
||||
inventory_image = "bushes_"..berry..".png",
|
||||
groups = {berry = 1, [berry] = 1},
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
end
|
||||
minetest.register_craft({
|
||||
output = "bushes:"..berry.."_pie_raw 1",
|
||||
recipe = {
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
plants_lib
|
||||
farming?
|
||||
farming_plus?
|
||||
|
|
Loading…
Reference in New Issue