Dr3bin

Create Crusher Dropper v0.1

Apr 13th, 2021 (edited)
478
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. waitTime = 60
  2.  
  3. function checkForItems()
  4.     if turtle.getItemCount() < 1 then
  5.         if turtle.getSelectedSlot() == 16 then
  6.             print("Not enough items")
  7.             os.exit()
  8.         end
  9.         turtle.select(turtle.getSelectedSlot() +  1)
  10.         checkForItems()        
  11.     end
  12. end
  13.  
  14. turtle.select(1)
  15. while true do
  16.     checkForItems()
  17.     turtle.dropDown(turtle.getItemCount())    
  18.     for i = 1, waitTime do
  19.         term.clear()
  20.         term.setCursorPos(1,1)
  21.         print("Running...")
  22.         term.setCursorPos(1,2)
  23.         print("Dropping more in " .. waitTime - i .. " seconds.")
  24.         sleep(1)
  25.     end
  26. end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×