Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon=peripheral.wrap("back")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.setTextScale(3)
- print"Coal Generators: "
- print"Geothermal Generators: "
- print"Wind Mills: "
- print"Water Mills: "
- print"Solar Panels: "
- print"HV Solar Arrays: "
- print"MV Solar Arrays: "
- print"LV Solar Arrays: "
- while true do
- mon.setCursorPos(1,1)
- mon.setTextScale(3)
- os.pullEvent("redstone")
- local rsnpt = rs.getBundledInput("right")
- print("Coal Generators:"..(colors.test(rsnpt,colors.grey) and " On" or " Off"))
- print("Geothermal Generators: "..(colors.test(rsnpt,colors.pink) and " On" or " Off"))
- print("Wind Mills: "..(colors.test(rsnpt,colors.lime) and " On" or " Off"))
- print("Water Mills: "..(colors.test(rsnpt,colors.yellow) and " On" or " Off"))
- print("Solar Panels: "..(colors.test(rsnpt,colors.cyan) and " On" or " Off"))
- print("HV Solar Arrays: "..(colors.test(rsnpt,colors.magenta) and " On" or " Off"))
- print("MV Solar Arrays: "..(colors.test(rsnpt,colors.orange) and " On" or " Off"))
- print("LV Solar Arrays: "..(colors.test(rsnpt,colors.white) and " On" or " Off"))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement