antonsavov

Untitled

Feb 2nd, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. --tutorial 13 game grid
  2. os.loadAPI('texthelp')
  3. local text = "In IBA_GAME the territory of the new city quarter consists of 300 build zones. Each game you play fills up one of these zones until a new vision for the PHV is complete."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = '300', color = c},
  7. {word = 'build', color = c},
  8. {word = 'zones.', 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