antonsavov

Untitled

Feb 12th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 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&SCIENCE', color = c},
  7. {word = 'SPACES', color = c}
  8. }
  9. local monitor = peripheral.wrap('top')
  10. monitor.setTextScale(1.5)
  11. local w,h = monitor.getSize()
  12. texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment