diff --git a/README.md b/README.md index 54da293..e3dc1f3 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,7 @@ Code for machine based off of Noncubic by yves_de_beck mycorners adds corners to many default blocks. To use simply craft a corner machine. Then put in wood, stone or stone brick. Click Make. This gives you your corner items. - -You can either install the corners in the machine or craft a corner tool and install the corners to blocks already placed. - -Corner Tool -place the corners beside the corner tool -left click installs the corners -right click rotates the block +Then craft a corner installer machine. Put in the block you want a corner on and the corner items you want installed. Click Make. Craft ------- diff --git a/cornertool.lua b/cornertool.lua index a785f87..2578603 100644 --- a/cornertool.lua +++ b/cornertool.lua @@ -1,13 +1,5 @@ local USES = 200 -local function rotate(x, max) - x = x + 1 - if x > max then - x = 0 - end - return x -end - minetest.register_tool( "mycorners:corner_tool",{ description = "Corner Tool", inventory_image = "mycorners_cornertool.png", diff --git a/init.lua b/init.lua index 8205596..09f0f78 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,5 @@ mycorners = {} ---dofile(minetest.get_modpath("mycorners").."/cornertool.lua") +dofile(minetest.get_modpath("mycorners").."/cornertool.lua") dofile(minetest.get_modpath("mycorners").."/nodes.lua") dofile(minetest.get_modpath("mycorners").."/machine.lua") dofile(minetest.get_modpath("mycorners").."/register.lua")