Advertisement
FFS2309

floor

Apr 10th, 2021 (edited)
790
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.89 KB | None | 0 0
  1. for x=1,31,1 do
  2.     if turtle.getItemCount(turtle.getSelectedSlot()) == 0 then
  3.      turtle.select(turtle.getSelectedSlot()%16 +1)  
  4.     end
  5.     turtle.placeDown()
  6.     for y=1,39,1 do
  7.         if turtle.getItemCount(turtle.getSelectedSlot()) == 0 then
  8.          turtle.select(turtle.getSelectedSlot()%16 + 1)  
  9.         end
  10.         turtle.forward()
  11.         turtle.placeDown()
  12.     end
  13.     turtle.turnRight()
  14.     turtle.forward()
  15.     turtle.turnRight()
  16.    
  17.     if turtle.getItemCount(turtle.getSelectedSlot()) == 0 then
  18.      turtle.select(turtle.getSelectedSlot()%16 +1)  
  19.     end
  20.     turtle.placeDown()
  21.     for y=1,39,1 do
  22.         if turtle.getItemCount(turtle.getSelectedSlot()) == 0 then
  23.          turtle.select(turtle.getSelectedSlot()%16 + 1)  
  24.         end
  25.         turtle.forward()
  26.         turtle.placeDown()
  27.     end
  28.     turtle.turnLeft()
  29.     turtle.forward()
  30.     turtle.turnLeft()
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement