Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- side = "top"
- mon = peripheral.wrap(side)
- mon.setTextScale(1.5)
- mon.setBackgroundColor(32768)
- mon.clear()
- function calc_color(color)
- return math.pow(2, color - 1)
- end
- function msg(gap, line, color, groundb, text)
- mon.setBackgroundColor(calc_color(groundb))
- mon.setCursorPos(gap,line)
- mon.setTextColor(calc_color(color))
- text = mon.write(text)
- end
- msg(01,01,15,16,"Lycodon Tekkit 2 Rules")
Advertisement
Advertisement