Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tutorial 18 obstacle 1
- os.loadAPI('texthelp')
- local text = "Behind you is the shape for a house. It uses the URBAN RESOURCE with the purple house icon. The shape consists of 3 blocks in a row next to a detector and one more block next to the opposite detector. Jump on top of the detector with the 3 blocks to COMPLETE THE HOUSE."
- local c = 'purple'
- local highlights = {
- {word = 'URBAN', color = c},
- {word = 'RESOURCE', color = c},
- {word = 'COMPLETE', color = c},
- {word = 'THE', color = c},
- {word = 'HOUSE.', 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