Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor1 = peripheral.wrap("top")
- monitor2 = peripheral.wrap("monitor_0")
- --monitor3 = peripheral.wrap("monitor_1")
- react1 = peripheral.wrap("BigReactors-Reactor_0")
- react2 = peripheral.wrap("BigReactors-Reactor_1")
- react3 = peripheral.wrap("BigReactors-Reactor_2")
- AnzReact = 3
- print(react1, react2, react3)
- print(react1.getConnected, react2.getConnected, react3.getConnected)
- function HoleDaten(reactor)
- local bat = reactor.getEnergyStats()
- local fuel = reactor.getFuelStats()
- storedThisTick = bat.energyStored
- lastRFT = bat.energyProducedLastTick
- capacity = bat.energyCapacity
- rod = reactor.getControlRodLevel(0)
- fuelUsage = fuel.fuelConsumedLastTick / 1000
- waste = reactor.getWasteAmount()
- fuelTemp = reactor.getFuelTemperature()
- caseTemp = reactor.getCasingTemperature()
- print("Akku: ", storedThisTick)
- print("Leistung: ", lastRFT)
- print(" ")
- end
- while true do
- HoleDaten(react1)
- HoleDaten(react2)
- HoleDaten(react3)
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement