local monitor = peripheral.wrap("monitor_0") local reactor=peripheral.wrap("bottom") local turbine=peripheral.wrap("BigReactors-Turbine_0") monitor.setTextScale(2) monitor.setCursorPos(2,1) monitor.write("AN") monitor.setCursorPos(2,4) monitor.write("AUS") monitor.clear() while true do event, side, x, y=os.pullEvent("monitor_touch") monitor.setCursorPos(2,7) monitor.write(turbine.getEnergyProducedLastTick()) monitor.setCursorPos(2,10) monitor.write(turbine.getRotorSpeed()) if x>1 and y==1 then reactor.setActive(true) elseif x>1 and y==4 then reactor.setActive(false) end end