Advertisement
Goy288

RottenFleshToBlockOfFlesh

Jun 28th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. function transferFlesh(destination)
  2.     if turtle.getItemCount(destination) == 64 then
  3.         turtle.transferTo(destination)
  4.     end
  5. end
  6.  
  7. function toCompatibleSpaces(selected)
  8.     if turtle.getItemCount(selected) ~= 0 then
  9.         turtle.select(selected)
  10.         turtle.transferTo(1)
  11.         turtle.transferTo(2)
  12.         turtle.transferTo(3)
  13.         turtle.transferTo(5)
  14.         turtle.transferTo(6)
  15.         turtle.transferTo(7)
  16.         turtle.transferTo(9)
  17.         turtle.transferTo(10)
  18.         turtle.transferTo(11)
  19.     end
  20. end
  21.  
  22. while true do
  23.     toCompatibleSpaces(4)
  24.     toCompatibleSpaces(8)
  25.     toCompatibleSpaces(12)
  26.     toCompatibleSpaces(13)
  27.     toCompatibleSpaces(14)
  28.     toCompatibleSpaces(15)
  29.     toCompatibleSpaces(16)
  30.     turtle.craft()
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement