Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tutorial 14 build zone
- os.loadAPI('texthelp')
- local text = "A game starts as an empty zone with 7x7 slots, like the one you see below, where you can place buildings."
- local c = 'blue'
- local highlights = {
- {word = 'you', color = c},
- {word = 'can', color = c},
- {word = 'place', color = c},
- {word = 'buildings.', 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