Advertisement
Ubidibity

kelceyjob1

Aug 13th, 2014
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.97 KB | None | 0 0
  1. -- find center of dome, step back and place turtle facing left.
  2. -- Turtle will move forward, and through a series of right turns and
  3. -- up commands will build the column out of hardened glass.
  4. -- Requires 1 stack for every 8 levels.  First draft will assume dome is 32 blocks or less, ergo
  5. -- slots 1-4 are hardened glass
  6. -- slots 5-16 (as needed) will be computers
  7. -- turtle will end up under dome (which should be open already)
  8.  
  9. glass=1
  10.  
  11. for y=1, 4 do
  12.   turtle.select(glass)
  13.   for x=1, 8 do
  14.     if not turtle.detectUp() then
  15.       turtle.up()
  16.       turtle.placeDown()
  17.       turtle.forward()
  18.     end
  19.     if x=1 or x=3 or x=5 or x=7 then
  20.       turtle.turnRight()
  21.     end
  22.   end
  23.   turtle.up()
  24.   glass=glass+1
  25. end
  26. turtle.turnRight()
  27. turtle.forward()
  28. -- may want to do a 360 and fill in with glass as we should be at top of dome now
  29. while turtle.down() do
  30. -- still need to add slots for computer parts, but need to figure out how many and what
  31. -- orientation makes sense.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement