From 93eadfd7f0fd723fe864274af1f80d7b8b1dfe97 Mon Sep 17 00:00:00 2001 From: "tai@streamux" Date: Sun, 5 Mar 2017 17:44:12 +0000 Subject: [PATCH] change recipe --- init.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index eaea011..224aabc 100644 --- a/init.lua +++ b/init.lua @@ -261,6 +261,7 @@ minetest.register_privilege("editor", "Allow player to edit books with the Magic minetest.register_craftitem("books:magic_pencil", { description = "Magic Pencil", + inventory_image = "default_stick.png", -- FIXME make a proper graphic on_use = function(user, pointedthing, itemstack) -- FIXME check order local pos = pointedthing.under() -- FIXME check local node = minetest.getnode(pos) -- FIXME check @@ -277,10 +278,12 @@ minetest.register_craftitem("books:magic_pencil", { end, }) +-- MAKE IT EXPENSIVE minetest.register_craft({ output = "books:magic_pencil", recipe = { - {"default:stick"} - {"default:mese_crystal_shard"}, + {"group:tree"} + {"group:tree"} + {"default:mese"}, } })