antonsavov

Untitled

Feb 12th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. --tutorial 30 model
  2. os.loadAPI('texthelp')
  3. local text = "You are entering a sample neighbourhood built by players like you. Walk around it. /n On the other side is the Play Area."
  4. local c = 'blue'
  5. local highlights = {
  6. {word = 'sample', color = c},
  7. {word = 'neighbourhood', 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