antonsavov

Untitled

Feb 2nd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. --tutorial 12 walk around
  2. os.loadAPI('texthelp')
  3. local text = "Walk around in the models of the existing Patrick Henry Village and the Old city of Heidelberg. But don’t forget to return and continue to the play area."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'return', 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