Advertisement
Guest User

show-core

a guest
Jun 16th, 2021
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.11 KB | None | 0 0
  1. local core = peripheral.wrap("right")
  2. local monitor = peripheral.wrap("bottom")
  3. term.redirect(monitor)
  4.  
  5. while true do
  6. monitor.clear()
  7.  
  8. -- find("particle_generator")
  9. local stabilizer = core.getReactorInfo()
  10.  
  11. --for _, method in pairs(stabilizer) do
  12. --print(method)
  13. --end
  14. print("Fuel Conversion Rate: "..stabilizer.fuelConversionRate.." nb/t")
  15. print("         temperature: "..stabilizer.temperature)
  16. print("       fieldStrength: "..stabilizer.fieldStrength)
  17. print("      fieldDrainRate: "..stabilizer.fieldDrainRate)
  18. print("      generationRate: "..stabilizer.generationRate.." RF/t")
  19. print("              status: "..stabilizer.status)
  20. print("    energySaturation: "..stabilizer.energySaturation)
  21. print("   maxFuelConversion: "..stabilizer.maxFuelConversion)
  22. print("      fuelConversion: "..stabilizer.fuelConversion.."("..stabilizer.fuelConversion*100/stabilizer.maxFuelConversion.."%)")
  23. print("    maxFieldStrength: "..stabilizer.maxFieldStrength)
  24. print(" maxEnergySaturation: "..stabilizer.maxEnergySaturation)
  25. print("      fieldStrength%: "..stabilizer.fieldStrength*100/stabilizer.maxFieldStrength)
  26. sleep(2)
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement