Advertisement
antonsavov

Untitled

Feb 11th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. --tutorial 20 obstacle 3
  2. os.loadAPI('texthelp')
  3. local text = "You create a new neighbourhood by building houses and extending them with a variety of functions such as rooms, gardens, businesses, etc. You can create the most basic extension with 3 blocks in a row next to a detector that is adjacent to a building with an extender in it. /n BUILD AN EXTENSION with the URBAN RESOURCE to reach the final goal of this tutorial."
  4. local c = 'orange'
  5. local highlights = {
  6. {word = 'BUILD', color = c},
  7. {word = 'AN', color = c},
  8. {word = 'EXTENSION', color = c}
  9. }
  10. local monitor = peripheral.wrap('top')
  11. monitor.setTextScale(1)
  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
Advertisement