Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local periph = peripheral.wrap("back") --wrap your MFSU and store it in a variable, change "back" to match your setup
- local max = periph.getMetadata().energy.capacity
- local now = periph.getMetadata().energy.stored
- print(now .. "/" .. max)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement