Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tutorial 02 about game
- os.loadAPI('texthelp')
- local text = "In IBA_GAME | 20,000 BLOCKS you create small neighbourhoods like the one you see below. They are part of a new city quarter in Heidelberg."
- local c = 'blue'
- local highlights = {
- {word = 'IBA_GAME', color = c},
- {word = '|', color = c},
- {word = '20,000', color = c},
- {word = 'BLOCKS', color = c}
- }
- local monitor = peripheral.wrap('top')
- monitor.setTextScale(2)
- 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