Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tutorial 23 house
- os.loadAPI('texthelp')
- local text = "Left - A HOUSE built with the URBAN resource. Right - with the NATURE resource. /n Houses are the only standalone buildings in IBA_GAME. All other buildings require an existing house."
- local c = 'blue'
- local c2 = 'purple'
- local c3 = 'green'
- local highlights = {
- {word = 'A', color = c},
- {word = 'HOUSE', color = c},
- {word = 'URBAN', color = c2},
- {word = 'NATURE', color = c3}
- }
- 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