daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Nov 8th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. run = 1
  3. while true do
  4.  
  5. if turtle.getFuelLevel()<5 do
  6.     turtle.select(1)
  7.     turtle.refuel()
  8.     turtle.refuel()
  9.     turtle.refuel()
  10. end
  11.  
  12. modem = peripheral.wrap("right")
  13. modem.open(0)
  14. event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pulEvent("modem_message")
  15. modem.transmit(0, 1, "Hello world!")
  16.     while run==1 do
  17.  
  18.  
  19.     for i=1,3 do   
  20.     for i=1,6 do
  21.         for i=1,6 do
  22.             turtle.dig()
  23.             turtle.up()
  24.         end
  25.         for i=1,5 do
  26.         turtle.down()
  27.         end
  28.    
  29.         turtle.forward()
  30.         turtle.select(2)
  31.         turtle.placeDown()
  32.         turtle.forward()
  33.         turtle.down()
  34.     end
  35.  
  36.     turtle.turnLeft()
  37.     turtle.forward()
  38.     turtle.forward()
  39.     turtle.turnLeft()
  40.    
  41.     if turtle.getFuelLevel()<20 do
  42.         turtle.select(1)
  43.         turtle.refuel()
  44.         turtle.refuel()
  45.         turtle.refuel()
  46.     end
  47.  
  48.     for i=1,6 do
  49.         for i=1,6 do
  50.             turtle.dig()
  51.             turtle.up()
  52.         end
  53.         for i=1,5 do
  54.             turtle.down()
  55.         end
  56.    
  57.         turtle.forward()
  58.         turtle.select(2)
  59.         turtle.placeDown()
  60.         turtle.forward()
  61.         turtle.down()
  62.     end
  63.  
  64.     turtle.turnRight()
  65.     turtle.forward()
  66.     turtle.forward()
  67.     turtle.turnRight()
  68.     end
  69. turtle.turnRight()
  70.  
  71. for i=1,12 do
  72.     turtle.forward()
  73. end
  74. turtle.turnLeft()
  75.  
  76. end
  77. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top