Advertisement
CaptainSpaceCat

Detail

May 26th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. local tArgs = {...}
  2. if #tArgs == 0 then
  3.   tArgs[1] = 1
  4. end
  5. turtle.select(tonumber(tArgs[1]))
  6. local d = turtle.getItemDetail()
  7. print(d.name)
  8. print("  >"..d.damage)
  9. print("  #"..d.count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement