Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitors = {
- main = peripheral.wrap("monitor_0")
- }
- core = {
- temp = 100,
- }
- function write_ln(monitor, str)
- monitors[monitor].write(str)
- local x, y = term.getCursorPos()
- monitors[monitor].setCursorPos(1, y+1)
- end
- function draw_main()
- monitors.main.clear()
- monitors.main.setCursorPos(1,1)
- monitors.main.setCursorBlink(true)
- write_ln("main", "- Chernobl v2 -")
- write_ln("main", "- a v2 -")
- write_ln("main", "- das v2 -")
- end
- draw_main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement