Forum

ComputerCraft + App...
 
Notifications
Clear all

ComputerCraft + Applied Energistics: get list of items and their count

1 Posty
1 Users
0 Reactions
2,358 Widok
0
Topic starter

ComputerCraft + Applied Energistics: get list of items and their count

1 Answer
0
Topic starter
1
2
3
4
5
6
7
lp = peripheral.wrap("back")
list = lp.getAvailableItems()
 
for number, item in pairs(list) do
  print(item.fingerprint.id..","..item.size)
 sleep(0.5)  
end
lp = peripheral.wrap("back")
list = lp.getAvailableItems()

for number, item in pairs(list) do
  print(item.fingerprint.id..","..item.size)
 sleep(0.5)  
end

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: