Advertisement
antonsavov

Untitled

Dec 14th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 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. /n Walk further to reach the new neighbourhood."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'Heidelberg', color = c}
  7. }
  8. local monitor = peripheral.wrap('top')
  9. monitor.setTextScale(1.5)
  10. local w,h = monitor.getSize()
  11. texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement