summaryrefslogtreecommitdiff
path: root/blueberry.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-05-24 14:41:48 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-05-24 14:41:48 +0100
commit7cf215badb086fd032c3a4f509792ce7326a99a6 (patch)
tree9465069357f638996c3b97a13bcfdfc317de7610 /blueberry.lua
parentf971ffef04b0c36f0448c5585899572d3564094c (diff)
added blueberry pie and potato salad
Diffstat (limited to 'blueberry.lua')
-rw-r--r--blueberry.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/blueberry.lua b/blueberry.lua
index f2f0147..500fcde 100644
--- a/blueberry.lua
+++ b/blueberry.lua
@@ -27,6 +27,23 @@ minetest.register_craft({
}
})
+-- Blueberry Pie
+
+minetest.register_craftitem("farming:blueberry_pie", {
+ description = S("Blueberry Pie"),
+ inventory_image = "farming_blueberry_pie.png",
+ on_use = minetest.item_eat(6),
+})
+
+minetest.register_craft({
+ output = "farming:blueberry_pie",
+ type = "shapeless",
+ recipe = {
+ "group:food_flour", "group:food_sugar",
+ "group:food_blueberries", "group:food_baking_tray"
+ },
+})
+
-- blueberry definition
local crop_def = {
drawtype = "plantlike",