diff options
Diffstat (limited to 'support.lua')
-rw-r--r-- | support.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/support.lua b/support.lua index 6002142..cd5bdc3 100644 --- a/support.lua +++ b/support.lua @@ -39,6 +39,14 @@ minetest.register_craftitem("food:strawberry", { })
end)
+node_implement("farming","farming:carrot_item","food:carrot",function()
+minetest.register_craftitem("farming:carrot_item", {
+ description = "Carrot",
+ inventory_image = "farming_carrot.png",
+ on_use = minetest.item_eat(3),
+})
+end)
+
node_implement("farming","farming:rhubarb_item","food:rhubarb",function()
minetest.register_craftitem("food:rhubarb", {
description = "Rhubarb",
@@ -46,6 +54,16 @@ minetest.register_craftitem("food:rhubarb", { })
end)
+node_implement("animalmaterials","animalmaterials:meat_raw","food:meat_raw",function()
+minetest.register_craftitem("food:meat_raw", {
+ description = "Raw meat",
+ image = "animalmaterials_meat_raw.png",
+ on_use = minetest.item_eat(1),
+ groups = { meat=1, eatable=1 },
+ stack_max=25
+})
+end)
+
node_implement("farming","farming:bread","food:bread",function()
|