forked from Mirrorlandia_minetest/mesecons
Merge pull request #22 from VanessaE/master
slim down mesecon wires' junction bumps
This commit is contained in:
commit
736f40bfb4
@ -40,8 +40,8 @@ else -- NEW STYLE WIRES
|
||||
-- y always means y+
|
||||
|
||||
box_center = {-1/16, -.5, -1/16, 1/16, -.5+1/16, 1/16}
|
||||
box_bump1 = { -3/16, -8/16, -3/16, 3/16, -13/32, 3/16 }
|
||||
box_bump2 = { -5/32, -13/32, -5/32, 5/32, -12/32, 5/32 }
|
||||
box_bump1 = { -2/16, -8/16, -2/16, 2/16, -13/32, 2/16 }
|
||||
box_bump2 = { -3/32, -13/32, -3/32, 3/32, -12/32, 3/32 }
|
||||
|
||||
box_xp = {1/16, -.5, -1/16, 8/16, -.5+1/16, 1/16}
|
||||
box_zp = {-1/16, -.5, 1/16, 1/16, -.5+1/16, 8/16}
|
||||
@ -87,7 +87,8 @@ for zmy=0, 1 do
|
||||
if zpy == 1 then table.insert(nodebox, box_zpy) end
|
||||
if xmy == 1 then table.insert(nodebox, box_xmy) end
|
||||
if zmy == 1 then table.insert(nodebox, box_zmy) end
|
||||
if adjx and adjz then
|
||||
nobump = xp+zp+xm+zm
|
||||
if adjx and adjz and (nobump > 2) then
|
||||
table.insert(nodebox, box_bump1)
|
||||
table.insert(nodebox, box_bump2)
|
||||
tiles_off = {
|
||||
|
Loading…
Reference in New Issue
Block a user