From 3768da8e492a1cb10de568617ed382cd8372930c Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Tue, 30 Jun 2020 20:17:23 +0100 Subject: [PATCH] add {drink=1} group to bucket and glass of milk --- cow.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cow.lua b/cow.lua index b8ff87f..dbee0d5 100644 --- a/cow.lua +++ b/cow.lua @@ -157,7 +157,7 @@ minetest.register_craftitem(":mobs:bucket_milk", { inventory_image = "mobs_bucket_milk.png", stack_max = 1, on_use = minetest.item_eat(8, "bucket:bucket_empty"), - groups = {food_milk = 1, flammable = 3}, + groups = {food_milk = 1, flammable = 3, drink = 1}, }) -- glass of milk @@ -165,7 +165,7 @@ minetest.register_craftitem(":mobs:glass_milk", { description = S("Glass of Milk"), inventory_image = "mobs_glass_milk.png", on_use = minetest.item_eat(2, "vessels:drinking_glass"), - groups = {food_milk_glass = 1, flammable = 3, vessel = 1}, + groups = {food_milk_glass = 1, flammable = 3, vessel = 1, drink = 1}, }) minetest.register_craft({