Advertisement
antonsavov

Untitled

Dec 14th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. --tutorial 06 new neighbourhood
  2. os.loadAPI('texthelp')
  3. local text = "The city of Heidelberg will develop a large new neighbourhood. /n With IBA_GAME|20,000 BLOCKS you can share your idea what it should be like."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'large', color = c},
  7. {word = 'new', color = c},
  8. {word = 'neighbourhood', 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
Advertisement