Advertisement
PasaP

Infinity Reloaded item transfer rate

Sep 9th, 2021 (edited)
1,307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. p=peripheral.wrap("bottom")
  2. while true do
  3.  
  4. time1=os.time()
  5.  
  6. amount1=p.getItemMeta(2).count
  7.  
  8. sleep(30)
  9.  
  10. amount2=p.getItemMeta(2).count
  11.  
  12. time2=os.time()-time1
  13. difference=math.abs((amount1-amount2)/(time2*1000))
  14. print(difference.." n/t - "..(difference*20).." n/s")
  15.  
  16. end
  17.  
  18. shell.run("lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement