Lemur

bridgeman

Nov 28th, 2015
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. -- Really basic bridge builder, because lazy
  2.  
  3. local t = turtle
  4. local slot = 1
  5. local slots = 16
  6. local max = 64
  7. local distance = max * slots
  8.  
  9. for block = 0, distance do
  10.   if block % 64 == 0 then
  11.     t.select(slot)
  12.     slot = slot + 1
  13.   end
  14.  
  15.   t.forward()
  16.   t.placeDown()
  17. end
Advertisement
Add Comment
Please, Sign In to add comment