Advertisement
lolxorlol

CraftBamboo

Jan 19th, 2022 (edited)
758
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local input = peripheral.wrap("top")
  2.  
  3. function craftAndTrade()
  4.     turtle.transferTo(2, 9)
  5.     turtle.transferTo(6, 9)
  6.     turtle.craft()
  7.     turtle.drop()
  8. end
  9.  
  10. while true do
  11.   local item = input.getItemDetail(1)
  12.   if(item ~= nil and item.count > 17) then
  13.     turtle.suckUp(18)
  14.     craftAndTrade()
  15.   end
  16.   os.sleep(2)
  17. end
  18.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement