enderpro100

Test scan chest

Dec 1st, 2020
797
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- Program : Test scan chest
  2. --- Author : LightKnight51
  3. --- Last modification : 12/01/2020
  4.  
  5. --- For testing only, updates in further
  6.  
  7.  
  8.  
  9. --- Variables
  10.  
  11. local fuel = 0
  12.  
  13. local bExit = false
  14.  
  15. --- Functions
  16.  
  17. function testCraft()
  18.     turtle.craft()
  19.     tank = peripheral.wrap("top")
  20.     inventory = tank.getTanks()
  21.     name = inventory[1].name
  22.     print(name)
  23. end
  24.  
  25. testCraft()
RAW Paste Data