summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--beanpole.lua8
-rw-r--r--wheat.lua2
2 files changed, 9 insertions, 1 deletions
diff --git a/beanpole.lua b/beanpole.lua
index 895b6fa..8cdfaf3 100644
--- a/beanpole.lua
+++ b/beanpole.lua
@@ -22,6 +22,14 @@ minetest.register_craftitem("farming:beans", {
end
})
+-- Beans can be used for green dye
+minetest.register_craft({
+ output = "dye:green",
+ recipe = {
+ {'farming:beans'},
+ }
+})
+
-- Beanpole
minetest.register_node("farming:beanpole", {
diff --git a/wheat.lua b/wheat.lua
index f90dc31..1222cf6 100644
--- a/wheat.lua
+++ b/wheat.lua
@@ -79,7 +79,7 @@ minetest.register_craft({
minetest.register_craftitem("farming:bread", {
description = "Bread",
inventory_image = "farming_bread.png",
- on_use = minetest.item_eat(4),
+ on_use = minetest.item_eat(5),
})
minetest.register_craft({