Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tutorial 19 obstacle 2
- os.loadAPI('texthelp')
- 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 HOSUE using the NATURE RESOURCE with the green tree icon."
- local c = 'green'
- local highlights = {
- {word = 'CREATE', color = c},
- {word = 'A', color = c},
- {word = 'HOUSE', color = c},
- {word = 'NATURE', color = c},
- {word = 'RESOURCE', color = c}
- }
- local monitor = peripheral.wrap('top')
- monitor.setTextScale(1)
- local w,h = monitor.getSize()
- texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment