antonsavov

Untitled

Feb 2nd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. --tutorial 20 obstacle 3
  2. os.loadAPI('texthelp')
  3. local text = "In IBA_GAME you create a neighbourhood by building houses and extending them with a variety of functions such as additional 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 Create an extension using the URBAN RESOURCE to reach the final goal of this tutorial."
  4. local c = 'green'
  5. local highlights = {
  6. {word = 'most', color = c},
  7. {word = 'basic', 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