G2A Many GEOs
SHARE
TWEET

wither.lua

a guest Apr 7th, 2020 193 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function fuel()
  2.   local fuel
  3.   fuel = turtle.getFuelLevel()
  4.   if fuel < 100 then
  5.     turtle.select(16)
  6.     turtle.refuel(10)
  7.     end
  8. end
  9.  
  10. while true do
  11.   fuel()
  12.   turtle.select(1)
  13.   turtle.place()
  14.   turtle.up()
  15.   turtle.place()
  16.   turtle.turnRight()
  17.   turtle.forward()
  18.   turtle.turnLeft()
  19.   turtle.place()
  20.   turtle.turnLeft()
  21.   turtle.forward()
  22.   turtle.forward()
  23.   turtle.turnRight()
  24.   turtle.place()
  25.   turtle.select(2)
  26.   turtle.up()
  27.   turtle.place()
  28.   turtle.turnRight()
  29.   turtle.forward()
  30.   turtle.turnLeft()
  31.   turtle.place()
  32.   turtle.turnRight()
  33.   turtle.forward()
  34.   turtle.turnLeft()
  35.   turtle.place()
  36.   turtle.down()
  37.   turtle.down()
  38.   turtle.turnLeft()
  39.   turtle.forward()
  40.   turtle.turnLeft()
  41.   turtle.forward()
  42.   turtle.forward()
  43.   turtle.turnRight()
  44.   turtle.forward()
  45.   turtle.forward()
  46.   turtle.select(1)
  47.   count1 = turtle.getItemCount()
  48.   if count1 < 16 then
  49.     turtle.suck(32)
  50.   end
  51.   turtle.select(2)
  52.   turtle.up()
  53.   count2 = turtle.getItemCount()
  54.   if count2 < 16 then
  55.     turtle.suck(32)
  56.   end
  57.   turtle.select(16)
  58.   turtle.up()
  59.   count3 = turtle.getItemCount()
  60.   if count3 < 16 then
  61.     turtle.suck(32)
  62.   end
  63.   fuel()
  64.   turtle.down()
  65.   turtle.down()
  66.   turtle.turnRight()
  67.   turtle.turnRight()
  68.   turtle.forward()
  69.   turtle.forward()
  70.   turtle.turnLeft()
  71.   turtle.forward()
  72.   turtle.forward()
  73.   os.sleep(20)
  74. 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