antonsavov

Untitled

Feb 2nd, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. --tutorial 19 obstacle 2
  2. os.loadAPI('texthelp')
  3. local text = "To change the active item from your inventory use the number keys or the mouse scroll. You can break a block by pointing the axe to it and holding the left mouse button. You can place a block with the right mouse button. Create a house using the NATURE RESOURCE with the green tree icon."
  4. local c = 'green'
  5. local highlights = {
  6. {word = 'Create', color = c},
  7. {word = 'house', color = c},
  8. {word = 'NATURE', color = c},
  9. {word = 'RESOURCE', color = c}
  10. }
  11. local monitor = peripheral.wrap('top')
  12. monitor.setTextScale(1)
  13. local w,h = monitor.getSize()
  14. texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment