Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. local periph = peripheral.wrap("back") --wrap your MFSU and store it in a variable, change "back" to match your setup
  2. local max = periph.getMetadata().energy.capacity
  3. local now = periph.getMetadata().energy.stored
  4. print(now .. "/" .. max)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement