Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tutorial 26 tech&science
- os.loadAPI('texthelp')
- local text = "If you bridge between two buildings you get 4 varieties of TECH & SCIENCE SPACES depending on the orientation and resource you use. This here is a FabLab."
- local c = 'blue'
- local highlights = {
- {word = 'TECH', color = c},
- {word = 'SCIENCE', color = c},
- {word = 'SPACES', 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