Advertisement
Guest User

Quarry

a guest
Jan 3rd, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.04 KB | None | 0 0
  1. -- Quarry Filler v1.0
  2.  
  3. --Variables
  4. local Loop = 1
  5. local x = 2
  6. local w = 8
  7. local full = 64
  8. local Lower = 16
  9. local Upper = 48
  10. local s1 = turtle.getItemCount(1)
  11. local s2 = turtle.getItemCount(2)
  12. local s11 = turtle.getItemCount(11)
  13. local s12 = turtle.getItemCount(12)
  14. local s13 = turtle.getItemCount(13)
  15. local s14 = turtle.getItemCount(14)
  16. local s15 = turtle.getItemCount(15)
  17. local s16 = turtle.getItemCount(16)
  18.  
  19. --startup
  20. term.clear()
  21. term.setCursorPos(1,1)
  22.  print "Welcome to Quarry Filler 101"
  23.  print " "
  24.  write "Slot 1  | Needs <YourBlock> = " print (full - s1)
  25.  write "Slot 2  | Needs <YourBlock> = " print (Upper - s2)
  26.  write "Slot 11 | Needs <Wood>      = " print (full - s11)
  27.  write "Slot 12 | Needs <Wood>      = " print (full - s12)
  28.  write "Slot 13 | Needs <Wood>      = " print (full - s13)
  29.  write "Slot 14 | Needs <Wood>      = " print (full - s14)
  30.  write "Slot 15 | Needs <Wood>      = " print (full - s15)
  31.  write "Slot 16 | Needs <Wood>      = " print (Lower - s16)  
  32.  os.sleep( 10 )
  33. repeat
  34. Loop = Loop + 1
  35. until Loop == 50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement