From 310f8a4204a31dfa960504cd2f0eeef61eb8bfa1 Mon Sep 17 00:00:00 2001 From: tchncs Date: Tue, 1 Nov 2016 13:05:12 +0100 Subject: [PATCH] random_messages: colorize --- mods/random_messages/init.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mods/random_messages/init.lua b/mods/random_messages/init.lua index e68e58be..6a37e39c 100644 --- a/mods/random_messages/init.lua +++ b/mods/random_messages/init.lua @@ -46,12 +46,14 @@ function random_messages.check_params(name,func,params) end function random_messages.read_messages() + local mc = core.colorize + local mcc = "#A3B5CB" random_messages.messages = { - "# Illuna-Notes: Soup is very useful to fight hunger, everyone should have some.", - "# Illuna-Notes: Meet your fellows on our Mumbleserver at tchncs.de", - "# Illuna-Notes: Enjoy Illuna? Invite your friends today!", - "# Illuna-Notes: Have something to share? Create and join discussion at the Illuna forum: https://forum.illuna-minetest.tk!", - "# Illuna-Notes: Sell and buy stuff on the Illuna marketplace. It is below the spawnhouse." + mc(mcc, "# Illuna-Notes: Soup is very useful to fight hunger, everyone should have some."), + mc(mcc, "# Illuna-Notes: Meet your fellows on our Mumbleserver at tchncs.de"), + mc(mcc, "# Illuna-Notes: Enjoy Illuna? Invite your friends today!"), + mc(mcc, "# Illuna-Notes: Have something to share? Join https://community.illuna-minetest.tk today!"), + mc(mcc, "# Illuna-Notes: Sell and buy stuff on the Illuna marketplace. It is below the spawnhouse."), } end