Guest User

Start of Diamond Dupe

a guest
Mar 4th, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. while true do
  2. nolapis = false
  3. lapis1 = turtle.getItemCount(5)
  4. lapis2 = turtle.getItemCount(6)
  5. lapis3 = turtle.getItemCount(9)
  6. lapis4 = turtle.getItemCount(10)
  7. if lapis1 < 2 then
  8. nolapis = true
  9. elseif lapis2 < 2 then
  10. nolapis = true
  11. elseif lapis3 < 2 then
  12. nolapis = true
  13. elseif lapis4 < 2 then
  14. nolapis = true
  15. end
  16. if nolapis == true then
  17. print("No lapis!")
  18. sleep(1)
  19. end
  20. if nolapis == false then
  21. print("Crafting diamond!")
  22. if turtle.craft() == false then
  23. turtle.dropDown(3)
  24. turtle.dropDown(4)
  25. turtle.dropDown(7)
  26. turtle.dropDown(8)
  27. turtle.dropDown(11)
  28. turtle.dropDown(12)
  29. turtle.dropDown(13)
  30. turtle.dropDown(14)
  31. turtle.dropDown(15)
  32. turtle.dropDown(16)
  33. end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment