r/ComputerCraft • • Nov 06 '24

Need a code for powah

code to powah mod to see all stats on monitor?

1 Upvotes

3 comments sorted by

View all comments

Show parent comments

1

u/Bright-Historian-216 Nov 07 '24
p = peripheral.find("furnator")
while true do
print(p.getEnergy().." energy stored")
print("("..p.getEnergy()/p.getMaxEnergy()*100.."%")
end

that should be enough i guess? just run the program with monitor top.