Add copper, and the beginnings of a machine system.
This commit is contained in:
parent
30ba6e5385
commit
1e897665bb
69 changed files with 976 additions and 135 deletions
|
|
@ -33,7 +33,7 @@ function ns.update_stair(pos, basename, leaf)
|
|||
node.param2 = minetest.dir_to_facedir(-neighbors[1]:rotate(vector.new(0, math.pi /2, 0)))
|
||||
minetest.swap_node(pos, node)
|
||||
elseif #neighbors > 1 then
|
||||
-- Just ue the first two neighbors.
|
||||
-- Just use the first two neighbors.
|
||||
if neighbors[1].x ~= 0 and neighbors[2].x ~= 0 or neighbors[1].z ~= 0 and neighbors[2].z ~= 0 then
|
||||
node.name = basename.."_stair"
|
||||
node.param2 = minetest.dir_to_facedir(neighbors[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue