Advertisement
antonsavov

Untitled

Feb 12th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. --tutorial 23 house
  2. os.loadAPI('texthelp')
  3. local text = "Left - A HOUSE built with the URBAN resource. Right - with the NATURE resource. /n Houses are the only standalone buildings in IBA_GAME. All other buildings require an existing house."
  4. local c = 'blue'
  5. local c2 = 'purple'
  6. local c3 = 'green'
  7. local highlights = {
  8. {word = 'A', color = c},
  9. {word = 'HOUSE', color = c},
  10. {word = 'URBAN', color = c2},
  11. {word = 'NATURE', color = c3}
  12.  
  13. }
  14. local monitor = peripheral.wrap('top')
  15. monitor.setTextScale(1.5)
  16. local w,h = monitor.getSize()
  17. texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement