diff --git a/crops/carrot.lua b/crops/carrot.lua index 7df88ac..a16dc5a 100644 --- a/crops/carrot.lua +++ b/crops/carrot.lua @@ -22,7 +22,7 @@ minetest.register_craftitem("farming:carrot_juice", { description = S("Carrot Juice"), inventory_image = "farming_carrot_juice.png", on_use = minetest.item_eat(4, "vessels:drinking_glass"), - groups = {vessel = 1}, + groups = {vessel = 1, drink = 1}, }) minetest.register_craft({ diff --git a/crops/coffee.lua b/crops/coffee.lua index 2e2ed73..2e47d6a 100644 --- a/crops/coffee.lua +++ b/crops/coffee.lua @@ -24,7 +24,7 @@ minetest.register_node("farming:coffee_cup", { type = "fixed", fixed = {-0.25, -0.5, -0.25, 0.25, 0.25, 0.25} }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1}, + groups = {vessel = 1, dig_immediate = 3, attached_node = 1, drink = 1}, on_use = minetest.item_eat(2, "vessels:drinking_glass"), sounds = default.node_sound_glass_defaults(), }) diff --git a/crops/pineapple.lua b/crops/pineapple.lua index 5f3e078..d1583ad 100644 --- a/crops/pineapple.lua +++ b/crops/pineapple.lua @@ -48,7 +48,7 @@ minetest.register_craftitem("farming:pineapple_juice", { description = S("Pineapple Juice"), inventory_image = "farming_pineapple_juice.png", on_use = minetest.item_eat(4, "vessels:drinking_glass"), - groups = {vessel = 1}, + groups = {vessel = 1, drink = 1}, }) minetest.register_craft({ diff --git a/crops/raspberry.lua b/crops/raspberry.lua index 8c909e4..ba2b8ac 100644 --- a/crops/raspberry.lua +++ b/crops/raspberry.lua @@ -18,7 +18,7 @@ minetest.register_craftitem("farming:smoothie_raspberry", { description = S("Raspberry Smoothie"), inventory_image = "farming_raspberry_smoothie.png", on_use = minetest.item_eat(2, "vessels:drinking_glass"), - groups = {vessel = 1}, + groups = {vessel = 1, drink = 1}, }) minetest.register_craft({ diff --git a/food.lua b/food.lua index 5d65013..fca34d3 100644 --- a/food.lua +++ b/food.lua @@ -242,7 +242,7 @@ minetest.register_craft({ minetest.register_craftitem("farming:cactus_juice", { description = S("Cactus Juice"), inventory_image = "farming_cactus_juice.png", - groups = {vessel = 1}, + groups = {vessel = 1, drink = 1}, on_use = function(itemstack, user, pointed_thing) if user then if math.random(1, 5) == 1 then