Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Init
- do
- version = 0.1
- loopcount = 0
- end
- -- Header
- do
- term.clear()
- print("-------------------------------")
- print("ItemID Test ver" .. version)
- print("-------------------------------")
- print("")
- end
- -- Main
- do
- print("Loop count: ",loopcount)
- end
- for loopcount =< 16
- local currentitem = turtle.getItemDetail (1)
- if currentitem then
- print("Item name: ", currentitem.name)
- print("Item damage value: ", currentitem.damage)
- print("Item count: ", currentitem.count)
- loopcount = loopcount + 1
- end
- goto main
- end
Advertisement
Add Comment
Please, Sign In to add comment