From bdaf8d69ff41091a993d8c173bee82e9231e8297 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 12 Mar 2018 17:20:18 +0000 Subject: added food groups for better crafting recipes --- init.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index 67c74e1..cd2de0b 100644 --- a/init.lua +++ b/init.lua @@ -56,7 +56,7 @@ minetest.register_node("wine:glass_wine", { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0.3, 0.2} }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1}, + groups = {food_wine = 1, vessel = 1, dig_immediate = 3, attached_node = 1}, sounds = default.node_sound_glass_defaults(), on_use = minetest.item_eat(2), }) @@ -110,7 +110,7 @@ minetest.register_node("wine:glass_wheat_beer", { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0.3, 0.2} }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1}, + groups = {food_beer = 1, vessel = 1, dig_immediate = 3, attached_node = 1}, sounds = default.node_sound_glass_defaults(), on_use = minetest.item_eat(2), }) @@ -131,7 +131,7 @@ minetest.register_node("wine:glass_beer", { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0.3, 0.2} }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1}, + groups = {food_beer = 1, vessel = 1, dig_immediate = 3, attached_node = 1}, sounds = default.node_sound_glass_defaults(), on_use = minetest.item_eat(2), }) @@ -152,7 +152,7 @@ minetest.register_node("wine:glass_mead", { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0.3, 0.2} }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1}, + groups = {food_mead = 1, vessel = 1, dig_immediate = 3, attached_node = 1}, sounds = default.node_sound_glass_defaults(), on_use = minetest.item_eat(4), }) @@ -173,7 +173,7 @@ minetest.register_node("wine:glass_cider", { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0.3, 0.2} }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1}, + groups = {food_cider = 1, vessel = 1, dig_immediate = 3, attached_node = 1}, sounds = default.node_sound_glass_defaults(), on_use = minetest.item_eat(2), }) @@ -194,7 +194,7 @@ minetest.register_node("wine:glass_tequila", { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0.3, 0.2} }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1}, + groups = {food_tequila = 1, vessel = 1, dig_immediate = 3, attached_node = 1}, sounds = default.node_sound_glass_defaults(), on_use = minetest.item_eat(2), }) -- cgit v1.2.3