From 7ef1083a3c9cd2b9f699a697fd43c9b256f65678 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Mon, 29 Feb 2016 17:19:13 +0100 Subject: [PATCH] Change crafting guide recipe to prevent conflicts and add book group in its nodedef --- craftguide.lua | 1 + recipes.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/craftguide.lua b/craftguide.lua index 0695f81..abb2b65 100644 --- a/craftguide.lua +++ b/craftguide.lua @@ -143,6 +143,7 @@ minetest.register_craftitem("xdecor:crafting_guide", { inventory_image = "xdecor_crafting_guide.png", wield_image = "xdecor_crafting_guide.png", stack_max = 1, + groups = {book=1}, on_use = function(itemstack, user) local player_name = user:get_player_name() datas[player_name] = {} diff --git a/recipes.lua b/recipes.lua index bdc22e3..c9a2801 100644 --- a/recipes.lua +++ b/recipes.lua @@ -58,7 +58,7 @@ minetest.register_craft({ minetest.register_craft({ output = "xdecor:crafting_guide", type = "shapeless", - recipe = {"default:book", "dye:blue"} + recipe = {"default:book"} }) minetest.register_craft({