Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- out = "mon"
- out = peripheral.wrap("right")
- out.setBackgroundColor(32768)
- out.clear()
- function calc_color(color)
- return math.pow(2, color - 1)
- end
- function msg(gap, line, color, groundb, text)
- out.setBackgroundColor(calc_color(groundb))
- out.setCursorPos(gap,line)
- out.setTextColor(calc_color(color))
- text = out.write(text)
- end
- msg(06,02,02,16,"Welcome to")
- msg(12,03,02,16,"MagmaLPs Shop")
- msg(01,06,05,16,"Available on request:")
- msg(01,07,01,16,"- 100k Scrap Boxes") msg(23,07,06,16,"2000$")
- msg(01,08,01,16,"- 1 Mio Leaves") msg(23,08,06,16,"2000$")
Add Comment
Please, Sign In to add comment