Change crafting guide recipe to prevent conflicts and add book group in its nodedef
This commit is contained in:
parent
f5cdb5b7aa
commit
7ef1083a3c
@ -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] = {}
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user