antonsavov

Untitled

Feb 12th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. --tutorial 24 extension
  2. os.loadAPI('texthelp')
  3. local text = "This is the urban version of a basic EXTENSION. You create it next to an existing building. Discover how its nature version looks like in your next game."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'EXTENSION.', 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