removed unused code
updated readme
This commit is contained in:
parent
fd9b4c3085
commit
68a6676d2e
@ -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
|
||||
-------
|
||||
|
@ -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",
|
||||
|
2
init.lua
2
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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user