summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-08-12 15:09:44 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-08-12 15:09:44 +0100
commitd7965c1784fd36706335dd46ac54688ade89cf5f (patch)
tree181d66ad657e185f1254f36cd53851f7145c44fc
parent3dbc6bd14175e3a38147ccb94173f7ad744c59f1 (diff)
add food_berry group
-rw-r--r--compatibility.lua2
-rw-r--r--crops/blueberry.lua2
-rw-r--r--crops/raspberry.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/compatibility.lua b/compatibility.lua
index a6a6c59..ba5a169 100644
--- a/compatibility.lua
+++ b/compatibility.lua
@@ -173,4 +173,4 @@ if minetest.get_modpath("bushes_classic") then
minetest.register_alias("bushes:raspberry", "farming:raspberries")
end
-end) \ No newline at end of file
+end)
diff --git a/crops/blueberry.lua b/crops/blueberry.lua
index 500fcde..9581454 100644
--- a/crops/blueberry.lua
+++ b/crops/blueberry.lua
@@ -5,7 +5,7 @@ local S = farming.intllib
minetest.register_craftitem("farming:blueberries", {
description = S("Blueberries"),
inventory_image = "farming_blueberries.png",
- groups = {food_blueberries = 1, flammable = 2},
+ groups = {food_blueberries = 1, food_berry = 1, flammable = 2},
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "farming:blueberry_1")
end,
diff --git a/crops/raspberry.lua b/crops/raspberry.lua
index 931d2ae..08dbd84 100644
--- a/crops/raspberry.lua
+++ b/crops/raspberry.lua
@@ -5,7 +5,7 @@ local S = farming.intllib
minetest.register_craftitem("farming:raspberries", {
description = S("Raspberries"),
inventory_image = "farming_raspberries.png",
- groups = {food_raspberries = 1, flammable = 2},
+ groups = {food_raspberries = 1, food_berry = 1, flammable = 2},
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "farming:raspberry_1")
end,