summaryrefslogtreecommitdiff
path: root/strawberry.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-12 16:53:25 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-12 16:53:25 +0000
commitbece919362c6c2cd1f6489d2a87f71663b54d74c (patch)
tree39444e9c43fcf55d0555b5594d9e00a583d29590 /strawberry.lua
parenta4b3916f86dc96d78195d372d9025c8c3b822c1d (diff)
added food groups for better recipe handling
Diffstat (limited to 'strawberry.lua')
-rw-r--r--strawberry.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/strawberry.lua b/strawberry.lua
index eea150f..9f9b949 100644
--- a/strawberry.lua
+++ b/strawberry.lua
@@ -6,6 +6,7 @@ minetest.register_craftitem("ethereal:strawberry", {
description = S("Strawberry"),
inventory_image = "strawberry.png",
wield_image = "strawberry.png",
+ groups = {food_strawberry = 1, flammable = 2},
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:strawberry_1")
end,