From 0999177f88f341653b8ed78e192abf834960a307 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 2 Jun 2018 12:18:01 +0100 Subject: add garlic bread --- food.lua | 15 +++++++++++++++ textures/farming_garlic_bread.png | Bin 0 -> 188 bytes 2 files changed, 15 insertions(+) create mode 100644 textures/farming_garlic_bread.png diff --git a/food.lua b/food.lua index 342460f..9feed98 100644 --- a/food.lua +++ b/food.lua @@ -97,3 +97,18 @@ minetest.register_craft({ {"farming:rose_water", "vessels:glass_bottle"}, }, }) + +--= Garlic Bread + +minetest.register_craftitem("farming:garlic_bread", { + description = S("Garlic Bread"), + inventory_image = "farming_garlic_bread.png", + groups = {flammable = 3}, + on_use = minetest.item_eat(2), +}) + +minetest.register_craft({ + type = "shapeless", + output = "farming:garlic_bread", + recipe = {"group:food_toast", "group:food_garlic_clove", "group:food_garlic_clove"}, +}) diff --git a/textures/farming_garlic_bread.png b/textures/farming_garlic_bread.png new file mode 100644 index 0000000..b760004 Binary files /dev/null and b/textures/farming_garlic_bread.png differ -- cgit v1.2.3