Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tutorial 06 new neighbourhood
- os.loadAPI('texthelp')
- local text = "The city of Heidelberg will develop a large new neighbourhood. /n With IBA_GAME|20,000 BLOCKS you can share your idea what it should be like."
- local c = 'blue'
- local highlights = {
- {word = 'large', color = c},
- {word = 'new', color = c},
- {word = 'neighbourhood', color = c}
- }
- local monitor = peripheral.wrap('top')
- monitor.setTextScale(1.5)
- local w,h = monitor.getSize()
- texthelp.printToScreenColor(monitor,text,w,highlights,2,2, colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement