diff options
Diffstat (limited to 'blueberry.lua')
-rw-r--r-- | blueberry.lua | 17 |
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", |