summaryrefslogtreecommitdiff
path: root/blueberry.lua
diff options
context:
space:
mode:
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",