Skip to content

Commit

Permalink
add {drink=1} group to glasses
Browse files Browse the repository at this point in the history
  • Loading branch information
tenplus1 committed Jun 30, 2020
1 parent 327e110 commit 863bf0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ for n = 1, #beverages do
},
groups = {
vessel = 1, dig_immediate = 3,
attached_node = 1, alcohol = 1
attached_node = 1, alcohol = 1, drink = 1
},
sounds = snd_g,
on_use = function(itemstack, user, pointed_thing)
Expand Down Expand Up @@ -215,7 +215,7 @@ end
minetest.override_item("wine:glass_wine", {
groups = {
food_wine = 1, vessel = 1, dig_immediate = 3,
attached_node = 1, alcohol = 1
attached_node = 1, alcohol = 1, drink = 1
}
})

Expand Down

0 comments on commit 863bf0d

Please sign in to comment.