From f8ffe6e96023624c172f6186aab39d56dc61bd3b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 11 Jan 2017 23:04:50 +0100 Subject: [PATCH] Colorize music disc tooltips --- mods/mcl_jukebox/init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mods/mcl_jukebox/init.lua b/mods/mcl_jukebox/init.lua index 259b3a42d3..67f203a5be 100644 --- a/mods/mcl_jukebox/init.lua +++ b/mods/mcl_jukebox/init.lua @@ -16,9 +16,8 @@ local records = #recorddata for r=1, records do minetest.register_craftitem("mcl_jukebox:record_"..r, { description = - "Music Disc" .. "\n" .. - recorddata[r][1] .. "\n" .. - recorddata[r][2], + core.colorize("#75FFEA", "Music Disc") .. "\n" .. + core.colorize("#909090", recorddata[r][2] .. "—" .. recorddata[r][1]), inventory_image = "mcl_jukebox_record_"..recorddata[r][3]..".png", stack_max = 1, groups = { music_record = r },