Change crafting guide recipe to prevent conflicts and add book group in its nodedef

This commit is contained in:
Jean-Patrick Guerrero 2016-02-29 17:19:13 +01:00
parent f5cdb5b7aa
commit 7ef1083a3c
2 changed files with 2 additions and 1 deletions

View File

@ -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] = {}

View File

@ -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({