CaptainSpaceCat

Concrete Mixer

May 14th, 2022 (edited)
118
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SLOT_SLAG = 1
  2. SLOT_GRAVEL = 2
  3. SLOT_CLAY = 3
  4.  
  5. success, data = turtle.inspect()
  6. while not success or not data.name == "storagedrawers:oak_full_drawers_1" do
  7.     turtle.turnLeft()
  8. end
  9. turtle.select(SLOT_SLAG)
  10. turtle.dropUp()
  11. turtle.select(SLOT_GRAVEL)
  12. turtle.drop()
  13. turtle.select(SLOT_CLAY)
  14. turtle.dropDown()
  15.  
  16.  
  17. while true do
  18.     turtle.select(SLOT_SLAG)
  19.     turtle.suckUp(4)
  20.     turtle.select(SLOT_GRAVEL)
  21.     turtle.suck(2)
  22.     turtle.select(SLOT_CLAY)
  23.     turtle.suckDown(2)
  24.  
  25.     turtle.turnRight()
  26.     turtle.select(SLOT_SLAG)
  27.     turtle.drop()
  28.     turtle.select(SLOT_GRAVEL)
  29.     turtle.drop()
  30.     turtle.select(SLOT_CLAY)
  31.     turtle.drop()
  32.     turtle.turnLeft()
  33.  
  34.     sleep(0.5)
  35. end
  36.  
  37.  
RAW Paste Data Copied