From 6d499ae971a66541488d2ea511ed4dbc80612b69 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 12 Aug 2012 22:28:45 -0400 Subject: [PATCH 1/2] Slimmed down wire junctions a bit. --- mesecons/wires.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesecons/wires.lua b/mesecons/wires.lua index 12b5de7..b85c2f6 100644 --- a/mesecons/wires.lua +++ b/mesecons/wires.lua @@ -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} From 68342c79d54b0efb4d9a680c17fbe2bb33be440a Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 12 Aug 2012 22:31:35 -0400 Subject: [PATCH 2/2] Made X <-> Z bends not produce junction bump (only appears on T-junctions, crossings, etc) --- mesecons/wires.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesecons/wires.lua b/mesecons/wires.lua index b85c2f6..e4c7e6a 100644 --- a/mesecons/wires.lua +++ b/mesecons/wires.lua @@ -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 = {