antonsavov

Untitled

Feb 12th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. --tutorial 26 tech&science
  2. os.loadAPI('texthelp')
  3. local text = "If you bridge between two buildings you get 4 varieties of TECH & SCIENCE SPACES depending on the orientation and resource you use. This here is a FabLab."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'TECH', color = c},
  7. {word = 'SCIENCE', color = c},
  8. {word = 'SPACES', color = c}
  9. }
  10. local monitor = peripheral.wrap('top')
  11. monitor.setTextScale(1.5)
  12. local w,h = monitor.getSize()
  13. texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment