Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tank = peripheral.wrap("right")
- inventory = tank.getTanks()
- name = inventory[1].name
- amount = inventory[1].amount
- capacity = inventory[1].capacity
- -- fill = amount / capactiy * 100
- print(name)
- print(amount)
- print(capacity)
- print(fill)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement