Advertisement
FreetheFr0gs

GoldenCarrotMaker

Apr 30th, 2023
1,193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. while true do
  2.     turtle.select(1)
  3.     cCnt = turtle.getItemCount()
  4.         if cCnt == 0 then
  5.             turtle.suck(2)
  6.         end
  7.         if cCnt == 1 then
  8.             turtle.suck(1)
  9.         end
  10.        
  11.         if cCnt == 2 then
  12.             print("2 Carrots")
  13.         end
  14.  
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement