Advertisement
antonsavov

Untitled

Feb 1st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. --tutorial message heidelberg
  2. os.loadAPI('texthelp')
  3. local text = "The game takes place in the German city of Heidelberg - famous for its old-town and castle.
  4. Walk further to reach the play area."
  5. local c = 'blue'
  6. local highlights = {
  7. {word = 'Heidelberg', 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
Advertisement