antonsavov

Untitled

Feb 12th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. --tutorial 26 tech&science
  2. os.loadAPI('texthelp')
  3. local text = "When you bridge between two buildings you get TECH & SCIENCE SPACES such as this FabLab in the urban version. The nature version will surprise you."
  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