Advertisement
antonsavov

Untitled

Feb 12th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. --tutorial 25 plaza
  2. os.loadAPI('texthelp')
  3. local text = "Here are the urban and nature version of a CITY PLAZA. Plazas can be placed on any free detector."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'CITY', color = c},
  7. {word = 'PLAZA.', 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