Advertisement
PasaP

Infinity Reloaded Creative Tank

Sep 18th, 2021 (edited)
989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tankIn=peripheral.wrap("right")
  2. tankCreative=peripheral.wrap("top")
  3. tankOut=peripheral.wrap("left")
  4. printer=peripheral.wrap("back")
  5.  
  6. amount=9999999999
  7.  
  8. fluidName=tankIn.getMetadata().tanks[1].name
  9. tankIn.pushFluid("top", amount, fluidName)
  10. tankCreative.pushFluid("right", amount, fluidName)
  11. amount1=tankCreative.pushFluid("left", amount, fluidName)
  12. amount2=tankCreative.pushFluid("left", amount, fluidName)
  13. print(amount1+amount2)
  14. printer.newPage()
  15. printer.setPageTitle(fluidName)
  16. printer.endPage()
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement