diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-06-02 12:18:01 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-06-02 12:18:01 +0100 |
commit | 0999177f88f341653b8ed78e192abf834960a307 (patch) | |
tree | 289842e8203ab7eb4176e8eb93152f211564abc0 | |
parent | 20f827f4fbee4031aec571628c9096ea75f88fdc (diff) |
add garlic bread
-rw-r--r-- | food.lua | 15 | ||||
-rw-r--r-- | textures/farming_garlic_bread.png | bin | 0 -> 188 bytes |
2 files changed, 15 insertions, 0 deletions
@@ -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 Binary files differnew file mode 100644 index 0000000..b760004 --- /dev/null +++ b/textures/farming_garlic_bread.png |