SHOW:
|
|
- or go back to the newest paste.
| 1 | local mon = peripheral.wrap("right")
| |
| 2 | - | local reactor = peripheral.wrap("BigReactors-Reactor_4")
|
| 2 | + | |
| 3 | local reactor = peripheral.wrap("back")
| |
| 4 | - | print("getConnected: ", reactor.getConnected())
|
| 4 | + | |
| 5 | - | print("getActive: ", reactor.getActive())
|
| 5 | + | mon.setCursorPos(1, 1) |
| 6 | - | print("getNumberOfControlRods: ", reactor.getNumberOfControlRods())
|
| 6 | + | mon.write("Connected")
|
| 7 | - | print("getEnergyStored: ", reactor.getEnergyStored())
|
| 7 | + | mon.setCursorPos(32, 1) |
| 8 | - | print("getFuelTemperature: ", reactor.getFuelTemperature())
|
| 8 | + | mon.write(reactor.getConnected()) |
| 9 | - | print("getCasingTemperature: ", reactor.getCasingTemperature())
|
| 9 | + | |
| 10 | - | print("getFuelAmount: ", reactor.getFuelAmount())
|
| 10 | + | mon.setCursorPos(1, 2) |
| 11 | - | print("getWasteAmount: ", reactor.getWasteAmount())
|
| 11 | + | mon.write("Is Active")
|
| 12 | - | print("getFuelAmountMax: ", reactor.getFuelAmountMax())
|
| 12 | + | mon.setCursorPos(32, 2) |
| 13 | - | print("getControlRodName: ", reactor.getControlRodName(0))
|
| 13 | + | mon.write(reactor.getActive()) |
| 14 | - | print("getControlRodLevel: ", reactor.getControlRodLevel(0))
|
| 14 | + | |
| 15 | - | print("getEnergyProducedLastTick: ", reactor.getEnergyProducedLastTick())
|
| 15 | + | mon.setCursorPos(1, 3) |
| 16 | - | print("getCoolantAmount: ", reactor.getCoolantAmount())
|
| 16 | + | mon.write("Number of Control Rods")
|
| 17 | - | print("getCoolantType: ", reactor.getCoolantType())
|
| 17 | + | mon.setCursorPos(32, 3) |
| 18 | - | print("getHotFluidAmount: ", reactor.getHotFluidAmount())
|
| 18 | + | mon.write(reactor.getNumberOfControlRods()) |
| 19 | - | print("getHotFluidType: ", reactor.getHotFluidType())
|
| 19 | + | |
| 20 | - | print("getFuelReactivity: ", reactor.getFuelReactivity())
|
| 20 | + | mon.setCursorPos(1, 4) |
| 21 | - | print("getFuelConsumedLastTick: ", reactor.getFuelConsumedLastTick())
|
| 21 | + | mon.write("Energy Stored (RF)")
|
| 22 | - | print("isActivelyCooled: ", reactor.isActivelyCooled())
|
| 22 | + | mon.setCursorPos(32, 4) |
| 23 | mon.write(reactor.getEnergyStored()) | |
| 24 | - | -- reactor.setActive(boolean) |
| 24 | + | |
| 25 | - | -- reactor.setAllControlRodLevels(level 0-100) |
| 25 | + | mon.setCursorPos(1, 5) |
| 26 | - | -- reactor.setControlRodLevel(index, level 0-100) |
| 26 | + | mon.write("Fuel Temperature (C)")
|
| 27 | - | -- doEjectWaste() |
| 27 | + | mon.setCursorPos(32, 5) |
| 28 | mon.write(reactor.getFuelTemperature()) | |
| 29 | - | sleep(5) |
| 29 | + | |
| 30 | mon.setCursorPos(1, 6) | |
| 31 | mon.write("Casing Temperature (C)")
| |
| 32 | mon.setCursorPos(32, 5) | |
| 33 | mon.write(reactor.getCasingTemperature()) | |
| 34 | ||
| 35 | mon.setCursorPos(1, 7) | |
| 36 | mon.write("Amount of Fuel (mb)")
| |
| 37 | mon.setCursorPos(32, 7) | |
| 38 | mon.write(reactor.getFuelAmount()) | |
| 39 | ||
| 40 | mon.setCursorPos(1, 8) | |
| 41 | mon.write("Amount of Waste (mb)")
| |
| 42 | mon.setCursorPos(32, 8) | |
| 43 | mon.write(reactor.getWasteAmount()) | |
| 44 | ||
| 45 | mon.setCursorPos(1, 9) | |
| 46 | mon.write("Maximum fuel possible (mb)")
| |
| 47 | mon.setCursorPos(32, 9) | |
| 48 | mon.write(reactor.getFuelAmountMax()) | |
| 49 | ||
| 50 | mon.setCursorPos(1, 12) | |
| 51 | mon.write("Energy produced Last Tick (RF)")
| |
| 52 | mon.setCursorPos(32, 12) | |
| 53 | mon.write(reactor.getEnergyProducedLastTick()) | |
| 54 | ||
| 55 | mon.setCursorPos(1, 13) | |
| 56 | mon.write("Amount of Coolant (mb)")
| |
| 57 | mon.setCursorPos(32, 13) | |
| 58 | mon.write(reactor.getCoolantAmount()) | |
| 59 | ||
| 60 | mon.setCursorPos(1, 14) | |
| 61 | mon.write("Type of Coolant")
| |
| 62 | mon.setCursorPos(32, 14) | |
| 63 | mon.write(reactor.getCoolantType()) | |
| 64 | ||
| 65 | mon.setCursorPos(1, 15) | |
| 66 | mon.write("Amount of Hot Fluid (mb)")
| |
| 67 | mon.setCursorPos(32, 15) | |
| 68 | mon.write(reactor.getHotFluidAmount()) | |
| 69 | ||
| 70 | mon.setCursorPos(1, 16) | |
| 71 | mon.write("Type of Hot Fluid")
| |
| 72 | mon.setCursorPos(32, 16) | |
| 73 | mon.write(reactor.getHotFluidType()) | |
| 74 | ||
| 75 | mon.setCursorPos(1, 17) | |
| 76 | mon.write("Fuel Reactivity")
| |
| 77 | mon.setCursorPos(32, 17) | |
| 78 | mon.write(reactor.getFuelReactivity()) | |
| 79 | ||
| 80 | mon.setCursorPos(1, 18) | |
| 81 | mon.write("Fuel Consumed Last Tick")
| |
| 82 | mon.setCursorPos(32, 18) | |
| 83 | mon.write(reactor.getFuelConsumedLastTick()) | |
| 84 | ||
| 85 | mon.setCursorPos(1, 19) | |
| 86 | mon.write("Is Actively Cooled")
| |
| 87 | mon.setCursorPos(32, 19) | |
| 88 | mon.write(reactor.isActivelyCooled()) | |
| 89 | ||
| 90 | --reactor.setActive(boolean) | |
| 91 | --reactor.setAllControlRodLevels(level 0-100) | |
| 92 | --reactor.setControlRodLevel(index, level 0-100) | |
| 93 | --doEjectWaste() | |
| 94 | ||
| 95 | sleep(1) | |
| 96 | end |