Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cache = {peripheral.find("powered_tile")}
- --p = peripheral.wrap("right")
- --local items = {}
- for r,u in pairs(cache) do
- scan = u.getStackInSlot(2)
- if scan then
- if #scan.enchanted_book == 1 then
- print(scan.enchanted_book[1].fullName)
- else
- print("")
- for k,v in pairs(scan.enchanted_book) do
- print(v.fullName)
- end
- --print("")
- end
- else
- print("-Vide")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement