diff options
author | Jeija <norrepli@googlemail.com> | 2012-08-12 22:27:41 -0700 |
---|---|---|
committer | Jeija <norrepli@googlemail.com> | 2012-08-12 22:27:41 -0700 |
commit | 736f40bfb42a4a4b39a504b71c524fb988a93ca7 (patch) | |
tree | a0ba21aa8a2a6ea26dbaa3002c8c26cb0413e1de | |
parent | fc74976f9c554ffa964dc0553acabc538bd67ed9 (diff) | |
parent | 68342c79d54b0efb4d9a680c17fbe2bb33be440a (diff) | |
download | mesecons-736f40bfb42a4a4b39a504b71c524fb988a93ca7.tar mesecons-736f40bfb42a4a4b39a504b71c524fb988a93ca7.tar.gz mesecons-736f40bfb42a4a4b39a504b71c524fb988a93ca7.tar.bz2 mesecons-736f40bfb42a4a4b39a504b71c524fb988a93ca7.tar.xz mesecons-736f40bfb42a4a4b39a504b71c524fb988a93ca7.zip |
Merge pull request #22 from VanessaE/master
slim down mesecon wires' junction bumps
-rw-r--r-- | mesecons/wires.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mesecons/wires.lua b/mesecons/wires.lua index 12b5de7..e4c7e6a 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} @@ -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 = { |