Advertisement
antonsavov

Untitled

Feb 2nd, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. --tutorial 16 tutorial main
  2. os.loadAPI('texthelp')
  3. local text = "The blue blocks are ACTIVATOR BLOCKS. In IBA_GAME you build a specific shape attached to an activator block to create a new building."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'blue', color = c},
  7. {word = 'blocks', color = c},
  8. {word = 'ACTIVATOR', color = c},
  9. {word = 'BLOCKS.', color = c}
  10. }
  11. local monitor = peripheral.wrap('top')
  12. monitor.setTextScale(1.5)
  13. local w,h = monitor.getSize()
  14. texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement