Advertisement
jkCBWPnet

Inventory

May 15th, 2022
595
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. --inventory
  2. --my first lua script...
  3.  
  4. print( "There is "..(turtle.getFuelLevel()).." fuel" )
  5. for n=1,16 do
  6.     print( "There are "..(turtle.getItemCount(n)).." items in slot "..(n) )
  7.     end
  8. for n=1,16 do
  9.     turtle.select(n)
  10.     end
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement