Colorize music disc tooltips

This commit is contained in:
Wuzzy 2017-01-11 23:04:50 +01:00
parent 7372f5fc2b
commit f8ffe6e960

View file

@ -16,9 +16,8 @@ local records = #recorddata
for r=1, records do for r=1, records do
minetest.register_craftitem("mcl_jukebox:record_"..r, { minetest.register_craftitem("mcl_jukebox:record_"..r, {
description = description =
"Music Disc" .. "\n" .. core.colorize("#75FFEA", "Music Disc") .. "\n" ..
recorddata[r][1] .. "\n" .. core.colorize("#909090", recorddata[r][2] .. "" .. recorddata[r][1]),
recorddata[r][2],
inventory_image = "mcl_jukebox_record_"..recorddata[r][3]..".png", inventory_image = "mcl_jukebox_record_"..recorddata[r][3]..".png",
stack_max = 1, stack_max = 1,
groups = { music_record = r }, groups = { music_record = r },