Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("left")
- mon.setBackgroundColor(32768)
- mon.setTextScale(1.5)
- mon.clear()
- side = "left"
- 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,02,16,"German:")
- msg(01,02,02,16,"~~~~~~~")
- msg(01,03,04,16,"Du musst der Stadt ...")
- msg(01,04,04,16,"beitreten, um die Compter nutzen zu")
- msg(01,05,04,16,"können. ")
- msg(01,06,05,16,"/t join name")
- msg(01,07,04,16,"Mehr infos zur Stadt, zu deiner linken.")
- msg(02,08,01,16,"<-----")
- msg(01,10,02,16,"English:")
- msg(01,11,02,16,"~~~~~~~~")
- msg(01,12,04,16,"You have to join the City ...")
- msg(01,13,04,16,"to use the Computers.")
- msg(01,14,05,16,"/t join name")
- msg(01,15,04,16,"More informations about the City,")
- msg(01,16,04,16,"on the Screen to your right.")
- msg(02,17,01,16,"----->")
Add Comment
Please, Sign In to add comment