summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-06-02 12:18:01 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-06-02 12:18:01 +0100
commit0999177f88f341653b8ed78e192abf834960a307 (patch)
tree289842e8203ab7eb4176e8eb93152f211564abc0
parent20f827f4fbee4031aec571628c9096ea75f88fdc (diff)
add garlic bread
-rw-r--r--food.lua15
-rw-r--r--textures/farming_garlic_bread.pngbin0 -> 188 bytes
2 files changed, 15 insertions, 0 deletions
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
--- /dev/null
+++ b/textures/farming_garlic_bread.png
Binary files differ